- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我刚刚发布了一个多语言图像处理软件作为 ImageJ 插件。它具有用 Jython、C 和 Java 编写的组件。 C 程序通过 JNA 调用。该软件在我的 Macbook pro OSX Yosemite(64 位)上完美运行。我将该程序发送给一位远距离同事,他尝试在他的计算机 (Macbook Air) 上运行它,但它严重崩溃。问题似乎出在程序的多线程 C 组件中。如果我猜的话,它可能与释放一个已经释放的指针有关,因此破坏了整个程序的稳定性。我检查并向他发送了一个更安全的版本,但他说问题仍然存在。这是相关 code 的链接。
这是错误信息的一部分:
Process: JavaApplicationStub [12285]
Path: /Applications/ImageJ/ImageJ64.app/Contents/MacOS/JavaApplicationStub
Identifier: gov.nih.info.rsb.ImageJ
Version: 10.2
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: JavaApplicationStub [12285]
User ID: 501
Date/Time: 2015-06-30 13:22:36.186 -0400
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: AC745C9B-736D-93B0-9896-25C03329CC79
Sleep/Wake UUID: 1D9C670A-85E4-4A80-9CA5-B73C5E6792B9
Time Awake Since Boot: 110000 seconds
Time Since Wake: 740 seconds
Crashed Thread: 22 Java: Run$_CANDLEMacro$
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000800
VM Regions Near 0x800:
-->
__TEXT 0000000100000000-0000000100001000 [ 4K] r-x/rwx SM=COW /Applications/ImageJ/ImageJ64.app/Contents/MacOS/JavaApplicationStub
Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=100407080
Java VM: Java HotSpot(TM) 64-Bit Server VM (20.65-b04-466.1 mixed mode macosx-amd64)
.
.
.
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
par new generation total 49536K, used 905K [73f600000, 742bc0000, 744930000)
eden space 44032K, 2% used [73f600000, 73f6dfa30, 742100000)
from space 5504K, 0% used [742660000, 742662ca8, 742bc0000)
to space 5504K, 0% used [742100000, 742100000, 742660000)
concurrent mark-sweep generation total 456744K, used 274044K [744930000, 76073a000, 7fae00000)
concurrent-mark-sweep perm gen total 61252K, used 36701K [7fae00000, 7fe9d1000, 800000000)
Code Cache [107001000, 107272000, 10a001000)
total_blobs=981 nmethods=394 adapters=549 free_code_cache=48669056 largest_free_block=6592
Virtual Machine Arguments:
JVM Args: -Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar -Xms256m -Xmx3000m -Dapple.awt.Antialiasing=false -Dcom.apple.macos.useScreenMenuBar=false -Dcom.apple.hwaccel=false -Dapple.awt.brushMetalLook=false -Dcom.apple.mrj.application.live-resize=true -Dcom.apple.smallTabs=true -Dcom.apple.mrj.application.growbox.intrudes=false
Java Command: <unknown>
Launcher Type: generic
Physical Memory: Page Size = 4k, Total = 8192M, Free = 475M
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff89041eb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8904137b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff89040bd8 CFRunLoopRunSpecific + 296
5 com.apple.HIToolbox 0x00007fff88b6956f RunCurrentEventLoopInMode + 235
6 com.apple.HIToolbox 0x00007fff88b692ea ReceiveNextEventCommon + 431
7 com.apple.HIToolbox 0x00007fff88b6912b _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fff896a69bb _DPSNextEvent + 978
9 com.apple.AppKit 0x00007fff896a5f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
10 libawt.jnilib 0x000000011222b86f -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
11 com.apple.AppKit 0x00007fff8969bbf3 -[NSApplication run] + 594
12 libawt.jnilib 0x0000000112229f20 +[AWTStarter startAWT:] + 1495
13 libawt.jnilib 0x000000011222989a -[CPerformer perform] + 93
14 com.apple.Foundation 0x00007fff91077d00 __NSThreadPerformPerform + 293
15 com.apple.CoreFoundation 0x00007fff8904fa01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16 com.apple.CoreFoundation 0x00007fff89041b8d __CFRunLoopDoSources0 + 269
17 com.apple.CoreFoundation 0x00007fff890411bf __CFRunLoopRun + 927
18 com.apple.CoreFoundation 0x00007fff89040bd8 CFRunLoopRunSpecific + 296
19 com.apple.JavaApplicationLauncher 0x00000001000060e4 startupJava(LauncherArgsStruct*) + 245
20 com.apple.JavaApplicationLauncher 0x0000000100008bc9 launchJavaApplicationWithJVMInfo + 1457
21 gov.nih.info.rsb.ImageJ 0x0000000100000b98 0x100000000 + 2968
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff88e6f232 kevent64 + 10
1 libdispatch.dylib 0x00007fff8a3b2a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048c264e 0x104803000 + 783950
5 libclient64.dylib 0x00000001048c255d 0x104803000 + 783709
6 libclient64.dylib 0x000000010481618e 0x104803000 + 78222
7 libclient64.dylib 0x00000001048bd2a6 0x104803000 + 762534
8 libclient64.dylib 0x00000001048bce07 0x104803000 + 761351
9 com.apple.JavaApplicationLauncher 0x0000000100007da1 startJavaApplication + 7257
10 com.apple.JavaApplicationLauncher 0x0000000100006110 java_main_stub(void*) + 9
11 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
13 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 3:: Java: Exception Handler Thread
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libsystem_kernel.dylib 0x00007fff88e68f60 mach_msg_server + 468
3 libclient64.dylib 0x0000000104816f45 0x104803000 + 81733
4 libclient64.dylib 0x0000000104816f09 0x104803000 + 81673
5 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
6 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
.
.
.
Thread 12:: Java: Surrogate Locker Thread (Concurrent GC)
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048c264e 0x104803000 + 783950
5 libclient64.dylib 0x00000001048c255d 0x104803000 + 783709
6 libclient64.dylib 0x0000000104816176 0x104803000 + 78198
7 libclient64.dylib 0x0000000104aed18b 0x104803000 + 3056011
8 libclient64.dylib 0x00000001048a5bbe 0x104803000 + 666558
9 libclient64.dylib 0x00000001048a59cf 0x104803000 + 666063
10 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
11 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
13 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 13:: Java: Signal Dispatcher
0 libsystem_kernel.dylib 0x00007fff88e6951a semaphore_wait_trap + 10
1 libclient64.dylib 0x00000001048b6463 0x104803000 + 734307
2 libclient64.dylib 0x00000001048b5f30 0x104803000 + 732976
3 libclient64.dylib 0x00000001048a5bbe 0x104803000 + 666558
4 libclient64.dylib 0x00000001048a59cf 0x104803000 + 666063
5 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
6 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 14:: Java: C2 CompilerThread0
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048c264e 0x104803000 + 783950
5 libclient64.dylib 0x00000001048c255d 0x104803000 + 783709
6 libclient64.dylib 0x0000000104816176 0x104803000 + 78198
7 libclient64.dylib 0x00000001048bc4c5 0x104803000 + 758981
8 libclient64.dylib 0x00000001048b72af 0x104803000 + 737967
9 libclient64.dylib 0x00000001048a5bbe 0x104803000 + 666558
10 libclient64.dylib 0x00000001048a59cf 0x104803000 + 666063
11 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
12 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
13 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
14 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 15:: Java: C2 CompilerThread1
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048c264e 0x104803000 + 783950
5 libclient64.dylib 0x00000001048c255d 0x104803000 + 783709
6 libclient64.dylib 0x0000000104816176 0x104803000 + 78198
7 libclient64.dylib 0x00000001048bc4c5 0x104803000 + 758981
8 libclient64.dylib 0x00000001048b72af 0x104803000 + 737967
9 libclient64.dylib 0x00000001048a5bbe 0x104803000 + 666558
10 libclient64.dylib 0x00000001048a59cf 0x104803000 + 666063
11 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
12 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
13 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
14 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 16:: Java: Low Memory Detector
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048c264e 0x104803000 + 783950
5 libclient64.dylib 0x00000001048c255d 0x104803000 + 783709
6 libclient64.dylib 0x000000010481620f 0x104803000 + 78351
7 libclient64.dylib 0x00000001048b9c9e 0x104803000 + 748702
8 libclient64.dylib 0x00000001048a5bbe 0x104803000 + 666558
9 libclient64.dylib 0x00000001048a59cf 0x104803000 + 666063
10 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
11 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
13 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 17:: Java: VM Periodic Task Thread
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c2735 0x104803000 + 784181
3 libclient64.dylib 0x00000001048d7f86 0x104803000 + 872326
4 libclient64.dylib 0x00000001048bb880 0x104803000 + 755840
5 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
6 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 18:: Java: AWT-Shutdown
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048d8377 0x104803000 + 873335
5 libclient64.dylib 0x00000001048d80c6 0x104803000 + 872646
6 libclient64.dylib 0x00000001048a6303 JVM_MonitorWait + 156
7 libjvmlinkage.dylib 0x00000001000bbb0b JVM_MonitorWait + 59
8 ??? 0x00000001070bdd08 0 + 4413185288
Thread 19:
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff89041eb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8904137b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff89040bd8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8976e66b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 20:: Java: Java2D Disposer
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048d8377 0x104803000 + 873335
5 libclient64.dylib 0x00000001048d80c6 0x104803000 + 872646
6 libclient64.dylib 0x00000001048a6303 JVM_MonitorWait + 156
7 libjvmlinkage.dylib 0x00000001000bbb0b JVM_MonitorWait + 59
8 ??? 0x00000001070bdd08 0 + 4413185288
9 ??? 0x000000010700685a 0 + 4412434522
10 ??? 0x00000001070069b3 0 + 4412434867
11 ??? 0x00000001070069b3 0 + 4412434867
12 ??? 0x0000000107006d34 0 + 4412435764
13 ??? 0x0000000107001438 0 + 4412412984
14 libclient64.dylib 0x0000000104899b54 0x104803000 + 617300
15 libclient64.dylib 0x00000001048a5e8e 0x104803000 + 667278
16 libclient64.dylib 0x00000001048a5d80 0x104803000 + 667008
17 libclient64.dylib 0x00000001048a5d20 0x104803000 + 666912
18 libclient64.dylib 0x00000001048a5bbe 0x104803000 + 666558
19 libclient64.dylib 0x00000001048a59cf 0x104803000 + 666063
20 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
21 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
22 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
23 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 21:: Java: AWT-EventQueue-0
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048d8377 0x104803000 + 873335
5 libclient64.dylib 0x00000001048d80c6 0x104803000 + 872646
6 libclient64.dylib 0x00000001048a6303 JVM_MonitorWait + 156
7 libjvmlinkage.dylib 0x00000001000bbb0b JVM_MonitorWait + 59
8 ??? 0x00000001070bdd08 0 + 4413185288
9 ??? 0x00000001070b1d7c 0 + 4413136252
Thread 22 Crashed:: Java: Run$_CANDLEMacro$
0 libONLM_Mod.dylib 0x0000000100407080 ONLM + 224
1 jna1934359639328178547.tmp 0x00000001005ab94c ffi_call_unix64 + 76
2 jna1934359639328178547.tmp 0x00000001005ab456 ffi_call + 630
3 jna1934359639328178547.tmp 0x00000001005a22f5 Java_com_sun_jna_Native_ffi_1prep_1cif + 1621
4 jna1934359639328178547.tmp 0x00000001005a2772 Java_com_sun_jna_Native_invokeVoid + 34
5 ??? 0x0000000107011eee 0 + 4412481262
6 ??? 0x000000010700685a 0 + 4412434522
7 ??? 0x00000001070069b3 0 + 4412434867
8 ??? 0x00000001070069b3 0 + 4412434867
9 ??? 0x0000000107006e8d 0 + 4412436109
10 ??? 0x0000000107006d34 0 + 4412435764
11 ??? 0x0000000107001438 0 + 4412412984
12 libclient64.dylib 0x0000000104899b54 0x104803000 + 617300
13 libclient64.dylib 0x0000000104899918 0x104803000 + 616728
14 libclient64.dylib 0x00000001048b1254 0x104803000 + 713300
15 libclient64.dylib 0x00000001048b246e 0x104803000 + 717934
16 libclient64.dylib 0x00000001048b222e JVM_InvokeMethod + 358
17 libjvmlinkage.dylib 0x00000001000bfd7e JVM_InvokeMethod + 78
18 ??? 0x0000000107011eee 0 + 4412481262
19 ??? 0x00000001070069b3 0 + 4412434867
20 ??? 0x00000001070069b3 0 + 4412434867
21 ??? 0x0000000107006e8d 0 + 4412436109
22 ??? 0x00000001070069b3 0 + 4412434867
23 ??? 0x00000001070069b3 0 + 4412434867
24 ??? 0x00000001070069b3 0 + 4412434867
25 ??? 0x00000001070069b3 0 + 4412434867
26 ??? 0x00000001070069b3 0 + 4412434867
27 ??? 0x00000001070069b3 0 + 4412434867
28 ??? 0x00000001070069b3 0 + 4412434867
29 ??? 0x00000001070069b3 0 + 4412434867
30 ??? 0x00000001070069b3 0 + 4412434867
31 ??? 0x00000001070069b3 0 + 4412434867
32 ??? 0x000000010700685a 0 + 4412434522
33 ??? 0x000000010700685a 0 + 4412434522
34 ??? 0x000000010700685a 0 + 4412434522
35 ??? 0x00000001070069b3 0 + 4412434867
36 ??? 0x00000001070069b3 0 + 4412434867
37 ??? 0x00000001070069b3 0 + 4412434867
38 ??? 0x00000001070069b3 0 + 4412434867
39 ??? 0x0000000107006d34 0 + 4412435764
40 ??? 0x00000001070069b3 0 + 4412434867
41 ??? 0x000000010700685a 0 + 4412434522
42 ??? 0x0000000107006d34 0 + 4412435764
43 ??? 0x0000000107001438 0 + 4412412984
44 libclient64.dylib 0x0000000104899b54 0x104803000 + 617300
45 libclient64.dylib 0x00000001048a5e8e 0x104803000 + 667278
46 libclient64.dylib 0x00000001048a5d80 0x104803000 + 667008
47 libclient64.dylib 0x00000001048a5d20 0x104803000 + 666912
48 libclient64.dylib 0x00000001048a5bbe 0x104803000 + 666558
49 libclient64.dylib 0x00000001048a59cf 0x104803000 + 666063
50 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
51 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
52 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
53 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 23:: Java: org.python.google.common.base.internal.Finalizer
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 libclient64.dylib 0x00000001048c26a3 0x104803000 + 784035
3 libclient64.dylib 0x0000000104816600 0x104803000 + 79360
4 libclient64.dylib 0x00000001048d8377 0x104803000 + 873335
5 libclient64.dylib 0x00000001048d80c6 0x104803000 + 872646
6 libclient64.dylib 0x00000001048a6303 JVM_MonitorWait + 156
7 libjvmlinkage.dylib 0x00000001000bbb0b JVM_MonitorWait + 59
8 ??? 0x00000001070bdd08 0 + 4413185288
9 ??? 0x000000010700685a 0 + 4412434522
10 ??? 0x00000001070069b3 0 + 4412434867
11 ??? 0x00000001070069b3 0 + 4412434867
12 ??? 0x0000000107001438 0 + 4412412984
13 libclient64.dylib 0x0000000104899b54 0x104803000 + 617300
14 libclient64.dylib 0x00000001048a5e8e 0x104803000 + 667278
15 libclient64.dylib 0x00000001048a5d80 0x104803000 + 667008
16 libclient64.dylib 0x00000001048a5d20 0x104803000 + 666912
17 libclient64.dylib 0x00000001048a5bbe 0x104803000 + 666558
18 libclient64.dylib 0x00000001048a59cf 0x104803000 + 666063
19 libclient64.dylib 0x000000010481607a 0x104803000 + 77946
20 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
21 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
22 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 24:: com.apple.CoreAnimation.render-server
0 libsystem_kernel.dylib 0x00007fff88e694de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff88e6864f mach_msg + 55
2 com.apple.QuartzCore 0x00007fff9416b04f CA::Render::Server::server_thread(void*) + 198
3 com.apple.QuartzCore 0x00007fff9416af82 thread_fun + 25
4 libsystem_pthread.dylib 0x00007fff9152b268 _pthread_body + 131
5 libsystem_pthread.dylib 0x00007fff9152b1e5 _pthread_start + 176
6 libsystem_pthread.dylib 0x00007fff9152941d thread_start + 13
Thread 25:
0 libsystem_kernel.dylib 0x00007fff88e6e94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9152940d start_wqthread + 13
Thread 22 crashed with X86 Thread State (64-bit):
rax: 0x0000000139399000 rbx: 0x0000000000000200 rcx: 0x0000000000000800 rdx: 0x0000000000000008
rdi: 0x0000000100031280 rsi: 0x00000000000000a9 rbp: 0x00000001174ee850 rsp: 0x00000001174ee720
r8: 0x0000000003000001 r9: 0x0000000000000003 r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x0000000000000008 r13: 0x000000000000000a r14: 0xa900b50506ac8350 r15: 0x00000001174ee9f0
rip: 0x0000000100407080 rfl: 0x0000000000010202 cr2: 0x0000000000000800
Logical CPU: 3
Error Code: 0x00000006
Trap Number: 14
相关机器:
Model: MacBookAir6,1, BootROM MBA61.0099.B18, 2 processors, Intel Core i7, 1.7 GHz, 8 GB, SMC 2.12f143
Graphics: Intel HD Graphics 5000, Intel HD Graphics 5000, Built-In
最佳答案
我们几乎不可能知道确切原因。但是,要指出错误消息中最相关的部分。首先你看到这个:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000800
这意味着程序在尝试访问地址 0x0000000000000800
时由于 SIGSEGV
信号(段错误)而崩溃。
我们还从这部分消息中看到是线程 22 触发了崩溃:
Crashed Thread: 22 Java: Run$_CANDLEMacro$
再往下我们可以看到线程 22 在做什么:
Thread 22 Crashed:: Java: Run$_CANDLEMacro$
0 libONLM_Mod.dylib 0x0000000100407080 ONLM + 224
1 jna1934359639328178547.tmp 0x00000001005ab94c ffi_call_unix64 + 76
2 jna1934359639328178547.tmp 0x00000001005ab456 ffi_call + 630
....
您的程序似乎在 ONLM
方法中的 libONLM_Mod.dylyb
中崩溃。 + 224
表示它在 ONLM
方法内的 224 字节处崩溃。如果您有调试符号,您可以使用 nm
和 addr2line
(感谢 Banthar)将其转换为行号。
关于java - 程序崩溃。破译错误信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31147746/
我有一段代码看起来像这样: void update_clock(uint8_t *time_array) { time_t time = *((time_t *) &time_array[0]
应用程序崩溃了 :( 请帮助我.. 在这方面失败了。我找不到错误?该应用程序可以连接到 iTunesConnect 但它会出错。 谁能根据下面的崩溃报告判断问题出在哪里? share_with_app
小二是新来的实习生,作为技术 leader,我给他安排了一个非常简单的练手任务,把前端 markdown 编辑器里上传的图片保存到服务器端,结果他真的就把图片直接保存到了服务器上,这下可把我气坏了,就
我正在创建一个函数,它将目录路径作为参数传递,或者如果它留空,则提示用户输入。 我已经设置了我的 PATH_MAX=100 和 if 语句来检查 if ((strlen(folder path) +
我已将“arial.ttf”文件(从我的/Windows/Fonts 文件夹中获取)加载到内存中,但是将其传递到 FT_New_Memory_Face 时会崩溃(在 FT_Open_Face 中的某处
我正在尝试在我的计算机上的两个控制台之间进行 rtsp 流。 在控制台 1 上,我有: ffmpeg -rtbufsize 100M -re -f dshow -s 320x240 -i video=
我正在尝试使用 scio_beast在一个项目中。我知道它还没有完成,但这并不重要。我已经设法让它工作得很好。 我现在正在尝试连接到 CloudFlare 后面的服务器,我知道我需要 SNI 才能工作
我有一个带有关联宏的下拉列表,如下所示: Sub Drop() If Range("Hidden1!A1") = "1" Then Sheets("Sheet1").Se
我对 bash 很陌生。我要做的就是运行这个nvvp -vm /usr/lib64/jvm/jre-1.8.0/bin/java无需记住最后的路径。我认为 instafix 就是这样做...... n
我在 Windows 上使用 XAMPP 已经两年左右了,它运行完美,没有崩溃没有问题。 (直到四个月前。) 大约四个月前,我们将服务器/系统升级到了更快的规范。 这是旧规范的内容 - Windows
我面临着一个非常烦人的 android 崩溃,它发生在大约 1% 的 PRODUCTION session 中,应用程序始终在后台运行。 Fatal Exception: android.app.Re
尝试使用下面的函数: public void createObjectType() { try { mCloudDB.createObjectType(ObjectTypeIn
由于我正在进行的一个项目,我在 CF11 管理员中弄乱了类路径,我设法使服务器崩溃,以至于我唯一得到的是一个漂亮的蓝屏和 500 错误.我已经检查了日志,我会把我能做的贴在帖子的底部,但我希望有人会启
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 10 个月前关闭。 Improve
我最近从 xcode 3.x 更新到 4.2,当我在 4.2 中运行应用程序时,我遇到了核心数据问题。我还更新到了 iOS 5,所以问题可能就在那里,我不太确定。 这些应用程序在 3.x 中运行良好,
我是一个相对较新的 iPhone 应用程序开发人员,所以我的知识有点粗略,所以如果这是一个微不足道的问题,请原谅我。 我有一个导航应用程序,它通过在navigationController对象上调用p
if ([MFMailComposeViewController canSendMail]) { MFMailComposeViewController *mailViewController
你能帮我吗? 我正在设置 UILocalNotification,当我尝试设置其 userInfo 字典时,它崩溃了。 fetchedObjects 包含 88 个对象。 这是代码: NSDi
为什么我的代码中突然出现 NSFastEnumeration Mutation Handler 崩溃。我很茫然为什么会突然出现这个崩溃以及如何解决它。 最佳答案 崩溃错误: **** 由于未捕获的异常
当我从表中删除行时,我的应用程序崩溃了。这是我检测到错误和堆栈跟踪的来源。谢谢! //delete row from database - (void)tableView:(UITableView *
我是一名优秀的程序员,十分优秀!