嘿家伙,我想我已经find了什么是造成这个错误,但我不明白为什么或如何解决它。 我曾尝试在两台Windows 7和一台Windows 8计算机上运行此代码,结果相同。 错误并不总是发生,但有时会发生。 这是我认为导致它的一段代码。
private WatchKey registerPath(Path path) { try { System.out.println("Making Key for: " + path.toString()); System.out.println("ChangesWatcher: " + changesWatcher); WatchKey key = path.register(changesWatcher,StandardWatchEventKinds.ENTRY_MODIFY,StandardWatchEventKinds.ENTRY_DELETE,StandardWatchEventKinds.ENTRY_CREATE); System.out.println("Done Making Key"); return key; } catch (Exception err) { err.printstacktrace(System.out); return null; } }
这是控制台输出:
Making Key for: C:UsersFionaSimple Cloud ChangesWatcher: sun.nio.fs.WindowsWatchService@2be33a92 # # A Fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007782386a,pid=5332,tid=4672 # # JRE version: 7.0_25-b17 # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [ntdll.dll+0x5386a] RtlAllocateHeap+0x4ca # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more @R_9_4045@ion is saved as: # M:Programing_StuffCloudCloudServerClienths_err_pid5332.log # # If you would like to submit a bug report,please visit: # http://bugreport.sun.com/bugreport/crash.jsp # Java Result: 1
正如你所看到的,它永远不会到达System.out.println(“做完钥匙”)。 线。 有谁知道为什么会发生这种情况? 因为我已经在3台机器上试过了,所以我认为这不是硬件问题。 有任何想法吗? 谢谢你们很多男生和女生
这里是hs_err_pid5332.log:
在两个线程中同时中止()
在Windows中分析崩溃:错误消息告诉我们什么?
vfprintf崩溃在32位的Linux
强制任何正在运行的进程崩溃
# # A Fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007782386a,tid=4672 # # JRE version: 7.0_25-b17 # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [ntdll.dll+0x5386a] RtlAllocateHeap+0x4ca # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report,please visit: # http://bugreport.sun.com/bugreport/crash.jsp # --------------- THREAD --------------- Current thread (0x000000000d666800): JavaThread "Thread-1" daemon [_thread_in_vm,id=4672,stack(0x000000000f220000,0x000000000f320000)] siginfo: ExceptionCode=0xc0000005,reading address 0xffffffffffffffff Registers: RAX=0x00000000000007ff,RBX=0x0000000002090000,RCX=0x00000000fffffc04,RDX=0x0000000013409000 RSP=0x000000000f31e850,RBP=0x0000000000000000,RSI=0x0024007e00000048,RDI=0x0000000013408ff0 R8 =0x00000000020933b0,R9 =0x0000000000100000,R10=0x0000000013409000,R11=0x0000000300000000 R12=0x00000000778e5430,R13=0x0000000000000403,R14=0x0000000000000002,R15=0x00000000778e5401 RIP=0x000000007782386a,EFLAGS=0x0000000000010206 Top of Stack: (sp=0x000000000f31e850) 0x000000000f31e850: 0000000000007000 000000000d425000 0x000000000f31e860: 000000000f31e8c0 0000000077825d84 0x000000000f31e870: 000000000f31e8c0 0000000000398434 0x000000000f31e880: 0000000100399e01 00000000778e5401 0x000000000f31e890: 0000000000000000 00000000134b4a70 0x000000000f31e8a0: 0000000013408ff0 0000000000000000 0x000000000f31e8b0: 000000000f31ea31 00000000003dc0e0 0x000000000f31e8c0: 0000000000000230 00020000a3da0000 0x000000000f31e8d0: 0000003600000000 0000000207ff0201 0x000000000f31e8e0: 0000003600000000 0000000000000000 0x000000000f31e8f0: 0000000000000003 0000000000000036 0x000000000f31e900: 00000000134b4aa6 0000000000000036 0x000000000f31e910: 000000077bb90000 0000000013409000 0x000000000f31e920: 0000000000000000 000000000f31eaa6 0x000000000f31e930: 000000000f31ea70 00000000134b4a70 0x000000000f31e940: 0000000002080036 000000000f31ea70 Instructions: (pc=0x000000007782386a) 0x000000007782384a: 47 0b 0f 85 e6 c2 00 00 0f b7 47 08 49 3b c5 0f 0x000000007782385a: 82 40 c3 00 00 4c 8d 57 10 4d 8b 1a 48 8b 77 18 0x000000007782386a: 48 8b 0e 4d 8b 4b 08 49 3b c9 0f 85 02 c3 00 00 0x000000007782387a: 49 3b ca 0f 85 f9 c2 00 00 48 29 83 c8 00 00 00 Register to memory mapping: RAX=0x00000000000007ff is an unkNown value RBX=0x0000000002090000 is an unkNown value RCX=0x00000000fffffc04 is an unkNown value RDX=0x0000000013409000 is an unkNown value RSP=0x000000000f31e850 is pointing into the stack for thread: 0x000000000d666800 RBP=0x0000000000000000 is an unkNown value RSI=0x0024007e00000048 is an unkNown value RDI=0x0000000013408ff0 is an unkNown value R8 =0x00000000020933b0 is an unkNown value R9 =0x0000000000100000 is an unkNown value R10=0x0000000013409000 is an unkNown value R11=0x0000000300000000 is an unkNown value R12=0x00000000778e5430 is an unkNown value R13=0x0000000000000403 is an unkNown value R14=0x0000000000000002 is an unkNown value R15=0x00000000778e5401 is an unkNown value Stack: [0x000000000f220000,0x000000000f320000],sp=0x000000000f31e850,free space=1018k Native frames: (J=compiled Java code,j=interpreted,Vv=VM code,C=native code) C [ntdll.dll+0x5386a] RtlAllocateHeap+0x4ca [error occurred during error reporting (printing native stack),id 0xc0000005] Java frames: (J=compiled Java code,Vv=VM code) j sun.misc.Unsafe.allocateMemory(J)J+0 j sun.nio.fs.NativeBuffer.<init>(I)V+10 j sun.nio.fs.NativeBuffers.allocNativeBuffer(I)Lsun/nio/fs/NativeBuffer;+16 j sun.nio.fs.NativeBuffers.getNativeBuffer(I)Lsun/nio/fs/NativeBuffer;+17 j sun.nio.fs.WindowsWatchService$Poller.implRegister(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/lang/Object;+357 j sun.nio.fs.AbstractPoller.processRequests()Z+116 j sun.nio.fs.WindowsWatchService$Poller.run()V+27 j java.lang.Thread.run()V+11 v ~Stubroutines::call_stub --------------- PROCESS --------------- Java Threads: ( => current thread ) 0x00000000135a1800 JavaThread "Thread-9" [_thread_blocked,id=6620,stack(0x0000000013c30000,0x0000000013d30000)] 0x0000000013570000 JavaThread "Thread-8" [_thread_in_native,id=6448,stack(0x0000000013f30000,0x0000000014030000)] 0x0000000013438000 JavaThread "TimerQueue" daemon [_thread_blocked,id=6200,stack(0x0000000013d50000,0x0000000013e50000)] 0x000000000d73e800 JavaThread "D3D Screen Updater" daemon [_thread_blocked,id=6860,stack(0x0000000013a90000,0x0000000013b90000)] =>0x000000000d666800 JavaThread "Thread-1" daemon [_thread_in_vm,0x000000000f320000)] 0x000000000209c800 JavaThread "DestroyJavaVM" [_thread_blocked,id=6176,stack(0x0000000002300000,0x0000000002400000)] 0x000000000d5cc000 JavaThread "AWT-EventQueue-0" [_thread_blocked,id=5636,stack(0x000000000dec0000,0x000000000dfc0000)] 0x000000000d4a5000 JavaThread "AWT-Windows" daemon [_thread_in_native,id=6912,stack(0x000000000ddc0000,0x000000000dec0000)] 0x000000000d4a4000 JavaThread "AWT-Shutdown" [_thread_blocked,id=3768,stack(0x000000000db50000,0x000000000dc50000)] 0x000000000d448000 JavaThread "Java2D disposer" daemon [_thread_blocked,id=6024,stack(0x000000000d930000,0x000000000da30000)] 0x000000000b779800 JavaThread "Service Thread" daemon [_thread_blocked,id=7032,stack(0x000000000d310000,0x000000000d410000)] 0x000000000b771000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked,id=7040,stack(0x000000000d070000,0x000000000d170000)] 0x000000000b76c000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked,id=6996,stack(0x000000000cf30000,0x000000000d030000)] 0x000000000b76b000 JavaThread "Attach Listener" daemon [_thread_blocked,id=6444,stack(0x000000000cd50000,0x000000000ce50000)] 0x000000000b764000 JavaThread "Signal dispatcher" daemon [_thread_blocked,id=6372,stack(0x000000000cc20000,0x000000000cd20000)] 0x0000000002198800 JavaThread "Finalizer" daemon [_thread_blocked,id=5856,stack(0x000000000cab0000,0x000000000cbb0000)] 0x0000000002192000 JavaThread "Reference Handler" daemon [_thread_blocked,id=4140,stack(0x000000000c8f0000,0x000000000c9f0000)] Other Threads: 0x000000000b6e2800 VMThread [stack: 0x000000000c6f0000,0x000000000c7f0000] [id=6680] 0x000000000b782800 WatcherThread [stack: 0x000000000d1d0000,0x000000000d2d0000] [id=6244] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 38016K,used 18308K [0x00000007d5960000,0x00000007d83c0000,0x0000000800000000) eden space 32640K,56% used [0x00000007d5960000,0x00000007d6b41038,0x00000007d7940000) from space 5376K,0% used [0x00000007d7e80000,0x00000007d7e80000,0x00000007d83c0000) to space 5376K,0% used [0x00000007d7940000,0x00000007d7940000,0x00000007d7e80000) ParOldGen total 86848K,used 0K [0x0000000780c00000,0x00000007860d0000,0x00000007d5960000) object space 86848K,0% used [0x0000000780c00000,0x0000000780c00000,0x00000007860d0000) PSPermGen total 21248K,used 15639K [0x000000077ba00000,0x000000077cec0000,0x0000000780c00000) object space 21248K,73% used [0x000000077ba00000,0x000000077c945c78,0x000000077cec0000) Card table byte_map: [0x00000000054c0000,0x00000000058f0000] byte_map_base: 0x00000000018e3000 Polling page: 0x0000000000340000 Code Cache [0x0000000002400000,0x0000000002670000,0x0000000005400000) total_blobs=564 nmethods=77 adapters=438 free_code_cache=48439Kb largest_free_block=49574656 Compilation events (10 events): Event: 1.041 Thread 0x000000000b76c000 nmethod 69 0x00000000024aa390 code [0x00000000024aa4e0,0x00000000024aa838] Event: 1.042 Thread 0x000000000b76c000 73 sun.misc.CharacterDecoder::readFully (52 bytes) Event: 1.043 Thread 0x000000000b771000 nmethod 72 0x00000000024a9f10 code [0x00000000024aa060,0x00000000024aa238] Event: 1.045 Thread 0x000000000b771000 2 % com.sun.crypto.provider.AESCrypt::<clinit> @ 724 (1577 bytes) Event: 1.046 Thread 0x000000000b76c000 nmethod 73 0x00000000024ac4d0 code [0x00000000024ac620,0x00000000024acab8] Event: 1.111 Thread 0x000000000b76c000 74 java.math.BigInteger::subN (46 bytes) Event: 1.114 Thread 0x000000000b76c000 nmethod 74 0x00000000024abcd0 code [0x00000000024abe00,0x00000000024abfb8] Event: 1.133 Thread 0x000000000b771000 nmethod 2% 0x00000000024b3f10 code [0x00000000024b4240,0x00000000024b6b28] Event: 25.514 Thread 0x000000000b76c000 75 java.io.Win32FileSystem::normalize (143 bytes) Event: 25.520 Thread 0x000000000b76c000 nmethod 75 0x00000000024ad910 code [0x00000000024ada80,0x00000000024add90] GC Heap History (0 events): No events Deoptimization events (2 events): Event: 0.914 Thread 0x000000000d70c000 Uncommon trap -83 fr.pc 0x000000000249d9a0 Event: 59.251 Thread 0x00000000135a1800 Uncommon trap -58 fr.pc 0x0000000002498fb8 Internal exceptions (10 events): Event: 0.496 Thread 0x000000000d5cc000 Threw 0x00000007d5e262f8 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Event: 0.496 Thread 0x000000000d5cc000 Threw 0x00000007d5e26520 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Event: 0.592 Thread 0x000000000d5cc000 Threw 0x00000007d5e47970 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Event: 0.597 Thread 0x000000000d5cc000 Threw 0x00000007d5e4af78 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Event: 0.599 Thread 0x000000000d5cc000 Threw 0x00000007d5e4c780 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Event: 0.618 Thread 0x000000000d70c000 Threw 0x00000007d5e92a70 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Event: 0.913 Thread 0x000000000d70c000 Implicit null exception at 0x000000000249d4af to 0x000000000249d98d Event: 1.126 Thread 0x000000000d70c000 Threw 0x00000007d69d26f8 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Event: 1.134 Thread 0x00000000135a1800 Threw 0x00000007d6a9e5b8 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Event: 1.143 Thread 0x00000000135a1800 Threw 0x00000007d6aa1578 at C:jdk7u2_64pjdk7u25hotspotsrcsharevmprimsjvm.cpp:1235 Events (10 events): Event: 4.077 Executing VM operation: EnableBiasedLocking done Event: 4.170 loading class 0x000000000d5cbe10 Event: 4.171 loading class 0x000000000d5cbe10 done Event: 5.639 Thread 0x000000000d73a000 Thread exited: 0x000000000d73a000 Event: 12.726 Executing VM operation: BulkRevokeBias Event: 12.726 Executing VM operation: BulkRevokeBias done Event: 19.996 Executing VM operation: BulkRevokeBias Event: 19.996 Executing VM operation: BulkRevokeBias done Event: 59.251 Thread 0x00000000135a1800 DEOPT PACKING pc=0x0000000002498fb8 sp=0x0000000013d2f2c0 Event: 59.251 Thread 0x00000000135a1800 DEOPT UNPACKING pc=0x0000000002439164 sp=0x0000000013d2f268 mode 2 Dynamic libraries: 0x000000013f1f0000 - 0x000000013f223000 C:Program FilesJavajdk1.7.0_25binjava.exe 0x00000000777d0000 - 0x0000000077979000 C:WindowsSYstem32ntdll.dll 0x00000000775b0000 - 0x00000000776cf000 C:Windowssystem32kernel32.dll 0x000007fefd960000 - 0x000007fefd9cb000 C:Windowssystem32KERNELBASE.dll 0x000007fefe210000 - 0x000007fefe2eb000 C:Windowssystem32ADVAPI32.dll 0x000007fefead0000 - 0x000007fefeb6f000 C:Windowssystem32msvcrt.dll 0x000007fefeb70000 - 0x000007fefeb8f000 C:WindowsSYstem32sechost.dll 0x000007fefeba0000 - 0x000007fefeccd000 C:Windowssystem32RPCRT4.dll 0x00000000776d0000 - 0x00000000777ca000 C:Windowssystem32USER32.dll 0x000007fefe790000 - 0x000007fefe7f7000 C:Windowssystem32GDI32.dll 0x000007fefe2f0000 - 0x000007fefe2fe000 C:Windowssystem32LPK.dll 0x000007fefe800000 - 0x000007fefe8c9000 C:Windowssystem32USP10.dll 0x000007fefc060000 - 0x000007fefc254000 C:WindowsWinSxSamd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9acCOMCTL32.dll 0x000007feffa60000 - 0x000007feffad1000 C:Windowssystem32SHLWAPI.dll 0x000007fefe530000 - 0x000007fefe55e000 C:Windowssystem32IMM32.DLL 0x000007fefe080000 - 0x000007fefe189000 C:Windowssystem32MSCTF.dll 0x0000000056d60000 - 0x0000000056e31000 C:Program FilesJavajdk1.7.0_25jrebinmsvcr100.dll 0x000000006dfb0000 - 0x000000006e6bf000 C:Program FilesJavajdk1.7.0_25jrebinserverjvm.dll 0x000007fef4ce0000 - 0x000007fef4ce9000 C:Windowssystem32WSOCK32.dll 0x000007fefe300000 - 0x000007fefe34d000 C:Windowssystem32WS2_32.dll 0x000007fefeb90000 - 0x000007fefeb98000 C:Windowssystem32NSI.dll 0x000007fefa850000 - 0x000007fefa88b000 C:Windowssystem32WINMM.dll 0x00000000779a0000 - 0x00000000779a7000 C:Windowssystem32PSAPI.DLL 0x00000000743f0000 - 0x00000000743ff000 C:Program FilesJavajdk1.7.0_25jrebinverify.dll 0x0000000057590000 - 0x00000000575b8000 C:Program FilesJavajdk1.7.0_25jrebinjava.dll 0x00000000743d0000 - 0x00000000743e5000 C:Program FilesJavajdk1.7.0_25jrebinzip.dll 0x0000000056bc0000 - 0x0000000056d55000 C:Program FilesJavajdk1.7.0_25jrebinawt.dll 0x000007fefd9e0000 - 0x000007fefdab7000 C:Windowssystem32OLEAUT32.dll 0x000007fefdb40000 - 0x000007fefdd43000 C:Windowssystem32ole32.dll 0x000007fefbd70000 - 0x000007fefbdc6000 C:Windowssystem32uxtheme.dll 0x000007fefb7e0000 - 0x000007fefb7f8000 C:Windowssystem32dwmapi.dll 0x000007fefd4e0000 - 0x000007fefd4ef000 C:Windowssystem32CRYPTBASE.dll 0x000007fefecd0000 - 0x000007feffa58000 C:Windowssystem32SHELL32.dll 0x0000000057470000 - 0x00000000574af000 C:Program FilesJavajdk1.7.0_25jrebinfontmanager.dll 0x000007fef7d50000 - 0x000007fef7f4f000 C:Windowssystem32d3d9.dll 0x000007fefc6f0000 - 0x000007fefc6fc000 C:Windowssystem32VERSION.dll 0x000007fef7d40000 - 0x000007fef7d47000 C:Windowssystem32d3d8thk.dll 0x000007fee9b80000 - 0x000007feea9f4000 C:Windowssystem32nvd3dumx.dll 0x000007fefbdd0000 - 0x000007fefbdfc000 C:Windowssystem32powrprof.dll 0x000007fefe350000 - 0x000007fefe527000 C:Windowssystem32SETUPAPI.dll 0x000007fefd760000 - 0x000007fefd796000 C:Windowssystem32CFGMGR32.dll 0x000007fefd930000 - 0x000007fefd94a000 C:Windowssystem32DEVOBJ.dll 0x000007Feed260000 - 0x000007Feed3b8000 C:Program Files (x86)NVIDIA Corporation3D VisionnvSCPAPI64.dll 0x000007fefa2e0000 - 0x000007fefa5d3000 C:Windowssystem32nvapi64.dll 0x000007fefd720000 - 0x000007fefd759000 C:Windowssystem32WINTRUST.dll 0x000007fefd7c0000 - 0x000007fefd92a000 C:Windowssystem32CRYPT32.dll 0x000007fefd650000 - 0x000007fefd65f000 C:Windowssystem32MSASN1.dll 0x0000000070cd0000 - 0x0000000070ce9000 C:Program FilesJavajdk1.7.0_25jrebinnet.dll 0x000007fefce20000 - 0x000007fefce75000 C:Windowssystem32mswsock.dll 0x000007fefce10000 - 0x000007fefce17000 C:WindowsSystem32wship6.dll 0x0000000057570000 - 0x0000000057581000 C:Program FilesJavajdk1.7.0_25jrebinnio.dll 0x000007fefe8d0000 - 0x000007fefe969000 C:Windowssystem32CLBCatQ.DLL 0x000007fefb630000 - 0x000007fefb791000 C:Windowssystem32WindowsCodecs.dll 0x000007fefd480000 - 0x000007fefd4d7000 C:Windowssystem32apphelp.dll 0x000007fef83b0000 - 0x000007fef83e5000 C:Windowssystem32EhStorShell.dll 0x000007fefbeb0000 - 0x000007fefbfdc000 C:Windowssystem32PROPSYS.dll 0x000007fef82e0000 - 0x000007fef83a0000 C:Program Files (x86)GoogleDrivegoogledrivesync64.dll 0x000000006f340000 - 0x000000006f413000 C:WindowsWinSxSamd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251MSVCP90.dll 0x000000006f290000 - 0x000000006f333000 C:WindowsWinSxSamd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251MSVCR90.dll 0x0000000180000000 - 0x0000000180031000 C:Program Files (x86)nuancenuance Cloud ConnectorgloverlayIcon.dll 0x000000006f040000 - 0x000000006f109000 C:WindowsWinSxSamd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_88e41e092fab0294MSVCR80.dll 0x0000000005c00000 - 0x0000000005c32000 C:Program Files (x86)nuancenuance Cloud ConnectorgloverlayIconU.dll 0x000007fef66a0000 - 0x000007fef6d12000 C:PROGRA~1MICROS~3Office14GROOVEEX.DLL 0x000000006ee00000 - 0x000000006ee2f000 C:WindowsWinSxSamd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_0a1fd3a3a768b895ATL90.DLL 0x000007fef6290000 - 0x000007fef669f000 C:PROGRA~1COMMON~1MICROS~1OFFICE14Culturesoffice.odf 0x000007fef5a20000 - 0x000007fef6284000 C:PROGRA~1MICROS~3Office141033GrooveIntlResource.dll 0x000007feefb40000 - 0x000007feefbbe000 C:WindowsSystem32cscui.dll 0x000007feefb30000 - 0x000007feefb3c000 C:WindowsSystem32CSCDLL.dll 0x000007fef8ae0000 - 0x000007fef8aef000 C:Windowssystem32CSCAPI.dll 0x000000006f7a0000 - 0x000000006fa2b000 C:Program Files (x86)norton Security SuiteEngine6420.4.0.40buShell.dll 0x000007fefba70000 - 0x000007fefbc86000 C:WindowsWinSxSamd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18120_none_2b25b14c71ebf230gdiplus.dll 0x00000000570e0000 - 0x0000000057178000 C:Program Files (x86)norton Security SuiteEngine6420.4.0.40MSVCP100.dll 0x00000000569d0000 - 0x0000000056ad6000 C:Program Files (x86)norton Security SuiteEngine6420.4.0.40ccl120U.dll 0x0000000057090000 - 0x00000000570ae000 C:Program Files (x86)norton Security SuiteEngine6420.4.0.40EFACli64.dll 0x000007fef3630000 - 0x000007fef36b0000 C:Windowssystem32ntshrui.dll 0x000007fefd1e0000 - 0x000007fefd203000 C:Windowssystem32srvcli.dll 0x000007fefae60000 - 0x000007fefae6b000 C:Windowssystem32slc.dll 0x0000000057180000 - 0x00000000571c1000 C:Program FilesJavajdk1.7.0_25jrebint2k.dll 0x000007fefa8d0000 - 0x000007fefa96c000 C:Windowssystem32mscms.dll 0x000007fefc900000 - 0x000007fefc91e000 C:Windowssystem32USERENV.dll 0x000007fefd5b0000 - 0x000007fefd5bf000 C:Windowssystem32profapi.dll 0x000007fef2910000 - 0x000007fef2952000 C:Windowssystem32icm32.dll 0x00000000568e0000 - 0x000000005690a000 C:Program FilesJavajdk1.7.0_25jrebindcpr.dll 0x0000000057380000 - 0x00000000573a4000 C:Program FilesJavajdk1.7.0_25jrebinsunec.dll 0x0000000070da0000 - 0x0000000070dab000 C:Program FilesJavajdk1.7.0_25jrebinsunmscapi.dll 0x000007fefce80000 - 0x000007fefce97000 C:Windowssystem32CRYPTSP.dll 0x000007fefcb80000 - 0x000007fefcbc7000 C:Windowssystem32rSAEnh.dll 0x000007fefb000000 - 0x000007fefb015000 C:Windowssystem32NLAapi.dll 0x000007fef4ca0000 - 0x000007fef4cb5000 C:Windowssystem32napinsp.dll 0x000007fef4c80000 - 0x000007fef4c99000 C:Windowssystem32pnrpnsp.dll 0x000007fefcca0000 - 0x000007fefccfb000 C:Windowssystem32DNSAPI.dll 0x000007fef4c70000 - 0x000007fef4c7b000 C:WindowsSystem32winrnr.dll 0x000007fefc7c0000 - 0x000007fefc7c7000 C:WindowsSystem32wshtcpip.dll 0x000007fefad70000 - 0x000007fefad97000 C:Windowssystem32IPHLPAPI.DLL 0x000007fefad50000 - 0x000007fefad5b000 C:Windowssystem32WINNSI.DLL 0x000007fef9530000 - 0x000007fef9538000 C:Windowssystem32rasadhlp.dll 0x000007fefa7b0000 - 0x000007fefa803000 C:WindowsSystem32fwpuclnt.dll 0x000007fef0220000 - 0x000007fef0345000 C:Windowssystem32dbghelp.dll VM Arguments: jvm_args: -Dfile.encoding=UTF-8 java_command: cloudserverclient.Home Launcher Type: SUN_STANDARD Environment Variables: PATH=C:Program Files (x86)NVIDIA CorporationphysxCommon;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)Common FilesRoxio SharedDLLShared;C:Program Files (x86)Common FilesRoxio SharedDLLShared;C:Program Files (x86)Common FilesRoxio Shared13.0DLLShared USERNAME=Fiona OS=Windows_NT PROCESSOR_IDENTIFIER=AMD64 Family 21 Model 1 Stepping 2,AuthenticAMD --------------- SYstem --------------- OS: Windows 7,64 bit Build 7601 Service Pack 1 cpu:total 4 (4 cores per cpu,1 threads per core) family 21 model 1 stepping 2,cmov,cx8,fxsr,mmx,sse,sse2,sse3,ssse3,sse4.1,sse4.2,popcnt,avx,mmxext,3dNowpref,lzcnt,sse4a,tsc,tscinvbit,tscinv Memory: 4k page,physical 8333768k(5353080k free),swap 16665676k(12112764k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (23.25-b01) for windows-amd64 JRE (1.7.0_25-b17),built on Jun 21 2013 12:58:32 by "java_re" with unkNown MS VC++:1600 time: Tue Jul 23 02:23:36 2013 elapsed time: 61 seconds
gdb核心转储打开失败
_dl_runtime_resolve()中的分段错误
MFC应用程序在NTDLL.dll中崩溃
Windows 10崩溃Whodunit
Visual Studio 2008 c ++应用程序中的无声崩溃
我找不到解决我的问题,但我找到了解决办法。 让我解释一下这是怎么发生的,以及如何达到同样的结果。
这被用来监视一个目录。 一旦找到一个密钥,该密钥正在处理和取消,然后一个新的密钥被添加到监视服务,以保持监视相同的文件夹。 这并不总是造成致命的错误,但平均每10次尝试中就有一次。
为了避免这种情况发生,每次检测到更改时都不要取消密钥,而只是轮询事件,并使用密钥的reset()方法将其重新添加到监视服务中。
如果您要尝试此操作,则在重置密钥之前轮询()事件是至关重要的。
关于错误。 我仍然不知道为什么会发生这种情况,但是我注意到,当您在C:/驱动器(Windows)(例如“我的文档”)中的任何位置监视目录时,都会发生这种情况。 我试图监视一个USB驱动器中的文件夹,我不能重现错误(也许我没有尝试足够多的时间)。 我提交了一个错误报告。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。