We’ve started seeing sporadic but regular crashes from _Unwind_Resume in a 
Foundation tool. The crashing thread is:
> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
> 0   libSystem.B.dylib                 0x00007fff87e363d6 __kill + 10
> 1   libSystem.B.dylib                 0x00007fff87ed6972 abort + 83
> 2   libSystem.B.dylib                 0x00007fff87e56972 _Unwind_Resume + 66
> 3   com.apple.CoreFoundation          0x00007fff86e43a91 CFRunLoopRunSpecific 
> + 1153
> 4   com.apple.CoreFoundation          0x00007fff86e435d6 CFRunLoopRun + 70
> 5   net.decimus.Synk.Engine           0x00000001000014bb main + 615
> 6   net.decimus.Synk.Engine           0x000000010000124c start + 52

The other threads aren’t doing anything noteworthy and are just sitting idle, 
but I’ll include the whole crash log below for completeness.

It’s obviously involved with exception handling, perhaps an uncaught exception, 
except that we’re not getting any of the usual information in the crash log 
that we typically do with an Obj-C exception. From my web searches, I suspect 
something C++ is the culprit, but because we have zero C++ code of our own in 
this binary, I have no idea where the problem could be or how to do anything 
about it.

Any suggestions on how to track this down and fix it, or work around it if it’s 
a system bug? Or has anybody seen this before and already know what the issue 
is?

Thanks,
Benjamin Rister



Full crash log:
Process:         Synk Engine [676]
Path:            /Library/Synk/bin/Synk Engine.app/Contents/MacOS/Synk Engine
Identifier:      Synk Engine
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [1]

Date/Time:       2010-08-24 10:24:15.095 +0800
OS Version:      Mac OS X 10.6.4 (10F569)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called
objc[676]: garbage collection is ON

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                   0x00007fff87e363d6 __kill + 10
1   libSystem.B.dylib                   0x00007fff87ed6972 abort + 83
2   libSystem.B.dylib                   0x00007fff87e56972 _Unwind_Resume + 66
3   com.apple.CoreFoundation            0x00007fff86e43a91 CFRunLoopRunSpecific 
+ 1153
4   com.apple.CoreFoundation            0x00007fff86e435d6 CFRunLoopRun + 70
5   net.decimus.Synk.Engine             0x00000001000014bb main + 615
6   net.decimus.Synk.Engine             0x000000010000124c start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib                   0x00007fff87e0108a kevent + 10
1   libSystem.B.dylib                   0x00007fff87e02f5d _dispatch_mgr_invoke 
+ 154
2   libSystem.B.dylib                   0x00007fff87e02c34 
_dispatch_queue_invoke + 185
3   libSystem.B.dylib                   0x00007fff87e0275e 
_dispatch_worker_thread2 + 252
4   libSystem.B.dylib                   0x00007fff87e02088 _pthread_wqthread + 
353
5   libSystem.B.dylib                   0x00007fff87e01f25 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib                   0x00007fff87de82fa mach_msg_trap + 10
1   libSystem.B.dylib                   0x00007fff87de896d mach_msg + 59
2   com.apple.CoreFoundation            0x00007fff86e443c2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation            0x00007fff86e4384f CFRunLoopRunSpecific 
+ 575
4   com.apple.Foundation                0x00007fff85073a18 
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
5   net.decimus.Synk.Engine             0x0000000100021c41 -[EngineServer main] 
+ 111
6   com.apple.Foundation                0x00007fff85038e8d __NSThread__main__ + 
1429
7   libSystem.B.dylib                   0x00007fff87e21456 _pthread_start + 331
8   libSystem.B.dylib                   0x00007fff87e21309 thread_start + 13

Thread 3:
0   libSystem.B.dylib                   0x00007fff87e2bdce select$DARWIN_EXTSN 
+ 10
1   com.apple.CoreFoundation            0x00007fff86e65e92 __CFSocketManager + 
818
2   libSystem.B.dylib                   0x00007fff87e21456 _pthread_start + 331
3   libSystem.B.dylib                   0x00007fff87e21309 thread_start + 13

Thread 4:
0   libSystem.B.dylib                   0x00007fff87e01eaa __workq_kernreturn + 
10
1   libSystem.B.dylib                   0x00007fff87e022bc _pthread_wqthread + 
917
2   libSystem.B.dylib                   0x00007fff87e01f25 start_wqthread + 13

Thread 5:

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000100225c50  rcx: 0x00007fff5fbff7c8  
rdx: 0x0000000000000000
  rdi: 0x00000000000002a4  rsi: 0x0000000000000006  rbp: 0x00007fff5fbff7e0  
rsp: 0x00007fff5fbff7c8
   r8: 0x0000000000000000   r9: 0x0000000000000001  r10: 0x00007fff87e32412  
r11: 0x0000000000000206
  r12: 0x00007fff5fbff7f0  r13: 0x0000000100225c50  r14: 0x0000000200016db0  
r15: 0x0000000000000000
  rip: 0x00007fff87e363d6  rfl: 0x0000000000000206  cr2: 0x00007fff70e5d2bb

Binary Images:
       0x100000000 -        0x10008cfff +net.decimus.Synk.Engine 7.0b1 (3) 
<5E824075-A6CB-D78D-1996-922C1B51F546> /Library/Synk/bin/Synk 
Engine.app/Contents/MacOS/Synk Engine
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) 
<B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
    0x7fff8002a000 -     0x7fff800cafff  com.apple.LaunchServices 362.1 (362.1) 
<4529EF9C-45C7-E2E3-6726-4A5AD382566D> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff80702000 -     0x7fff807bbfff  libsqlite3.dylib 9.6.0 (compatibility 
9.0.0) <5A15E12A-AE8F-1A36-BBC7-564E7D7AD0FB> /usr/lib/libsqlite3.dylib
    0x7fff81152000 -     0x7fff81168fef  libbsm.0.dylib ??? (???) 
<83676D2E-23CD-45CD-BE5C-35FCFFBBBDBB> /usr/lib/libbsm.0.dylib
    0x7fff811c9000 -     0x7fff812e0fef  libxml2.2.dylib 10.3.0 (compatibility 
10.0.0) <7DC5239F-CD6A-820C-7C66-C528D7E27649> /usr/lib/libxml2.2.dylib
    0x7fff8137a000 -     0x7fff813bbfff  com.apple.SystemConfiguration 1.10.2 
(1.10.2) <BC27BDD4-9CC8-9AF0-B4C2-DD50FD751CBF> 
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff8141a000 -     0x7fff81420ff7  com.apple.DiskArbitration 2.3 (2.3) 
<857F6E43-1EF4-7D53-351B-10DE0A8F992A> 
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff8247c000 -     0x7fff82539ff7  com.apple.CoreServices.OSServices 357 
(357) <718F0719-DC9F-E392-7C64-9D7DFE3D02E2> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff8253a000 -     0x7fff82575fff  com.apple.AE 496.4 (496.4) 
<64C27EC8-FC7F-EA6B-9435-9A3452425915> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff827f5000 -     0x7fff828abfff  libobjc.A.dylib 227.0.0 (compatibility 
1.0.0) <B1F5CDC0-96BD-C7C0-BEAA-1E2259DDE067> /usr/lib/libobjc.A.dylib
    0x7fff82ca0000 -     0x7fff82fd3fe7  com.apple.CoreServices.CarbonCore 
861.13 (861.13) <BC2F9B4E-D305-D717-D97E-EC78C7DE9EE9> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff834b6000 -     0x7fff834baff7  libmathCommon.A.dylib 315.0.0 
(compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> 
/usr/lib/system/libmathCommon.A.dylib
    0x7fff83d21000 -     0x7fff83d6dfff  libauto.dylib ??? (???) 
<205CE82B-3DE0-4A9D-CEB9-F6A3DDA22ED4> /usr/lib/libauto.dylib
    0x7fff8462f000 -     0x7fff8465aff7  libxslt.1.dylib 3.24.0 (compatibility 
3.0.0) <87A0B228-B24A-C426-C3FB-B40D7258DD49> /usr/lib/libxslt.1.dylib
    0x7fff8465b000 -     0x7fff8465bff7  com.apple.CoreServices 44 (44) 
<210A4C56-BECB-E3E4-B6EE-7EC53E02265D> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff8465c000 -     0x7fff8466aff7  libkxld.dylib ??? (???) 
<EE840168-1F67-6219-8BA3-C46039BCC8B3> /usr/lib/system/libkxld.dylib
    0x7fff84a81000 -     0x7fff84aa9fff  com.apple.DictionaryServices 1.1.1 
(1.1.1) <403E9BF2-EC47-1D32-E4B1-3D624AAA5BBD> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff84d3a000 -     0x7fff84d4bff7  libz.1.dylib 1.2.3 (compatibility 
1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
    0x7fff84d4c000 -     0x7fff84dc9fef  libstdc++.6.dylib 7.9.0 (compatibility 
7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
    0x7fff84f56000 -     0x7fff85026ff7  com.apple.CFNetwork 454.9.7 (454.9.7) 
<AA6EB690-6CCF-603D-AAC2-35B9E05D1593> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff85028000 -     0x7fff852a9fef  com.apple.Foundation 6.6.3 (751.29) 
<DAEDB589-9F59-9556-CF8D-07556317937B> 
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff852b3000 -     0x7fff852c2fff  com.apple.NetFS 3.2.1 (3.2.1) 
<3FC302C9-A5C6-A9CA-08CE-435AD05499F1> 
/System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff86df8000 -     0x7fff86f6dff7  com.apple.CoreFoundation 6.6.3 
(550.29) <48810602-63C3-994D-E563-DD02B16E76E1> 
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff874a9000 -     0x7fff875e7fff  com.apple.CoreData 102.1 (251) 
<782F29CA-ACC7-4A77-5772-52FBE2CEFB5E> 
/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff878e5000 -     0x7fff87943ff7  com.apple.framework.IOKit 2.0 (???) 
<010C3398-7363-8F4B-719C-263867F15F63> 
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff87de7000 -     0x7fff87fa7fef  libSystem.B.dylib 125.2.0 
(compatibility 1.0.0) <95E02DD0-ADEA-745B-E7FA-ABA064E4658C> 
/usr/lib/libSystem.B.dylib
    0x7fff883c7000 -     0x7fff8864dff7  com.apple.security 6.1.1 (37594) 
<5EDDC08C-C95B-2D24-E1D2-D30D233AB065> 
/System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff8864e000 -     0x7fff886defff  com.apple.SearchKit 1.3.0 (1.3.0) 
<3403E658-A54E-A79A-12EB-E090E8743984> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff886df000 -     0x7fff88729ff7  com.apple.Metadata 10.6.3 (507.10) 
<641395B7-FF2C-B94C-965A-CE6A0830645F> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff88e70000 -     0x7fff8902efff  libicucore.A.dylib 40.0.0 
(compatibility 1.0.0) <0E53A4A6-AC06-1B61-2285-248F534EE356> 
/usr/lib/libicucore.A.dylib
    0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) 
<95E02DD0-ADEA-745B-E7FA-ABA064E4658C> /usr/lib/libSystem.B.dylib

 _______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to