andymatuschak/TestMigration — Issue #83: crash on check for update (Carbon)
Author: andymatuschak
Created: 2011-10-23 16:44:19+00:00
State: open
Labels: Migrated

***Ryan Joseph (thealchemistguild)** [reported (on Launchpad)](https://bugs.launchpad.net/sparkle/+bug/710404) on' 2011-01-31:*

This crash started happening from time to time after I close the check
for updates window and there is no update available. It's pretty
predictable but does not occur 100% of the time.

Please note I'm using the Carbon version of the framework (1.5 Beta
(bzr) with Pascal, which are the strange lines in stack trace) and
besides the crash the framework works as expected.

Process: TaskCard [3713]
Path: /Applications/TaskCard.app/Contents/MacOS/TaskCard
Identifier: com.alchemistguild.TaskCard
Version: 1.5.2 (1.5.2)
Code Type: X86 (Native)
Parent Process: launchd [215]

Date/Time: 2011-01-31 00:52:25.768 +0900
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6

Interval Since Last Report: 155712 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 208 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 01D6CCCC-B51C-4DF1-8550-6057170FC8FA

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x946b5f30 misaligned_stack_error_ + 0
1 com.alchemistguild.TaskCard 0x00021213 SYSTEM_DO_WRITE$LONGINT$POINTER$LONGINT$$LONGINT + 51
2 com.alchemistguild.TaskCard 0x000215d0 SYSTEM_FILEWRITEFUNC$TEXTREC + 48
3 com.alchemistguild.TaskCard 0x0001c8dd SYSTEM_DOUNHANDLEDEXCEPTION + 93
4 com.alchemistguild.TaskCard 0x0001c988 FPC_RAISEEXCEPTION + 88
5 com.alchemistguild.TaskCard 0x00038be7 SYSUTILS_RUNERRORTOEXCEPT$LONGINT$POINTER$POINTER + 1799
6 com.alchemistguild.TaskCard 0x0001e338 FPC_BREAK_ERROR + 72
7 org.andymatuschak.Sparkle 0x001aa506 load_dsa_key + 22972
8 org.andymatuschak.Sparkle 0x001ab97e load_dsa_key + 28212
9 org.andymatuschak.Sparkle 0x001ac5da load_dsa_key + 31376
10 org.andymatuschak.Sparkle 0x001ac533 load_dsa_key + 31209
11 org.andymatuschak.Sparkle 0x001a24ca 0x19e000 + 17610
12 com.apple.Foundation 0x93e7e56b -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFinishLoading] + 84
13 com.apple.Foundation 0x93e7e4dc _NSURLConnectionDidFinishLoading + 133
14 com.apple.CFNetwork 0x93993453 URLConnectionClient::_clientDidFinishLoading(URLConnectionClient::ClientConnectionEventQueue*) + 197
15 com.apple.CFNetwork 0x93a0ab88 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo*, long) + 306
16 com.apple.CFNetwork 0x93985ab8 URLConnectionClient::processEvents() + 94
17 com.apple.CFNetwork 0x9398595b MultiplexerSource::perform() + 183
18 com.apple.CoreFoundation 0x987a94cb __CFRunLoopDoSources0 + 1563
19 com.apple.CoreFoundation 0x987a6f8f __CFRunLoopRun + 1071
20 com.apple.CoreFoundation 0x987a6464 CFRunLoopRunSpecific + 452
21 com.apple.CoreFoundation 0x987a6291 CFRunLoopRunInMode + 97
22 com.apple.HIToolbox 0x982ca004 RunCurrentEventLoopInMode + 392
23 com.apple.HIToolbox 0x982c9dbb ReceiveNextEventCommon + 354
24 com.apple.HIToolbox 0x984521a2 _AcquireNextEvent + 54
25 com.apple.HIToolbox 0x98447e54 RunApplicationEventLoop + 228
26 com.alchemistguild.TaskCard 0x00055a9d TAPPLICATIONUNIT_TAPPLICATION_$__RUN + 13
27 com.alchemistguild.TaskCard 0x00023b86 FPC_SYSTEMMAIN + 70
28 com.alchemistguild.TaskCard 0x00011499 start + 249
29 com.alchemistguild.TaskCard 0x000113c8 start + 40

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x946d0982 kevent + 10
1 libSystem.B.dylib 0x946d109c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x946d0559 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x946d02fe _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x946cfd81 _pthread_wqthread + 390
5 libSystem.B.dylib 0x946cfbc6 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x946aa0fa mach_msg_trap + 10
1 libSystem.B.dylib 0x946aa867 mach_msg + 68
2 com.unsanity.ape 0x00703725 __ape_agent + 255
3 libSystem.B.dylib 0x946d785d _pthread_start + 345
4 libSystem.B.dylib 0x946d76e2 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x946aa0fa mach_msg_trap + 10
1 libSystem.B.dylib 0x946aa867 mach_msg + 68
2 com.apple.CoreFoundation 0x987a737f __CFRunLoopRun + 2079
3 com.apple.CoreFoundation 0x987a6464 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation 0x987a6291 CFRunLoopRunInMode + 97
5 com.apple.Foundation 0x93e7c7d0 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 329
6 com.apple.Foundation 0x93e43bf0 -[NSThread main] + 45
7 com.apple.Foundation 0x93e43ba0 __NSThread__main__ + 1499
8 libSystem.B.dylib 0x946d785d _pthread_start + 345
9 libSystem.B.dylib 0x946d76e2 thread_start + 34

Thread 4: com.apple.CFSocket.private
0 libSystem.B.dylib 0x946c90c6 select$DARWIN_EXTSN + 10
1 com.apple.CoreFoundation 0x987e6c83 __CFSocketManager + 1091
2 libSystem.B.dylib 0x946d785d _pthread_start + 345
3 libSystem.B.dylib 0x946d76e2 thread_start + 34

Thread 5:
0 libSystem.B.dylib 0x946cfa12 __workq_kernreturn + 10
1 libSystem.B.dylib 0x946cffa8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x946cfbc6 start_wqthread + 30

Thread 6:
0 libSystem.B.dylib 0x946cfa12 __workq_kernreturn + 10
1 libSystem.B.dylib 0x946cffa8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x946cfbc6 start_wqthread + 30

Thread 7:
0 libSystem.B.dylib 0x946cfa12 __workq_kernreturn + 10
1 libSystem.B.dylib 0x946cffa8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x946cfbc6 start_wqthread + 30

Thread 8:
0 libSystem.B.dylib 0x946d80a6 __semwait_signal + 10
1 libSystem.B.dylib 0x94703ee5 nanosleep$UNIX2003 + 188
2 libSystem.B.dylib 0x94703e23 usleep$UNIX2003 + 61
3 com.apple.AppKit 0x925cafe1 -[NSUIHeartBeat _heartBeatThread:] + 2039
4 com.apple.Foundation 0x93e43bf0 -[NSThread main] + 45
5 com.apple.Foundation 0x93e43ba0 __NSThread__main__ + 1499
6 libSystem.B.dylib 0x946d785d _pthread_start + 345
7 libSystem.B.dylib 0x946d76e2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x000047b9 ebx: 0x000215ac ecx: 0x00000100 edx: 0x000ed274
edi: 0x00000001 esi: 0x000ed274 ebp: 0xbfffe5d0 esp: 0xbfffe568
ss: 0x00000023 efl: 0x00010292 eip: 0x946b5f30 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00018210