Skip to content

Instantly share code, notes, and snippets.

@jballanc
Created June 27, 2010 22:43
Show Gist options
  • Save jballanc/455234 to your computer and use it in GitHub Desktop.
Save jballanc/455234 to your computer and use it in GitHub Desktop.
jballanc2: Source/Evolver/test ⚡(macruby) > DYLD_LIBRARY_PATH=~/Source/MacRuby gdb -args /usr/bin/macruby ../bin/evolver -n 10000 -f 100 ../environments/cluster_growth_1000.yml
GNU gdb 6.3.50-20050815 (Apple version gdb-1500) (Thu Jun 17 22:17:31 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ...... done
(gdb) r
Starting program: /usr/bin/macruby ../bin/evolver -n 10000 -f 100 ../environments/cluster_growth_1000.yml
Reading symbols for shared libraries +++++................................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Running single threaded
Running synchronous
Running synchronous
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xfffffffbff8827ef
0x00007fff909db502 in _cache_getMethod ()
(gdb) thread apply all bt
Thread 10 (process 12385):
#0 0x00007fff91ab417e in __workq_kernreturn ()
#1 0x00007fff91ab448d in _pthread_wqthread ()
#2 0x00007fff91ab4195 in start_wqthread ()
Thread 9 (process 12385):
#0 0x00007fff91ab417e in __workq_kernreturn ()
#1 0x00007fff91ab448d in _pthread_wqthread ()
#2 0x00007fff91ab4195 in start_wqthread ()
Thread 8 (process 12385):
#0 0x00007fff91ab417e in __workq_kernreturn ()
#1 0x00007fff91ab448d in _pthread_wqthread ()
#2 0x00007fff91ab4195 in start_wqthread ()
Thread 7 (process 12385):
#0 0x00007fff91ab417e in __workq_kernreturn ()
#1 0x00007fff91ab448d in _pthread_wqthread ()
#2 0x00007fff91ab4195 in start_wqthread ()
Thread 6 (process 12385):
#0 0x00007fff91ab417e in __workq_kernreturn ()
#1 0x00007fff91ab448d in _pthread_wqthread ()
#2 0x00007fff91ab4195 in start_wqthread ()
Thread 5 (process 12385):
#0 0x00007fff91ab417e in __workq_kernreturn ()
#1 0x00007fff91ab448d in _pthread_wqthread ()
#2 0x00007fff91ab4195 in start_wqthread ()
Thread 4 (process 12385):
#0 0x00007fff91ab417e in __workq_kernreturn ()
#1 0x00007fff91ab448d in _pthread_wqthread ()
#2 0x00007fff91ab4195 in start_wqthread ()
Thread 3 (process 12385):
#0 0x00007fff91ab378e in kevent ()
#1 0x00007fff8c3b018e in _dispatch_mgr_invoke ()
#2 0x00007fff8c3b10f8 in _dispatch_queue_invoke ()
#3 0x00007fff8c3b07da in _dispatch_worker_thread2 ()
#4 0x00007fff91ab42d3 in _pthread_wqthread ()
#5 0x00007fff91ab4195 in start_wqthread ()
Thread 2 (process 12385):
#0 0x00007fff91ab4188 in start_wqthread ()
#1 0x0000000000000000 in ?? ()
Thread 1 (process 12385):
#0 0x00007fff909db502 in _cache_getMethod ()
#1 0x00007fff909daf51 in look_up_method ()
#2 0x000000010012e41c in rb_vm_dispatch (_vm=0x100a177e0, cache=0x40077d7a0, top=0, self=64, klass=0xfffffffbff8827df, sel=0x1040ef520, block=0x0, opt=2 '\002', argc=0, argv=0x0) at dispatcher.cpp:602
#3 0x0000000100131578 in rb_vm_block_eval (b=0x40077d1c0, argc=0, argv=0x0) at dispatcher.cpp:1159
#4 0x000000010012fde9 in rb_vm_dispatch (_vm=0x100a177e0, cache=0x100bde1c0, top=17187764864, self=17187732448, klass=0x4003102a0, sel=0x7fff8ecf36e0, block=0x0, opt=0 '\0', argc=0, argv=0x0) at dispatcher.cpp:435
#5 0x0000000100e84210 in ?? ()
#6 0x0000000100e94af7 in ?? ()
#7 0x000000010012fd46 in rb_vm_dispatch (_vm=0x100a177e0, cache=0x100beb630, top=17187644704, self=17187764864, klass=0x400311600, sel=0x7fff895ec9e1, block=0x0, opt=0 '\0', argc=<value temporarily unavailable, due to optimizations>, argv=0x0) at dispatcher.cpp:159
#8 0x0000000100e84210 in ?? ()
#9 0x0000000100e95c8b in ?? ()
#10 0x00000001001316f8 in rb_vm_block_eval (b=0x100a177e0, argc=<value temporarily unavailable, due to optimizations>, argv=0x0) at dispatcher.cpp:100
#11 0x000000010013feaa in rb_rescue2 (b_proc=<value temporarily unavailable, due to optimizations>, data1=<value temporarily unavailable, due to optimizations>, r_proc=0x1000e9d90 <rb_block_rescue>, data2=4301903528) at vm.cpp:3363
#12 0x00000001000ea651 in rb_block_applier (data=<value temporarily unavailable, due to optimizations>, ii=1) at gcd.c:483
#13 0x00007fff8c3b2971 in _dispatch_apply2 ()
#14 0x00007fff8c3b2b1e in dispatch_apply_f ()
#15 0x00000001000ea995 in rb_objc_release [inlined] () at /Volumes/Data/Users/joshua1/Source/MacRuby/include/ruby/ruby.h:513
#16 0x00000001000ea995 in rb_queue_apply (self=<value temporarily unavailable, due to optimizations>, sel=<value temporarily unavailable, due to optimizations>, n=41) at gcd.c:516
#17 0x000000010012fd2b in rb_vm_dispatch (_vm=0x100a177e0, cache=0x100bf6c40, top=17187644704, self=17184816672, klass=0x400315580, sel=0x7fff8a0be45c, block=0x400786dc0, opt=0 '\0', argc=<value temporarily unavailable, due to optimizations>, argv=0x7fff5fbfa600) at dispatcher.cpp:161
#18 0x0000000100e84210 in ?? ()
#19 0x0000000100e943a7 in ?? ()
#20 0x000000010012fd2b in rb_vm_dispatch (_vm=0x100a177e0, cache=0x100bcf2b0, top=17187644704, self=17187644704, klass=0x4003142c0, sel=0x7fff895ec9e1, block=0x0, opt=1 '\001', argc=<value temporarily unavailable, due to optimizations>, argv=0x7fff5fbfa7a0) at dispatcher.cpp:161
#21 0x0000000100e84210 in ?? ()
#22 0x0000000100e95b84 in ?? ()
#23 0x0000000100132903 in rb_vm_yield_args (_vm=0x100a177e0, argc=<value temporarily unavailable, due to optimizations>, argv=0x4003142c0) at dispatcher.cpp:98
#24 0x00000001000ed3a8 in rb_yield (val=5) at vm_eval.c:196
#25 0x0000000100052821 in int_dotimes (num=397, sel=<value temporarily unavailable, due to optimizations>) at numeric.c:3226
#26 0x000000010012fd46 in rb_vm_dispatch (_vm=0x100a177e0, cache=0x100be2cc0, top=17187644704, self=397, klass=0x40030c720, sel=0x100acc0a0, block=0x400786e20, opt=0 '\0', argc=<value temporarily unavailable, due to optimizations>, argv=0x0) at dispatcher.cpp:159
#27 0x0000000100e84210 in ?? ()
#28 0x0000000100e8e2b1 in ?? ()
#29 0x000000010012fd2b in rb_vm_dispatch (_vm=0x100a177e0, cache=0x100bcf280, top=17184164256, self=17187644704, klass=0x4003142c0, sel=0x7fff8b56d9e0, block=0x0, opt=0 '\0', argc=<value temporarily unavailable, due to optimizations>, argv=0x7fff5fbfd350) at dispatcher.cpp:161
#30 0x0000000100e84210 in ?? ()
#31 0x0000000100e8e9ea in ?? ()
#32 0x000000010012fd05 in rb_vm_dispatch (_vm=0x100a177e0, cache=0x100bf9640, top=17184164256, self=17184164256, klass=0x40030b160, sel=0x7fff8b56d9e0, block=0x0, opt=2 '\002', argc=<value temporarily unavailable, due to optimizations>, argv=0x7fff5fbfe0e0) at dispatcher.cpp:163
#33 0x0000000100e84210 in ?? ()
#34 0x0000000100e8e128 in ?? ()
#35 0x00000001001328e7 in rb_vm_yield_args (_vm=0x100a177e0, argc=<value temporarily unavailable, due to optimizations>, argv=0x40030b160) at dispatcher.cpp:100
#36 0x00000001000ed3a8 in rb_yield (val=17187324512) at vm_eval.c:196
#37 0x00000001000056dd in rary_each (ary=17187276992, sel=<value temporarily unavailable, due to optimizations>) at array.c:1064
#38 0x000000010012fd46 in rb_vm_dispatch (_vm=0x100a177e0, cache=0x100beecc0, top=17184164256, self=17187276992, klass=0x40030efa0, sel=0x100a201b0, block=0x4004feb00, opt=0 '\0', argc=<value temporarily unavailable, due to optimizations>, argv=0x0) at dispatcher.cpp:159
#39 0x0000000100e84210 in ?? ()
#40 0x0000000100e83788 in ?? ()
#41 0x000000010013c228 in rb_vm_run (fname=<value temporarily unavailable, due to optimizations>, node=0x4004eb160, binding=<value temporarily unavailable, due to optimizations>, inside_eval=false) at vm.cpp:3789
#42 0x0000000100030330 in ruby_run_node (n=0x4004eb160) at eval.c:211
#43 0x0000000100000cf8 in main ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment