Skip to content

Instantly share code, notes, and snippets.

@chuckremes
Created February 2, 2010 16:08
Show Gist options
  • Save chuckremes/292769 to your computer and use it in GitHub Desktop.
Save chuckremes/292769 to your computer and use it in GitHub Desktop.
commit 8852f542
OSX 10.6.2
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
Running "bin/mspec ci -B full" (as run by the "rake" command) generates a SIGSEGV after a "rake clean." Running it a second time (no clean in between) hangs on the "full" mspec run about 2/3 through. A control-c is unable to interrupt it. Running the mspec again with the 'specdoc' format shows the hang occurs after a call into the Resolv specs:
Readline::HISTORY.to_s
- returns 'HISTORY'
Resolv#getaddress
- raises ResolvError given a bogus address
And here's the SIGSEGV from the original run.
cremes$ rake
[snip compilation]
vm/test/runner
bin/mspec ci -B full --background
Error: signal SIGSEGV
0 rbx 0x000000010004c4df _ZN8rubiniusL12segv_handlerEi + 159
1 libSystem.B.dylib 0x00007fff807caeaa _sigtramp + 26
2 ??? 0x0000000101b000d8 0x0 + 4323279064
3 rbx 0x00000001000dd8b8 _ZN8rubinius11LookupTable4Info9auto_markEPNS_6ObjectERNS_10ObjectMarkE + 328
4 rbx 0x000000010013c205 _ZN8rubinius16GarbageCollector11scan_objectEPNS_6ObjectE + 165
5 rbx 0x000000010013d45e _ZN8rubinius7ImmixGC7collectERNS_6GCDataE + 798
6 rbx 0x0000000100068db2 _ZN8rubinius12ObjectMemory14collect_matureERNS_6GCDataE + 50
7 rbx 0x00000001000f6df5 _ZN8rubinius2VM13collect_maybeEPNS_9CallFrameE + 325
8 rbx 0x000000010017d8dc rbx_check_interrupts + 140
9 ??? 0x0000000102f116a6 0x0 + 4344321702
10 ??? 0x000000010968e612 0x0 + 4452836882
11 ??? 0x000000010968e281 0x0 + 4452835969
12 ??? 0x00000001096f59fe 0x0 + 4453259774
13 rbx 0x00000001000fe723 _ZN8rubinius16BlockEnvironment4callEPNS_2VMEPNS_9CallFrameERNS_9ArgumentsEi + 67
14 rbx 0x000000010017e07b rbx_yield_stack + 235
15 ??? 0x0000000102f11687 0x0 + 4344321671
16 ??? 0x00000001096eac8b 0x0 + 4453215371
17 rbx 0x000000010005d61c _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameERNS_9ArgumentsE + 5132
18 rbx 0x00000001000f987d _ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 589
19 rbx 0x000000010005d782 _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameERNS_9ArgumentsE + 5490
20 rbx 0x00000001000f987d _ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 589
21 rbx 0x000000010005d782 _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameERNS_9ArgumentsE + 5490
22 rbx 0x00000001000f94f9 _ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 441
23 rbx 0x0000000100117c31 _ZN8rubinius6Object9send_primEPNS_2VMEPNS_10ExecutableEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 257
24 rbx 0x000000010009b7d8 _ZN8rubinius10Primitives11object_sendEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 120
25 rbx 0x000000010005d6ce _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameERNS_9ArgumentsE + 5310
26 rbx 0x00000001000f987d _ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 589
27 rbx 0x000000010005d782 _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameERNS_9ArgumentsE + 5490
28 rbx 0x00000001000f9cca _ZN8rubinius8VMMethod19execute_specializedINS_14FixedArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 506
29 rbx 0x000000010005d6ce _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameERNS_9ArgumentsE + 5310
30 rbx 0x00000001000f987d _ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 589
31 rbx 0x000000010005d6ce _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameERNS_9ArgumentsE + 5310
rake aborted!
Command failed with status (100): [bin/mspec ci -B full --background...]
/Volumes/calvin/Users/cremes/Documents/development/ruby/rubinius/Rakefile:41
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment