[racket-dev] FYI crash in os X cairo

From: John Clements (clements at brinckerhoff.org)
Date: Sat Sep 17 13:11:20 EDT 2011

Disregard unless interested: crash while running program, drracket #8e5bb730b369b169821695e1b3216d68a8d71d64 from Friday 16th.

Process:         racket [11531]
Path:            /Users/clements/plt/bin/racket
Identifier:      racket
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [537]

Date/Time:       2011-09-17 10:09:10.294 -0700
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          138200 sec
Crashes Since Last Report:           17
Per-App Crashes Since Last Report:   17
Anonymous UUID:                      2B5B5A13-9161-4495-BE51-9AEEEA441DE8

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000100000001
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.apple.CoreGraphics        	0x00007fff82f030aa CGGStateTextCopy + 47
1   com.apple.CoreGraphics        	0x00007fff82f02f53 CGGStateCreateCopy + 101
2   com.apple.CoreGraphics        	0x00007fff82f02ecb CGGStackSave + 65
3   com.apple.CoreGraphics        	0x00007fff82f02e7f CGContextSaveGState + 65
4   libcairo.2.dylib              	0x000000010500787a _cairo_quartz_surface_fill + 202
5   libcairo.2.dylib              	0x0000000104feb494 _cairo_surface_fill + 180
6   libcairo.2.dylib              	0x0000000104fc4a1f _cairo_gstate_fill + 479
7   libcairo.2.dylib              	0x0000000104fbb1f3 cairo_fill_preserve + 35
8   Racket                        	0x0000000100293a6c ffi_call_unix64 + 76
9   Racket                        	0x0000000100294684 ffi_call + 644
10  Racket                        	0x0000000100286a6b ffi_do_call + 1371
11  Racket                        	0x000000010005d33d scheme_do_eval + 10557
12  Racket                        	0x000000010005fc3f _scheme_apply_multi_from_native + 95
13  ???                           	0x00000001004e3f40 0 + 4300095296
14  ???                           	0x000000011ba9d67e 0 + 4759082622
15  ???                           	0x00000001004fa930 0 + 4300187952
16  ???                           	0x00000001004fa930 0 + 4300187952
17  Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
18  Racket                        	0x0000000100077305 scheme_dynamic_wind + 1029
19  Racket                        	0x0000000100077a71 dynamic_wind + 321
20  ???                           	0x00000001013d759d 0 + 4315772317
21  ???                           	0x00000001013d55d0 0 + 4315764176
22  ???                           	0x00000001004e3b10 0 + 4300094224
23  ???                           	0x00000001004e3b10 0 + 4300094224
24  Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
25  Racket                        	0x000000010005fc3f _scheme_apply_multi_from_native + 95
26  ???                           	0x00000001004e3f40 0 + 4300095296
27  ???                           	0x00000001004e3b10 0 + 4300094224
28  Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
29  Racket                        	0x0000000100078c49 scheme_finish_apply_for_prompt + 873
30  Racket                        	0x0000000100078e1c scheme_apply_for_prompt + 92
31  Racket                        	0x0000000100085612 call_with_prompt + 1282
32  ???                           	0x00000001004d9215 0 + 4300050965
33  Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
34  Racket                        	0x0000000100078c49 scheme_finish_apply_for_prompt + 873
35  Racket                        	0x0000000100078e1c scheme_apply_for_prompt + 92
36  Racket                        	0x0000000100085612 call_with_prompt + 1282
37  ???                           	0x00000001004e3cc5 0 + 4300094661
38  Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
39  Racket                        	0x0000000100070e94 force_values + 292
40  Racket                        	0x000000010007afb2 scheme_force_value_same_mark + 114
41  ???                           	0x00000001004e3719 0 + 4300093209
42  Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
43  Racket                        	0x000000010005fc3f _scheme_apply_multi_from_native + 95
44  ???                           	0x00000001004d9142 0 + 4300050754
45  Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
46  Racket                        	0x000000010007ae33 apply_k + 179
47  Racket                        	0x000000010007bac6 scheme_top_level_do_worker + 1222
48  racket                        	0x00000001000033fe finish_cmd_line_run + 3598
49  racket                        	0x0000000100004051 main_after_stack + 2753
50  Racket                        	0x000000010000cfc9 scheme_main_stack_setup + 153
51  racket                        	0x0000000100001da4 main + 36
52  racket                        	0x0000000100001d54 start + 52

Thread 1:
0   libSystem.B.dylib             	0x00007fff87b78d7a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff87b793ed mach_msg + 59
2   Racket                        	0x0000000100296a86 exception_thread + 134
3   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff87bda99e __sigwait + 10
1   libSystem.B.dylib             	0x00007fff87bda977 sigwait + 73
2   Racket                        	0x00000001001a6dbc mz_proc_thread_signal_worker + 172
3   Racket                        	0x0000000100163b10 mzrt_thread_stub + 96
4   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
5   libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 3:
0   libSystem.B.dylib             	0x00007fff87bb3a6a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff87bb38f9 nanosleep + 148
2   libSystem.B.dylib             	0x00007fff87bb3863 usleep + 57
3   Racket                        	0x00000001001adb21 green_thread_timer + 81
4   Racket                        	0x0000000100163b10 mzrt_thread_stub + 96
5   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
6   libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 4:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff87b91c0a kevent + 10
1   libSystem.B.dylib             	0x00007fff87b93add _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff87b937b4 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff87b932de _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff87b92c08 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff87b92aa5 start_wqthread + 13

Thread 5:  com.apple.CFSocket.private
0   libSystem.B.dylib             	0x00007fff87bbc932 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x00007fff86d2f498 __CFSocketManager + 824
2   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
3   libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 6:
0   libSystem.B.dylib             	0x00007fff87bb3a6a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff87bb7881 _pthread_cond_wait + 1286
2   Racket                        	0x00000001001ad95b pt_sema_wait + 43
3   Racket                        	0x00000001001ad99c do_watch + 28
4   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
5   libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 7:
0   libSystem.B.dylib             	0x00007fff87bbc932 select$DARWIN_EXTSN + 10
1   Racket                        	0x00000001001bcc76 default_sleep + 294
2   Racket                        	0x000000010025cb7b check_sleep + 1371
3   Racket                        	0x0000000100267151 scheme_thread_block + 2273
4   Racket                        	0x000000010026799c scheme_block_until + 332
5   Racket                        	0x0000000100269193 do_sync + 1171
6   ???                           	0x00000001004d9215 0 + 4300050965
7   Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
8   Racket                        	0x000000010005fc3f _scheme_apply_multi_from_native + 95
9   ???                           	0x00000001004d9142 0 + 4300050754
10  Racket                        	0x000000010005d0d5 scheme_do_eval + 9941
11  Racket                        	0x000000010007ae33 apply_k + 179
12  Racket                        	0x000000010007bac6 scheme_top_level_do_worker + 1222
13  Racket                        	0x00000001001ad3ed place_start_proc_after_stack + 1869
14  Racket                        	0x00000001001ad464 place_start_proc + 100
15  Racket                        	0x0000000100163b10 mzrt_thread_stub + 96
16  libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
17  libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 8:
0   libSystem.B.dylib             	0x00007fff87bb3a6a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff87bb7881 _pthread_cond_wait + 1286
2   Racket                        	0x00000001001adb64 green_thread_timer + 148
3   Racket                        	0x0000000100163b10 mzrt_thread_stub + 96
4   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
5   libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 9:
0   libSystem.B.dylib             	0x00007fff87b78d7a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff87b793ed mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff86d0d932 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff86d0cdbf CFRunLoopRunSpecific + 575
4   com.apple.audio.CoreAudio     	0x00007fff83b27786 HALRunLoop::OwnThread(void*) + 152
5   com.apple.audio.CoreAudio     	0x00007fff83b14755 CAPThread::Entry(CAPThread*) + 125
6   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
7   libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000100000001  rbx: 0x0000000146631f70  rcx: 0x0000000000000000  rdx: 0x00000000000000b0
  rdi: 0x0000000000000000  rsi: 0x0000000133567720  rbp: 0x00007fff5fbfbfb0  rsp: 0x00007fff5fbfbfa0
   r8: 0x00000001466fc0a0   r9: 0x00000001466fc0a4  r10: 0x0000000000000022  r11: 0x0000000146631f70
  r12: 0x0000000133567720  r13: 0x0000000000000000  r14: 0x00007fff5fbfc1d0  r15: 0x0000000000000002
  rip: 0x00007fff82f030aa  rfl: 0x0000000000010202  cr2: 0x0000000100000001


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110917/dad3d4e7/attachment.p7s>

Posted on the dev mailing list.