- 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/
我正在尝试用 Python 破译标准的“a = 1, b = 2, c = 3...”密码,但我有点卡住了。我想要解密的消息是“he”——“8 5”,但由于我的 if 语句的顺序,输出是“eh”。有人
所以我正在编辑代码,并且有一段代码完全没有注释,所以我担心对其进行任何更改,这一切都是从这个 while 语句开始的。 有人能破译这个吗?从技术上描述这是在说什么/在做什么,我相信我能弄清楚我理解第一
好的,所以我在 Haskell 中有这段代码: data Bigit = O | I deriving (Show,Eq) add x y = reverse $ addC O (reverse x)
我继承了一个 BASIC 脚本,我正在尝试将其重写为 Python。我不知道 BASIC,甚至不知道这是哪个版本的 BASIC。是 Visual Basic 吗?请帮我翻译这段代码。 'County
我对 puppet 很陌生,只是想了解输出告诉我的内容。我有一个非常简单的 init.pp 文件来配置 shudders 文件: class sudo { package { sudo:
下面这段代码是为了演示一段OSGi代码中可能发生的死锁,直接取自免费下载的书籍:osgi in practice (Neil Bartlett) 。这本书总体上很容易理解,而且我发现它非常有用。但是,
我正在玩 vim-ruby 缩进,那里有一些非常复杂的正则表达式: " Regex used for words that, at the start of a line, add a level o
我继承了一个 BASIC 脚本,我正在尝试将其重写为 Python。我不知道 BASIC,甚至不知道这是哪个版本的 BASIC。是 Visual Basic 吗?请帮我翻译这段代码。 'County
我在逆向此代码以从 qwerty 解密回 abc 时遇到问题。 我不知道从哪里开始。我尝试用包含 ABC 的字符串替换索引...我还尝试将密文交换为 abc 并将索引更改为 qwerty,但无济于事。
我正在尝试设置一个 cron 作业,我收到了以下命令:wget -0 - -t 1 但我无法完全弄清楚如何使用此资源: http://www.computerhope.com/unix/wget.ht
这个问题在这里已经有了答案: tkinter creating buttons in for loop passing command arguments (4 个答案) 关闭 8 个月前。 我一直
我是 CMake 的新手(通常对 Makefiles、C 和 C++ 还是相当陌生)。我的任务是将我们当前的构建系统更改为使用 CMake 生成 Makefile 并编译我们的代码的系统。我在破译 C
我正在“玩”C++ 中的虚拟继承,我想知道一个类对象是如何布局的。我有这三个类: class A { private: int a; public: A() {this->a = 47
我正在尝试解读与 clr20r3 关联的 P1...P10 参数的含义,当我的应用程序遇到异常时,这些参数会写入事件日志。 我所拥有的最好的been able to find是: P1:托管进程(例如
我有一个带有 postgresql 后端的 Django 网络应用程序,用户可以在其中聚集并互相发送消息。这些消息可以被赞成或反对。如果有任何滥用行为,有很多反对票的人会得到“ghost banned
源代码 class W { public: virtual void f() { cout f(); // Invokes B::f why not w::f paw 指向 AW 的 vtable
我记得曾经看到一个网站,它破译了复杂的 C++ typedef,包括返回函数指针的函数指针,这些函数返回一个数组...... 它将把这样的定义变成可读的英文文本:»指向函数的指针,返回一个 int 指
我有这个 DIV 标签,其中有一个类定义。 我搜索了整个元素,但使用文本搜索功能在任何地方都找不到这个类。 目前,DIV 太宽了,我需要将其缩小一点。 每当我删除 class="clear
所以......我可以理解matlab函数句柄及其目的。但有时,当它变得过于神秘时,我需要帮助来进一步阐述它。 从默认 MATLAB documentation 中获取此示例,说: f = @(x)x
我正在尝试从 VB6 应用程序调用 TAPI32.dll 上的函数。我不知道如何在 VB6 中指定信息并调用它。所以,这个问题问的是帮助破译MSDN中的C++相关信息,并在VB6中调用它,但我在下面详
我是一名优秀的程序员,十分优秀!