[racket-dev] unexpected SIGBUS!

From: John Clements (clements at brinckerhoff.org)
Date: Fri Sep 16 00:16:19 EDT 2011

Well, I was just typing along, and got a bus error.  Ignore this trace unless it looks interesting.

Also, this is september 3rd, push e4da28e1c00027338eda58cc78885255b9285598, so it may be a fixed issue

John


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

Date/Time:       2011-09-15 21:12:57.701 -0700
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

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

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

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   Racket                        	0x0000000100059ca9 scheme_set_cont_mark + 377
1   Racket                        	0x0000000100264eaa scheme_push_break_enable + 186
2   Racket                        	0x00000001002655d7 do_sync + 1655
3   ???                           	0x00000001004d2215 0 + 4300022293
4   Racket                        	0x000000010005ce59 scheme_do_eval + 9801
5   Racket                        	0x0000000100070d94 force_values + 292
6   Racket                        	0x000000010007ae72 scheme_force_value_same_mark + 114
7   ???                           	0x00000001004dc719 0 + 4300064537
8   Racket                        	0x000000010005ce59 scheme_do_eval + 9801
9   Racket                        	0x000000010005fb2f _scheme_apply_multi_from_native + 95
10  ???                           	0x00000001004d2142 0 + 4300022082
11  Racket                        	0x000000010005ce59 scheme_do_eval + 9801
12  Racket                        	0x000000010007acf3 apply_k + 179
13  Racket                        	0x000000010007b986 scheme_top_level_do_worker + 1222
14  racket                        	0x00000001000033fe finish_cmd_line_run + 3598
15  racket                        	0x0000000100004051 main_after_stack + 2753
16  Racket                        	0x000000010000d399 scheme_main_stack_setup + 153
17  racket                        	0x0000000100001da4 main + 36
18  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                        	0x0000000100292826 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                        	0x00000001001a4511 mz_proc_thread_signal_worker + 161
3   Racket                        	0x00000001001613b0 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                        	0x00000001001aa251 green_thread_timer + 81
4   Racket                        	0x00000001001613b0 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                        	0x0000000100160d0b mzrt_sema_wait + 59
3   Racket                        	0x0000000100298f06 garbage_collect + 5110
4   Racket                        	0x00000001002634b6 scheme_thread_block + 2150
5   Racket                        	0x0000000100263bfc scheme_block_until + 332
6   Racket                        	0x00000001002653f5 do_sync + 1173
7   ???                           	0x00000001004d2215 0 + 4300022293
8   Racket                        	0x000000010005ce59 scheme_do_eval + 9801
9   Racket                        	0x000000010005fb2f _scheme_apply_multi_from_native + 95
10  ???                           	0x00000001004d2142 0 + 4300022082
11  Racket                        	0x000000010005ce59 scheme_do_eval + 9801
12  Racket                        	0x000000010007acf3 apply_k + 179
13  Racket                        	0x000000010007b986 scheme_top_level_do_worker + 1222
14  Racket                        	0x00000001001a9b4d place_start_proc_after_stack + 1373
15  Racket                        	0x00000001001a9bc4 place_start_proc + 100
16  Racket                        	0x00000001001613b0 mzrt_thread_stub + 96
17  libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
18  libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 7:
0   libSystem.B.dylib             	0x00007fff87bb3a6a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff87bb7881 _pthread_cond_wait + 1286
2   Racket                        	0x00000001001aa294 green_thread_timer + 148
3   Racket                        	0x00000001001613b0 mzrt_thread_stub + 96
4   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
5   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                        	0x00000001001aa08b pt_sema_wait + 43
3   Racket                        	0x00000001001aa0cc do_watch + 28
4   libSystem.B.dylib             	0x00007fff87bb1fd6 _pthread_start + 331
5   libSystem.B.dylib             	0x00007fff87bb1e89 thread_start + 13

Thread 9:  com.apple.coremedia.scheduledfileio
0   libSystem.B.dylib             	0x00007fff87bb3a6a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff87bb7881 _pthread_cond_wait + 1286
2   com.apple.CoreMedia           	0x00007fff81f8c9ad WaitOnCondition + 14
3   com.apple.CoreMedia           	0x00007fff81f8cb79 FigSemaphoreWaitRelative + 167
4   com.apple.CoreMedia           	0x00007fff81f8b123 FigScheduledFileIOThread + 5108
5   com.apple.CoreMedia           	0x00007fff81f8d9b5 figThreadMain + 253
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: 0x0000000102b94028  rbx: 0x0000000000000001  rcx: 0x0000000000000103  rdx: 0x0000000102806a08
  rdi: 0x000000015fcec618  rsi: 0x0000000000000103  rbp: 0x00007fff5fbfdc90  rsp: 0x00007fff5fbfdbc0
   r8: 0x0000000000000060   r9: 0x0000000000000000  r10: 0x0000000000000060  r11: 0x0000000000000003
  r12: 0x0000000100312db8  r13: 0x0000000100332440  r14: 0x0000000000000000  r15: 0x0000000100332440
  rip: 0x0000000100059ca9  rfl: 0x0000000000010206  cr2: 0x0000000102b94028


-------------- 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/20110915/5bf172f4/attachment.p7s>

Posted on the dev mailing list.