Segfault when profiling objects #46

Closed
agrimm opened this Issue Jun 11, 2012 · 7 comments

Comments

Projects
None yet
5 participants

agrimm commented Jun 11, 2012

I get a segfault when profiling objects on Ubuntu 12.04 (Precise Pangolin) when using Ruby 1.9.3 patchlevel 0.

If there's any additional information you'd like, please let me know. I don't know how to debug segfaults.

$ uname -a
Linux [redacted] 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ ruby1.9.1 --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

$ CPUPROFILE_OBJECTS=1 CPUPROFILE=/tmp/my_app_profile_objects RUBYOPT="-r`gem1.9.1 which perftools | tail -1`" ruby1.9.1 -e '[].map'
-e:1: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC  :map
c:0003 p:0010 s:0006 b:0006 l:0011f8 d:0002f8 EVAL   -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0011f8 d:0011f8 TOP   

-- Ruby level backtrace information ----------------------------------------
-e:1:in `<main>'
-e:1:in `map'

-- C level backtrace information -------------------------------------------
/usr/lib/libruby-1.9.1.so.1.9(+0x155b29) [0x7fd39f1dab29] ../sysdeps/x86_64/multiarch/strcpy-ssse3.S:1638
/usr/lib/libruby-1.9.1.so.1.9(+0x57709) [0x7fd39f0dc709] vfscanf.c:1777
/usr/lib/libruby-1.9.1.so.1.9(rb_bug+0xb7) [0x7fd39f0dd137] vfscanf.c:1796
/usr/lib/libruby-1.9.1.so.1.9(+0xf604f) [0x7fd39f17b04f] wcfuncs.c:49
/lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7fd39ecfe4c0] ../sysdeps/posix/killpg.c:38
/usr/lib/libruby-1.9.1.so.1.9(rb_check_type+0xd8) [0x7fd39f0de7e8] vfscanf.c:1963
/usr/lib/libruby-1.9.1.so.1.9(rb_data_typed_object_alloc+0xad) [0x7fd39f0f340d] iofdopen.c:51
/usr/lib/libruby-1.9.1.so.1.9(+0x54f9f) [0x7fd39f0d9f9f] vfscanf.c:2014
/usr/lib/libruby-1.9.1.so.1.9(rb_enumeratorize+0x33) [0x7fd39f0dae33] vfscanf.c:2373
/usr/lib/libruby-1.9.1.so.1.9(+0x14e9a1) [0x7fd39f1d39a1] ../sysdeps/x86_64/multiarch/../strcmp.S:293
/usr/lib/libruby-1.9.1.so.1.9(+0x145912) [0x7fd39f1ca912] ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2001
/usr/lib/libruby-1.9.1.so.1.9(+0x14b31d) [0x7fd39f1d031d] ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:2032
/usr/lib/libruby-1.9.1.so.1.9(rb_iseq_eval_main+0xaf) [0x7fd39f1d769f] ../sysdeps/x86_64/multiarch/../strcmp.S:1811
/usr/lib/libruby-1.9.1.so.1.9(+0x5b172) [0x7fd39f0e0172] vfscanf.c:1471
/usr/lib/libruby-1.9.1.so.1.9(ruby_exec_node+0x1d) [0x7fd39f0e0c5d] vfscanf.c:2288
/usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x1e) [0x7fd39f0e280e] psiginfo.c:209
ruby1.9.1() [0x4007db]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fd39ece976d] libc-start.c:226
ruby1.9.1() [0x400809]

-- Other runtime information -----------------------------------------------

* Loaded script: -e

* Loaded features:

    0 enumerator.so
    1 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
    2 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
    3 /usr/lib/ruby/1.9.1/rubygems/defaults.rb
    4 /usr/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb
    5 /usr/lib/ruby/1.9.1/rubygems/deprecate.rb
    6 /usr/lib/ruby/1.9.1/rubygems/exceptions.rb
    7 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb
    8 /usr/lib/ruby/1.9.1/rubygems.rb
    9 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so

* Process memory map:

00400000-00401000 r-xp 00000000 08:07 704429                             /usr/bin/ruby1.9.1
00600000-00601000 r--p 00000000 08:07 704429                             /usr/bin/ruby1.9.1
00601000-00602000 rw-p 00001000 08:07 704429                             /usr/bin/ruby1.9.1
01464000-016e4000 rw-p 00000000 00:00 0                                  [heap]
7fd39c3e1000-7fd39cf53000 rw-p 00000000 00:00 0 
7fd39cf53000-7fd39cf68000 r-xp 00000000 08:06 5443                       /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39cf68000-7fd39d167000 ---p 00015000 08:06 5443                       /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d167000-7fd39d168000 r--p 00014000 08:06 5443                       /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d168000-7fd39d169000 rw-p 00015000 08:06 5443                       /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d169000-7fd39d24b000 r-xp 00000000 08:07 137087                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d24b000-7fd39d44a000 ---p 000e2000 08:07 137087                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d44a000-7fd39d452000 r--p 000e1000 08:07 137087                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d452000-7fd39d454000 rw-p 000e9000 08:07 137087                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d454000-7fd39d469000 rw-p 00000000 00:00 0 
7fd39d469000-7fd39d47d000 r-xp 00000000 08:06 144897                     /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d47d000-7fd39d67c000 ---p 00014000 08:06 144897                     /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67c000-7fd39d67d000 r--p 00013000 08:06 144897                     /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67d000-7fd39d67e000 rw-p 00014000 08:06 144897                     /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67e000-7fd39d682000 rw-p 00000000 00:00 0 
7fd39d682000-7fd39d684000 r-xp 00000000 08:07 157727                     /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d684000-7fd39d884000 ---p 00002000 08:07 157727                     /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d884000-7fd39d885000 r--p 00002000 08:07 157727                     /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d885000-7fd39d886000 rw-p 00003000 08:07 157727                     /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d886000-7fd39d888000 r-xp 00000000 08:07 157743                     /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39d888000-7fd39da87000 ---p 00002000 08:07 157743                     /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da87000-7fd39da88000 r--p 00001000 08:07 157743                     /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da88000-7fd39da89000 rw-p 00002000 08:07 157743                     /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da89000-7fd39e16c000 r--p 00000000 08:07 134744                     /usr/lib/locale/locale-archive
7fd39e16c000-7fd39e265000 r-xp 00000000 08:06 5454                       /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e265000-7fd39e464000 ---p 000f9000 08:06 5454                       /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e464000-7fd39e465000 r--p 000f8000 08:06 5454                       /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e465000-7fd39e466000 rw-p 000f9000 08:06 5454                       /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e466000-7fd39e46f000 r-xp 00000000 08:06 5430                       /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e46f000-7fd39e66f000 ---p 00009000 08:06 5430                       /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e66f000-7fd39e670000 r--p 00009000 08:06 5430                       /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e670000-7fd39e671000 rw-p 0000a000 08:06 5430                       /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e671000-7fd39e69f000 rw-p 00000000 00:00 0 
7fd39e69f000-7fd39e6a1000 r-xp 00000000 08:06 5435                       /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e6a1000-7fd39e8a1000 ---p 00002000 08:06 5435                       /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a1000-7fd39e8a2000 r--p 00002000 08:06 5435                       /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a2000-7fd39e8a3000 rw-p 00003000 08:06 5435                       /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a3000-7fd39e8aa000 r-xp 00000000 08:06 5508                       /lib/x86_64-linux-gnu/librt-2.15.so
7fd39e8aa000-7fd39eaa9000 ---p 00007000 08:06 5508                       /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaa9000-7fd39eaaa000 r--p 00006000 08:06 5508                       /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaaa000-7fd39eaab000 rw-p 00007000 08:06 5508                       /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaab000-7fd39eac3000 r-xp 00000000 08:06 5502                       /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39eac3000-7fd39ecc2000 ---p 00018000 08:06 5502                       /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc2000-7fd39ecc3000 r--p 00017000 08:06 5502                       /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc3000-7fd39ecc4000 rw-p 00018000 08:06 5502                       /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc4000-7fd39ecc8000 rw-p 00000000 00:00 0 
7fd39ecc8000-7fd39ee7b000 r-xp 00000000 08:06 5422                       /lib/x86_64-linux-gnu/libc-2.15.so
7fd39ee7b000-7fd39f07a000 ---p 001b3000 08:06 5422                       /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f07a000-7fd39f07e000 r--p 001b2000 08:06 5422                       /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f07e000-7fd39f080000 rw-p 001b6000 08:06 5422                       /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f080000-7fd39f085000 rw-p 00000000 00:00 0 
7fd39f085000-7fd39f0f0000 r-xp 00000000 08:07 158047                     /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f0f0000-7fd39f0f3000 rwxp 0006b000 08:07 158047                     /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f0f3000-7fd39f275000 r-xp 0006e000 08:07 158047                     /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f275000-7fd39f474000 ---p 001f0000 08:07 158047                     /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f474000-7fd39f479000 r--p 001ef000 08:07 158047                     /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f479000-7fd39f47d000 rw-p 001f4000 08:07 158047                     /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f47d000-7fd39f499000 rw-p 00000000 00:00 0 
7fd39f499000-7fd39f4bb000 r-xp 00000000 08:06 5402                       /lib/x86_64-linux-gnu/ld-2.15.so
7fd39f59b000-7fd39f6a1000 rw-p 00000000 00:00 0 
7fd39f6b4000-7fd39f6b5000 rw-p 00000000 00:00 0 
7fd39f6b5000-7fd39f6b6000 ---p 00000000 00:00 0 
7fd39f6b6000-7fd39f6bb000 rw-p 00000000 00:00 0 
7fd39f6bb000-7fd39f6bc000 r--p 00022000 08:06 5402                       /lib/x86_64-linux-gnu/ld-2.15.so
7fd39f6bc000-7fd39f6be000 rw-p 00023000 08:06 5402                       /lib/x86_64-linux-gnu/ld-2.15.so
7fff507f8000-7fff50819000 rw-p 00000000 00:00 0                          [stack]
7fff50941000-7fff50942000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Aborted (core dumped)

agrimm commented Jun 19, 2012

The following is what I get using gdb on a core dump:

$ gdb ruby1.9.1 core 
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/ruby1.9.1...Reading symbols from /usr/lib/debug/usr/bin/ruby1.9.1...done.
done.
[New LWP 5071]
[New LWP 5072]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `ruby1.9.1 crashme.rb'.
Program terminated with signal 6, Aborted.
#0  0x00007f8bd9ccf445 in __GI_raise (sig=<optimised out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f8bd9ccf445 in __GI_raise (sig=<optimised out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f8bd9cd2bab in __GI_abort () at abort.c:91
#2  0x00007f8bda0ae13c in rb_bug (fmt=0x7f8bda1d6e72 "Segmentation fault") at error.c:284
#3  0x00007f8bda14c04f in sigsegv (sig=<optimised out>, info=<optimised out>, ctx=<optimised out>) at signal.c:609
#4  <signal handler called>
#5  rb_type (obj=140733222180592) at ./include/ruby/ruby.h:1328
#6  rb_check_type (x=140733222180592, t=2) at error.c:385
#7  0x00007f8bda0c440d in rb_data_typed_object_alloc (klass=140733222180592, datap=0x1d84940, type=0x7f8bda445fc0) at gc.c:1228
#8  0x00007f8bda0aaf9f in enumerator_allocate (klass=28792560) at enumerator.c:219
#9  0x00007f8bda0abe33 in rb_enumeratorize (obj=28673280, meth=401422, argc=0, argv=0x0) at enumerator.c:335
#10 0x00007f8bda1a49a1 in vm_call_cfunc (me=0x1be5b20, blockptr=0x0, recv=<optimised out>, num=0, reg_cfp=0x7f8bda66bf08, th=<optimised out>) at vm_insnhelper.c:404
#11 vm_call_method (th=<optimised out>, cfp=0x7f8bda66bf08, num=<optimised out>, blockptr=0x0, flag=<optimised out>, id=<optimised out>, me=0x1be5b20, recv=28673280)
    at vm_insnhelper.c:534
#12 0x00007f8bda19b912 in vm_exec_core (th=<optimised out>, initial=<optimised out>) at insns.def:1015
#13 0x00007f8bda1a131d in vm_exec (th=0x1b21520) at vm.c:1220
#14 0x00007f8bda1a869f in rb_iseq_eval_main (iseqval=28674040) at vm.c:1461
#15 0x00007f8bda0b1172 in ruby_exec_internal (n=0x1b587f8) at eval.c:204
#16 0x00007f8bda0b1c5d in ruby_exec_node (n=0x1b587f8) at eval.c:251
#17 0x00007f8bda0b380e in ruby_run_node (n=0x1b587f8) at eval.c:244
#18 0x00000000004007db in main (argc=2, argv=0x7fff7aba3c98) at main.c:38

I’m also getting this crash.

I'm also getting a segfault when profiling objects (CPUPROFILE_OBJECTS=1), using Ruby 1.9.3-p194 on Linux Mate 13. The backtrace looks different from the one @agrimm was getting, though:

alex@Alex-ThinkPad ~/Programming/Ruby/pdf-reader $ ruby tools/bench.rb
tools/bench.rb:15: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0006 p:0019 s:0016 b:0014 l:001608 d:000013 BLOCK  tools/bench.rb:15
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :start
c:0003 p:0056 s:0006 b:0006 l:001608 d:0003a8 EVAL   tools/bench.rb:14
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001608 d:001608 TOP   

-- Ruby level backtrace information ----------------------------------------
tools/bench.rb:14:in `<main>'
tools/bench.rb:14:in `start'
tools/bench.rb:15:in `block in <main>'

-- C level backtrace information -------------------------------------------
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x17c1e5) [0x7f41cae791e5] vm_dump.c:796
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x5d13b) [0x7f41cad5a13b] isoc99_vscanf.c:31
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(rb_bug+0xb7) [0x7f41cad5afe7] vfprintf.c:1310
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x11081f) [0x7f41cae0d81f] getnetgrent_r.c:497
/lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7f41ca9764c0] ../sysdeps/posix/killpg.c:38
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(rb_check_type+0xd8) [0x7f41cad5c7c8] vfprintf.c:1986
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(rb_data_typed_object_alloc+0xad) [0x7f41cad7599d] wprintf.c:34
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x169659) [0x7f41cae66659] vm.c:303
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x1699cd) [0x7f41cae669cd] vm.c:555
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x28147) [0x7f41cad25147] ../iconv/loop.c:332
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x17424e) [0x7f41cae7124e] vm_insnhelper.c:470
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x175b7c) [0x7f41cae72b7c] vm_insnhelper.c:529
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x16b609) [0x7f41cae68609] insns.def:1015
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x171a9a) [0x7f41cae6ea9a] vm.c:1220
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(rb_yield+0x47) [0x7f41cae740a7] vm.c:654
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/perftools.rb-2.0.0/lib/perftools.so(+0x939a) [0x7f41c820039a]     perftools.c:274
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x175941) [0x7f41cae72941] vm_insnhelper.c:404
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x16b609) [0x7f41cae68609] insns.def:1015
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x171a9a) [0x7f41cae6ea9a] vm.c:1220
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(rb_iseq_eval_main+0xae) [0x7f41cae74c4e] vm.c:1461
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x62e62) [0x7f41cad5fe62] vfprintf.c:1623
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(ruby_exec_node+0x1d) [0x7f41cad60c0d] vfprintf.c:1986
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(ruby_run_node+0x1e) [0x7f41cad62cae] vfscanf.c:2450
ruby() [0x4007fb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f41ca96176d] libc-start.c:226
ruby() [0x400829]

-- Other runtime information -----------------------------------------------

* Loaded script: tools/bench.rb

* Loaded features:

0 enumerator.so
1 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
2 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
3 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
4 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb
5 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
6 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
7 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
8 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems.rb
9 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/stringio.so
10 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/resource_methods.rb
11 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/abstract_strategy.rb
12 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/buffer.rb
13 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/cmap.rb
14 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/encoding.rb
15 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/error.rb
16 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/filter.rb
17 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/version.rb
18 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb
19 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb
20 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
21 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb
22 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb
23 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/Ascii85-1.0.1/lib/ascii85.rb
24 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/filter/ascii85.rb
25 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/filter/ascii_hex.rb
26 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/filter/depredict.rb
27 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/zlib.so
28 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/filter/flate.rb
29 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/filter/lzw.rb
30 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/filter/null.rb
31 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/filter/run_length.rb
32 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/font.rb
33 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
34 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/digest.rb
35 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
36 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/form_xobject.rb
37 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/glyph_hash.rb
38 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/lzw.rb
39 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/metadata_strategy.rb
40 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/core_ext.rb
41 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/crud_hash.rb
42 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/casting_hash.rb
43 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/dictionary.rb
44 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/set.rb
45 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/fuzzy_hash.rb
46 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/ini_hash.rb
47 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/linked_list.rb
48 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/lru_hash.rb
49 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/key_hash.rb
50 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/open_hash.rb
51 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/open_cascade.rb
52 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/property_hash.rb
53 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/query_hash.rb
54 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery/static_hash.rb
55 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/hashery-2.0.1/lib/hashery.rb
56 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/object_cache.rb
57 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/object_hash.rb
58 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/object_stream.rb
59 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/pages_strategy.rb
60 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/parser.rb
61 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/print_receiver.rb
62 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/reference.rb
63 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/register_receiver.rb
64 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/ruby-rc4-0.1.5/lib/rc4.rb
65 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/standard_security_handler.rb
66 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/stream.rb
67 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/text_receiver.rb
68 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/page_state.rb
69 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/e2mmap.rb
70 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/matrix.rb
71 /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/forwardable.rb
72 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/page_text_receiver.rb
73 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/token.rb
74 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/xref.rb
75 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader/page.rb
76 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/hash.rb
77 /home/alex/Programming/Ruby/pdf-reader/lib/pdf/reader.rb
78 /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/perftools.rb-2.0.0/lib/perftools.so

* Process memory map:

00400000-00401000 r-xp 00000000 00:14 10884299                           /home/alex/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
00600000-00601000 r--p 00000000 00:14 10884299                           /home/alex/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
00601000-00602000 rw-p 00001000 00:14 10884299                           /home/alex/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
006f9000-00e74000 rw-p 00000000 00:00 0                                  [heap]
7f41c716f000-7f41c7ce1000 rw-p 00000000 00:00 0 
7f41c7ce1000-7f41c7cf6000 r-xp 00000000 08:01 17305099                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f41c7cf6000-7f41c7ef5000 ---p 00015000 08:01 17305099                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f41c7ef5000-7f41c7ef6000 r--p 00014000 08:01 17305099                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f41c7ef6000-7f41c7ef7000 rw-p 00015000 08:01 17305099                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f41c7ef7000-7f41c7fd9000 r-xp 00000000 08:01 18489276                   /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f41c7fd9000-7f41c81d8000 ---p 000e2000 08:01 18489276                   /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f41c81d8000-7f41c81e0000 r--p 000e1000 08:01 18489276                   /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f41c81e0000-7f41c81e2000 rw-p 000e9000 08:01 18489276                   /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f41c81e2000-7f41c81f7000 rw-p 00000000 00:00 0 
7f41c81f7000-7f41c820b000 r-xp 00000000 00:14 13637898                   /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/perftools.rb-2.0.0/lib/perftools.so
7f41c820b000-7f41c840a000 ---p 00014000 00:14 13637898                   /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/perftools.rb-2.0.0/lib/perftools.so
7f41c840a000-7f41c840b000 r--p 00013000 00:14 13637898                   /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/perftools.rb-2.0.0/lib/perftools.so
7f41c840b000-7f41c840c000 rw-p 00014000 00:14 13637898                   /home/alex/.rvm/gems/ruby-1.9.3-p194/gems/perftools.rb-2.0.0/lib/perftools.so
7f41c840c000-7f41c8410000 rw-p 00000000 00:00 0 
7f41c8410000-7f41c8413000 r-xp 00000000 00:14 10884975                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
7f41c8413000-7f41c8612000 ---p 00003000 00:14 10884975                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
7f41c8612000-7f41c8613000 r--p 00002000 00:14 10884975                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
7f41c8613000-7f41c8614000 rw-p 00003000 00:14 10884975                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
7f41c8614000-7f41c87b3000 r-xp 00000000 08:01 17301526                   /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f41c87b3000-7f41c89b2000 ---p 0019f000 08:01 17301526                   /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f41c89b2000-7f41c89cd000 r--p 0019e000 08:01 17301526                   /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f41c89cd000-7f41c89d8000 rw-p 001b9000 08:01 17301526                   /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f41c89d8000-7f41c89dc000 rw-p 00000000 00:00 0 
7f41c89dc000-7f41c89dd000 r-xp 00000000 00:14 10884967                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7f41c89dd000-7f41c8bdc000 ---p 00001000 00:14 10884967                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7f41c8bdc000-7f41c8bdd000 r--p 00000000 00:14 10884967                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7f41c8bdd000-7f41c8bde000 rw-p 00001000 00:14 10884967                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7f41c8bde000-7f41c8bf4000 r-xp 00000000 08:01 17305189                   /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f41c8bf4000-7f41c8df3000 ---p 00016000 08:01 17305189                   /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f41c8df3000-7f41c8df4000 r--p 00015000 08:01 17305189                   /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f41c8df4000-7f41c8df5000 rw-p 00016000 08:01 17305189                   /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f41c8df5000-7f41c8e03000 r-xp 00000000 00:14 10884957                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/zlib.so
7f41c8e03000-7f41c9002000 ---p 0000e000 00:14 10884957                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/zlib.so
7f41c9002000-7f41c9003000 r--p 0000d000 00:14 10884957                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/zlib.so
7f41c9003000-7f41c9004000 rw-p 0000e000 00:14 10884957                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/zlib.so
7f41c9004000-7f41c900b000 r-xp 00000000 00:14 10884959                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/stringio.so
7f41c900b000-7f41c920a000 ---p 00007000 00:14 10884959                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/stringio.so
7f41c920a000-7f41c920b000 r--p 00006000 00:14 10884959                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/stringio.so
7f41c920b000-7f41c920c000 rw-p 00007000 00:14 10884959                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/stringio.so
7f41c920c000-7f41c920e000 r-xp 00000000 00:14 10885025                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f41c920e000-7f41c940e000 ---p 00002000 00:14 10885025                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f41c940e000-7f41c940f000 r--p 00002000 00:14 10885025                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f41c940f000-7f41c9410000 rw-p 00003000 00:14 10885025                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f41c9410000-7f41c9412000 r-xp 00000000 00:14 10885029                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f41c9412000-7f41c9611000 ---p 00002000 00:14 10885029                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f41c9611000-7f41c9612000 r--p 00001000 00:14 10885029                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f41c9612000-7f41c9613000 rw-p 00002000 00:14 10885029                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f41c9613000-7f41c9de4000 r--p 00000000 08:01 18487898                   /usr/lib/locale/locale-archive
7f41c9de4000-7f41c9edd000 r-xp 00000000 08:01 17305110                   /lib/x86_64-linux-gnu/libm-2.15.so
7f41c9edd000-7f41ca0dc000 ---p 000f9000 08:01 17305110                   /lib/x86_64-linux-gnu/libm-2.15.so
7f41ca0dc000-7f41ca0dd000 r--p 000f8000 08:01 17305110                   /lib/x86_64-linux-gnu/libm-2.15.so
7f41ca0dd000-7f41ca0de000 rw-p 000f9000 08:01 17305110                   /lib/x86_64-linux-gnu/libm-2.15.so
7f41ca0de000-7f41ca0e7000 r-xp 00000000 08:01 17305086                   /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f41ca0e7000-7f41ca2e7000 ---p 00009000 08:01 17305086                   /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f41ca2e7000-7f41ca2e8000 r--p 00009000 08:01 17305086                   /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f41ca2e8000-7f41ca2e9000 rw-p 0000a000 08:01 17305086                   /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f41ca2e9000-7f41ca317000 rw-p 00000000 00:00 0 
7f41ca317000-7f41ca319000 r-xp 00000000 08:01 17305091                   /lib/x86_64-linux-gnu/libdl-2.15.so
7f41ca319000-7f41ca519000 ---p 00002000 08:01 17305091                   /lib/x86_64-linux-gnu/libdl-2.15.so
7f41ca519000-7f41ca51a000 r--p 00002000 08:01 17305091                   /lib/x86_64-linux-gnu/libdl-2.15.so
7f41ca51a000-7f41ca51b000 rw-p 00003000 08:01 17305091                   /lib/x86_64-linux-gnu/libdl-2.15.so
7f41ca51b000-7f41ca522000 r-xp 00000000 08:01 17305164                   /lib/x86_64-linux-gnu/librt-2.15.so
7f41ca522000-7f41ca721000 ---p 00007000 08:01 17305164                   /lib/x86_64-linux-gnu/librt-2.15.so
7f41ca721000-7f41ca722000 r--p 00006000 08:01 17305164                   /lib/x86_64-linux-gnu/librt-2.15.so
7f41ca722000-7f41ca723000 rw-p 00007000 08:01 17305164                   /lib/x86_64-linux-gnu/librt-2.15.so
7f41ca723000-7f41ca73b000 r-xp 00000000 08:01 17305158                   /lib/x86_64-linux-gnu/libpthread-2.15.so
7f41ca73b000-7f41ca93a000 ---p 00018000 08:01 17305158                   /lib/x86_64-linux-gnu/libpthread-2.15.so
7f41ca93a000-7f41ca93b000 r--p 00017000 08:01 17305158                   /lib/x86_64-linux-gnu/libpthread-2.15.so
7f41ca93b000-7f41ca93c000 rw-p 00018000 08:01 17305158                   /lib/x86_64-linux-gnu/libpthread-2.15.so
7f41ca93c000-7f41ca940000 rw-p 00000000 00:00 0 
7f41ca940000-7f41caaf3000 r-xp 00000000 08:01 17305078                   /lib/x86_64-linux-gnu/libc-2.15.so
7f41caaf3000-7f41cacf2000 ---p 001b3000 08:01 17305078                   /lib/x86_64-linux-gnu/libc-2.15.so
7f41cacf2000-7f41cacf6000 r--p 001b2000 08:01 17305078                   /lib/x86_64-linux-gnu/libc-2.15.so
7f41cacf6000-7f41cacf8000 rw-p 001b6000 08:01 17305078                   /lib/x86_64-linux-gnu/libc-2.15.so
7f41cacf8000-7f41cacfd000 rw-p 00000000 00:00 0 
7f41cacfd000-7f41cad70000 r-xp 00000000 00:14 10884301                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7f41cad70000-7f41cad76000 rwxp 00073000 00:14 10884301                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7f41cad76000-7f41caf15000 r-xp 00079000 00:14 10884301                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7f41caf15000-7f41cb114000 ---p 00218000 00:14 10884301                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7f41cb114000-7f41cb119000 r--p 00217000 00:14 10884301                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7f41cb119000-7f41cb11d000 rw-p 0021c000 00:14 10884301                   /home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7f41cb11d000-7f41cb139000 rw-p 00000000 00:00 0 
7f41cb139000-7f41cb15b000 r-xp 00000000 08:01 17305058                   /lib/x86_64-linux-gnu/ld-2.15.so
7f41cb235000-7f41cb33b000 rw-p 00000000 00:00 0 
7f41cb354000-7f41cb355000 rw-p 00000000 00:00 0 
7f41cb355000-7f41cb356000 ---p 00000000 00:00 0 
7f41cb356000-7f41cb35b000 rw-p 00000000 00:00 0 
7f41cb35b000-7f41cb35c000 r--p 00022000 08:01 17305058                   /lib/x86_64-linux-gnu/ld-2.15.so
7f41cb35c000-7f41cb35e000 rw-p 00023000 08:01 17305058                   /lib/x86_64-linux-gnu/ld-2.15.so
7fffd66a2000-7fffd66c3000 rw-p 00000000 00:00 0                          [stack]
7fffd67ec000-7fffd67ed000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

agrimm commented Dec 21, 2012

How to replicate with an open source project:

Last login: Fri Dec 21 17:23:59 on ttys008
Andrew-Grimms-MacBook-Pro:~ agrimm$ rbenv shell 1.9.3-p327 
Andrew-Grimms-MacBook-Pro:~ agrimm$ cd ruby/wip/
Andrew-Grimms-MacBook-Pro:wip agrimm$ ls
bioruby_perftool_target         lack_of_segfault_replication_20121221   lcthw                   perftools.rb                valgrind_build
Andrew-Grimms-MacBook-Pro:wip agrimm$ cd lack_of_segfault_replication_20121221/
Andrew-Grimms-MacBook-Pro:lack_of_segfault_replication_20121221 agrimm$ ls
bioruby_segfault_replication_20121221   ruby-build
Andrew-Grimms-MacBook-Pro:lack_of_segfault_replication_20121221 agrimm$ cd ..
Andrew-Grimms-MacBook-Pro:wip agrimm$ mkdir perftools_replication_20121221
Andrew-Grimms-MacBook-Pro:wip agrimm$ cd perftools_replication_20121221/
Andrew-Grimms-MacBook-Pro:perftools_replication_20121221 agrimm$ git clone git://github.com/bioruby/bioruby.git
Cloning into 'bioruby'...
remote: Counting objects: 18756, done.
remote: Compressing objects: 100% (6364/6364), done.
remote: Total 18756 (delta 11683), reused 18382 (delta 11377)
Receiving objects: 100% (18756/18756), 4.82 MiB | 246 KiB/s, done.
Resolving deltas: 100% (11683/11683), done.
Andrew-Grimms-MacBook-Pro:perftools_replication_20121221 agrimm$ export CPUPROFILE_OBJECTS=1 
Andrew-Grimms-MacBook-Pro:perftools_replication_20121221 agrimm$ export CPUPROFILE=/tmp/my_app_profile_objects 
Andrew-Grimms-MacBook-Pro:perftools_replication_20121221 agrimm$ export RUBYOPT="-r`gem which perftools | tail -1`"
Andrew-Grimms-MacBook-Pro:perftools_replication_20121221 agrimm$ cd bioruby
Andrew-Grimms-MacBook-Pro:bioruby agrimm$ ruby test/functional/bio/test_command.rb
Run options: 

# Running tests:

.../Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb:312: [BUG] Segmentation fault
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin10.8.0]

-- Control frame information -----------------------------------------------
c:0028 p:---- s:0118 b:0118 l:000117 d:000117 CFUNC  :popen
c:0027 p:0070 s:0113 b:0113 l:000112 d:000112 METHOD /Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb:312
c:0026 p:0068 s:0106 b:0106 l:000105 d:000105 METHOD /Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb:240
c:0025 p:0036 s:0100 b:0100 l:000099 d:000099 METHOD /Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb:198
c:0024 p:0022 s:0094 b:0094 l:0026c0 d:0026c0 METHOD test/functional/bio/test_command.rb:44
c:0023 p:0073 s:0090 b:0090 l:0018b0 d:0018b0 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:949
c:0022 p:0025 s:0084 b:0084 l:000083 d:000083 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit/testcase.rb:17
c:0021 p:0090 s:0080 b:0080 l:000068 d:000079 BLOCK  /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:787
c:0020 p:---- s:0074 b:0074 l:000073 d:000073 FINISH
c:0019 p:---- s:0072 b:0072 l:000071 d:000071 CFUNC  :map
c:0018 p:0124 s:0069 b:0069 l:000068 d:000068 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:780
c:0017 p:0020 s:0061 b:0060 l:000050 d:000059 BLOCK  /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:565
c:0016 p:---- s:0056 b:0056 l:000055 d:000055 FINISH
c:0015 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC  :each
c:0014 p:0053 s:0051 b:0051 l:000050 d:000050 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:563
c:0013 p:0189 s:0045 b:0045 l:000044 d:000044 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:746
c:0012 p:0013 s:0035 b:0035 l:000034 d:000034 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:909
c:0011 p:0012 s:0032 b:0032 l:000023 d:000031 BLOCK  /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:896
c:0010 p:---- s:0029 b:0029 l:000028 d:000028 FINISH
c:0009 p:---- s:0027 b:0027 l:000026 d:000026 CFUNC  :each
c:0008 p:0068 s:0024 b:0024 l:000023 d:000023 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:895
c:0007 p:0029 s:0020 b:0020 l:000019 d:000019 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:884
c:0006 p:0022 s:0016 b:0016 l:000015 d:000015 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:21
c:0005 p:0033 s:0012 b:0011 l:001738 d:000010 BLOCK  /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:326
c:0004 p:0036 s:0009 b:0009 l:000008 d:000008 METHOD /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:27
c:0003 p:0026 s:0006 b:0006 l:001738 d:000005 BLOCK  /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:325
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000208 d:000208 TOP   

-- Ruby level backtrace information ----------------------------------------
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:21:in `run'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:563:in `each'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
/Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
test/functional/bio/test_command.rb:44:in `test_call_command'
/Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb:198:in `call_command'
/Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb:240:in `call_command_popen'
/Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb:312:in `_call_command_popen_ruby19'
/Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb:312:in `popen'

-- C level backtrace information -------------------------------------------

   See Crash Report log file under ~/Library/Logs/CrashReporter or
   /Library/Logs/CrashReporter, for the more detail of.

-- Other runtime information -----------------------------------------------

* Loaded script: test/functional/bio/test_command.rb

* Loaded features:

    0 enumerator.so
    1 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/enc/encdb.bundle
    2 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/enc/trans/transdb.bundle
    3 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/rubygems/defaults.rb
    4 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/rbconfig.rb
    5 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/rubygems/deprecate.rb
    6 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/rubygems/exceptions.rb
    7 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/rubygems/custom_require.rb
    8 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/rubygems.rb
    9 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.bundle
   10 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/pathname.bundle
   11 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/pathname.rb
   12 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/optparse.rb
   13 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/minitest/unit.rb
   14 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/prettyprint.rb
   15 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/pp.rb
   16 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit/assertions.rb
   17 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit/testcase.rb
   18 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/test/unit.rb
   19 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/delegate.rb
   20 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/etc.bundle
   21 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/fileutils.rb
   22 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/tmpdir.rb
   23 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/thread.rb
   24 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/tempfile.rb
   25 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/open3.rb
   26 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri/common.rb
   27 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri/generic.rb
   28 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri/ftp.rb
   29 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri/http.rb
   30 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri/https.rb
   31 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri/ldap.rb
   32 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri/ldaps.rb
   33 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri/mailto.rb
   34 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/uri.rb
   35 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/stringio.bundle
   36 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/date_core.bundle
   37 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/date/format.rb
   38 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/date.rb
   39 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/time.rb
   40 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/open-uri.rb
   41 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/cgi/core.rb
   42 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/cgi/cookie.rb
   43 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/cgi/util.rb
   44 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/cgi.rb
   45 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/socket.bundle
   46 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/socket.rb
   47 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/timeout.rb
   48 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/net/protocol.rb
   49 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/x86_64-darwin10.8.0/zlib.bundle
   50 /Users/agrimm/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/net/http.rb
   51 /Users/agrimm/ruby/wip/perftools_replication_20121221/bioruby/lib/bio/command.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap
Andrew-Grimms-MacBook-Pro:bioruby agrimm$ ruby --version # Compiled with -g and -O0
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin10.8.0]
Andrew-Grimms-MacBook-Pro:bioruby agrimm$ uname -a
Darwin Andrew-Grimms-MacBook-Pro.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
Andrew-Grimms-MacBook-Pro:bioruby agrimm$ 

Encountered the same issue with Ruby Enterprise 2012.02 with perftools.rb 2.0.0. I put it in gdb and here's the backtrace:

#0  0x0000000000434801 in rb_newobj () at gc.c:991
#1  0x00000000004348b9 in rb_data_object_alloc (klass=8176320, datap=0x77979b0, dmark=0, dfree=0x485d50 <time_free>) at gc.c:1018
#2  0x000000000048667d in time_s_alloc (klass=8176320) at time.c:54
#3  0x000000000041c735 in rb_call0 (klass=8176280, recv=8176320, id=1, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7cc248, flags=0) at eval.c:6035
#4  0x000000000041c913 in rb_call (klass=8176280, recv=8176320, mid=1, argc=0, argv=0x0, scope=1, self=6) at eval.c:6283
#5  0x000000000041d545 in vafuncall (recv=<optimized out>, mid=<optimized out>, n=8176320, ar=<optimized out>) at eval.c:6360
#6  0x000000000041d7d3 in rb_funcall (recv=8176320, mid=125401520, n=0) at eval.c:6377
#7  0x000000000044ae6f in rb_obj_alloc (klass=8176320) at object.c:1606
#8  0x000000000044bed0 in rb_class_new_instance (argc=0, argv=0x77979b0, klass=0) at object.c:1643
#9  0x000000000041c735 in rb_call0 (klass=8176280, recv=8176320, id=9065, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7cc1f8, flags=0) at eval.c:6035
#10 0x000000000041c913 in rb_call (klass=8176280, recv=8176320, mid=9065, argc=0, argv=0x0, scope=0, self=94263120) at eval.c:6283
#11 0x0000000000427c68 in eval_call (self=94263120, node=0x14c2d08) at eval.c:3371
#12 0x0000000000419851 in rb_eval (self=94263120, node=0x14c2d58) at eval.c:4097
#13 0x0000000000419754 in rb_eval (self=94263120, node=0x14c2cb8) at eval.c:3849
#14 0x000000000041acab in rb_yield_0 (val=94263120, self=94263120, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#15 0x000000000041539a in exec_under (func=<optimized out>, under=<optimized out>, cbase=0, args=<optimized out>) at eval.c:6844
#16 0x0000000000415414 in yield_under (under=<optimized out>, self=<optimized out>, args=<optimized out>) at eval.c:6911
#17 0x0000000000415b78 in specific_eval (argc=0, argv=0x0, klass=94262040, self=94263120) at eval.c:6930
#18 0x000000000041c735 in rb_call0 (klass=8288560, recv=94263120, id=4241, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7e3268, flags=0) at eval.c:6035
#19 0x000000000041c913 in rb_call (klass=8288560, recv=94263120, mid=4241, argc=0, argv=0x0, scope=1, self=94263120) at eval.c:6283
#20 0x0000000000427eff in eval_fcall (self=94263120, node=0x15ac390) at eval.c:3385
#21 0x0000000000426a2b in block_pass (self=94263120, node=0x15ac3b8) at eval.c:9310
#22 0x00000000004278fa in eval_attrasgn (self=94263120, node=0x15ac408) at eval.c:3350
#23 0x000000000041acab in rb_yield_0 (val=10225934, self=94263120, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#24 0x0000000000436bfa in rb_hash_fetch (argc=1, argv=<optimized out>, hash=249271840) at hash.c:530
#25 0x000000000041c735 in rb_call0 (klass=8216480, recv=249271840, id=6921, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7d5b18, flags=0) at eval.c:6035
#26 0x000000000041c913 in rb_call (klass=8216480, recv=249271840, mid=6921, argc=1, argv=0x7fffffff5f70, scope=0, self=94263120) at eval.c:6283
#27 0x0000000000427c68 in eval_call (self=94263120, node=0x15ac520) at eval.c:3371
#28 0x0000000000426f0b in eval_iter (self=94263120, node=0x15ac318) at eval.c:3193
#29 0x000000000041acab in rb_yield_0 (val=251710640, self=94263120, klass=<optimized out>, flags=<optimized out>, avalue=2) at eval.c:5224
#30 0x000000000041b616 in proc_invoke (proc=<optimized out>, args=<optimized out>, self=<optimized out>, klass=94502800) at eval.c:9012
#31 0x000000000041c0fa in rb_call0 (klass=94502800, recv=94263120, id=39945, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x5a1e5a0, flags=0) at eval.c:6069
#32 0x000000000041c913 in rb_call (klass=94502800, recv=94263120, mid=39945, argc=0, argv=0x0, scope=2, self=94263120) at eval.c:6283
#33 0x0000000000419dac in rb_eval (self=94263120, node=0x14c1c78) at eval.c:4046
#34 0x0000000000427c1f in eval_call (self=94263120, node=0x14c1c28) at eval.c:3367
#35 0x0000000000427ad6 in eval_call (self=94263120, node=0x14c1bb0) at eval.c:3366
#36 0x000000000041acab in rb_yield_0 (val=94263120, self=94263120, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#37 0x000000000041539a in exec_under (func=<optimized out>, under=<optimized out>, cbase=0, args=<optimized out>) at eval.c:6844
#38 0x0000000000415414 in yield_under (under=<optimized out>, self=<optimized out>, args=<optimized out>) at eval.c:6911
#39 0x0000000000415b78 in specific_eval (argc=0, argv=0x0, klass=94262040, self=94263120) at eval.c:6930
#40 0x000000000041c735 in rb_call0 (klass=8288560, recv=94263120, id=4241, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7e3268, flags=0) at eval.c:6035
#41 0x000000000041c913 in rb_call (klass=8288560, recv=94263120, mid=4241, argc=0, argv=0x0, scope=0, self=94494160) at eval.c:6283
#42 0x0000000000427c68 in eval_call (self=94494160, node=0x1508ee8) at eval.c:3371
#43 0x000000000042692b in block_pass (self=94494160, node=0x1508f10) at eval.c:9337
#44 0x000000000042733c in eval_rescue (self=94494160, node=0x1508920) at eval.c:3229
#45 0x000000000041a053 in rb_eval (self=94494160, node=0x1508920) at eval.c:3979
#46 0x0000000000427523 in eval_ensure (self=94494160, node=0x15088f8) at eval.c:3283
#47 0x000000000041acab in rb_yield_0 (val=6, self=94494160, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#48 0x000000000042733c in eval_rescue (self=94494160, node=0x1503768) at eval.c:3229
#49 0x000000000041a053 in rb_eval (self=94494160, node=0x1503768) at eval.c:3979
#50 0x000000000041c613 in rb_call0 (klass=22017000, recv=94494160, id=39185, oid=<optimized out>, argc=0, argv=0x0, body=0x14fe5d8, flags=0) at eval.c:6188
#51 0x000000000041c913 in rb_call (klass=22017000, recv=94494160, mid=39185, argc=0, argv=0x0, scope=1, self=94494160) at eval.c:6283
#52 0x0000000000427eff in eval_fcall (self=94494160, node=0x1508830) at eval.c:3385
#53 0x0000000000426f0b in eval_iter (self=94494160, node=0x1508858) at eval.c:3193
#54 0x000000000042733c in eval_rescue (self=94494160, node=0x1507cf0) at eval.c:3229
#55 0x000000000041a053 in rb_eval (self=94494160, node=0x1507cf0) at eval.c:3979
#56 0x0000000000427523 in eval_ensure (self=94494160, node=0x1507ca0) at eval.c:3283
#57 0x0000000000419754 in rb_eval (self=94494160, node=0x1507c28) at eval.c:3849
#58 0x000000000041c613 in rb_call0 (klass=22017000, recv=94494160, id=5401, oid=<optimized out>, argc=0, argv=0x7fffffff8690, body=0x14feb28, flags=-31088) at eval.c:6188
#59 0x000000000041c913 in rb_call (klass=22017000, recv=94494160, mid=5401, argc=2, argv=0x7fffffff8680, scope=0, self=94502800) at eval.c:6283
#60 0x0000000000427c68 in eval_call (self=94502800, node=0x14e76a8) at eval.c:3371
#61 0x0000000000419851 in rb_eval (self=94502800, node=0x14e7798) at eval.c:4097
#62 0x0000000000419754 in rb_eval (self=94502800, node=0x14e7658) at eval.c:3849
#63 0x000000000041acab in rb_yield_0 (val=94494160, self=94502800, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#64 0x0000000000492629 in rb_ary_collect (ary=94294080) at array.c:1838
#65 0x000000000041c735 in rb_call0 (klass=8223560, recv=94294080, id=3793, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7d6d60, flags=0) at eval.c:6035
#66 0x000000000041c913 in rb_call (klass=8223560, recv=94294080, mid=3793, argc=0, argv=0x0, scope=0, self=94502800) at eval.c:6283
#67 0x0000000000427c68 in eval_call (self=94502800, node=0x14e7c20) at eval.c:3371
#68 0x0000000000426f0b in eval_iter (self=94502800, node=0x14e7360) at eval.c:3193
#69 0x0000000000427ad6 in eval_call (self=94502800, node=0x14e7310) at eval.c:3366
#70 0x000000000041c613 in rb_call0 (klass=21903320, recv=94502800, id=39817, oid=<optimized out>, argc=0, argv=0x7fffffff92c8, body=0x14da228, flags=-27960) at eval.c:6188
#71 0x000000000041c913 in rb_call (klass=21903320, recv=94502800, mid=39817, argc=1, argv=0x7fffffff92c0, scope=1, self=94502800) at eval.c:6283
#72 0x0000000000427eff in eval_fcall (self=94502800, node=0x14e8940) at eval.c:3385
#73 0x0000000000419908 in rb_eval (self=94502800, node=0x14e89b8) at eval.c:4087
#74 0x0000000000419754 in rb_eval (self=94502800, node=0x14e88c8) at eval.c:3849
#75 0x000000000042733c in eval_rescue (self=94502800, node=0x14e7f90) at eval.c:3229
#76 0x000000000041a053 in rb_eval (self=94502800, node=0x14e7f90) at eval.c:3979
#77 0x0000000000427523 in eval_ensure (self=94502800, node=0x14e7f68) at eval.c:3283
#78 0x000000000041c613 in rb_call0 (klass=21903320, recv=94502800, id=5401, oid=<optimized out>, argc=0, argv=0x7fffffff99a8, body=0x14da278, flags=-26200) at eval.c:6188
#79 0x000000000041c913 in rb_call (klass=21903320, recv=94502800, mid=5401, argc=1, argv=0x7fffffff99a0, scope=0, self=94509240) at eval.c:6283
#80 0x0000000000427c68 in eval_call (self=94509240, node=0x14e86e8) at eval.c:3371
#81 0x000000000041acab in rb_yield_0 (val=94502800, self=94509240, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#82 0x0000000000492629 in rb_ary_collect (ary=94490800) at array.c:1838
#83 0x000000000041c735 in rb_call0 (klass=8223560, recv=94490800, id=3793, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7d6d60, flags=0) at eval.c:6035
#84 0x000000000041c913 in rb_call (klass=8223560, recv=94490800, mid=3793, argc=0, argv=0x0, scope=0, self=94509240) at eval.c:6283
#85 0x0000000000427c68 in eval_call (self=94509240, node=0x14e8800) at eval.c:3371
#86 0x0000000000426f0b in eval_iter (self=94509240, node=0x14e8698) at eval.c:3193
#87 0x0000000000427ad6 in eval_call (self=94509240, node=0x14e8670) at eval.c:3366
#88 0x0000000000419908 in rb_eval (self=94509240, node=0x14e8878) at eval.c:4087
#89 0x0000000000419754 in rb_eval (self=94509240, node=0x14e8620) at eval.c:3849
#90 0x000000000042733c in eval_rescue (self=94509240, node=0x14e7f90) at eval.c:3229
#91 0x000000000041a053 in rb_eval (self=94509240, node=0x14e7f90) at eval.c:3979
#92 0x0000000000427523 in eval_ensure (self=94509240, node=0x14e7f68) at eval.c:3283
#93 0x000000000041c613 in rb_call0 (klass=21903320, recv=94509240, id=5401, oid=<optimized out>, argc=0, argv=0x7fffffffa8c8, body=0x14da278, flags=-22328) at eval.c:6188
#94 0x000000000041c913 in rb_call (klass=21903320, recv=94509240, mid=5401, argc=1, argv=0x7fffffffa8c0, scope=0, self=94671280) at eval.c:6283
#95 0x0000000000427c68 in eval_call (self=94671280, node=0x14e86e8) at eval.c:3371
#96 0x000000000041acab in rb_yield_0 (val=94509240, self=94671280, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#97 0x0000000000492629 in rb_ary_collect (ary=94510880) at array.c:1838
#98 0x000000000041c735 in rb_call0 (klass=8223560, recv=94510880, id=3793, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7d6d60, flags=0) at eval.c:6035
#99 0x000000000041c913 in rb_call (klass=8223560, recv=94510880, mid=3793, argc=0, argv=0x0, scope=0, self=94671280) at eval.c:6283
#100 0x0000000000427c68 in eval_call (self=94671280, node=0x14e8800) at eval.c:3371
#101 0x0000000000426f0b in eval_iter (self=94671280, node=0x14e8698) at eval.c:3193
#102 0x0000000000427ad6 in eval_call (self=94671280, node=0x14e8670) at eval.c:3366
#103 0x0000000000419908 in rb_eval (self=94671280, node=0x14e8878) at eval.c:4087
#104 0x0000000000419754 in rb_eval (self=94671280, node=0x14e8620) at eval.c:3849
#105 0x000000000042733c in eval_rescue (self=94671280, node=0x14e7f90) at eval.c:3229
#106 0x000000000041a053 in rb_eval (self=94671280, node=0x14e7f90) at eval.c:3979
#107 0x0000000000427523 in eval_ensure (self=94671280, node=0x14e7f68) at eval.c:3283
#108 0x000000000041c613 in rb_call0 (klass=21903320, recv=94671280, id=5401, oid=<optimized out>, argc=0, argv=0x7fffffffb7e8, body=0x14da278, flags=-18456) at eval.c:6188
#109 0x000000000041c913 in rb_call (klass=21903320, recv=94671280, mid=5401, argc=1, argv=0x7fffffffb7e0, scope=0, self=21780520) at eval.c:6283
#110 0x0000000000427c68 in eval_call (self=21780520, node=0x1511638) at eval.c:3371
#111 0x000000000041acab in rb_yield_0 (val=94671280, self=21780520, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#112 0x0000000000492629 in rb_ary_collect (ary=21779400) at array.c:1838
#113 0x000000000041c735 in rb_call0 (klass=8223560, recv=21779400, id=3793, oid=<optimized out>, argc=<optimized out>, argv=<optimized out>, body=0x7d6d60, flags=0) at eval.c:6035
#114 0x000000000041c913 in rb_call (klass=8223560, recv=21779400, mid=3793, argc=0, argv=0x0, scope=0, self=21780520) at eval.c:6283
#115 0x0000000000427c68 in eval_call (self=21780520, node=0x1511750) at eval.c:3371
#116 0x0000000000426f0b in eval_iter (self=21780520, node=0x15115e8) at eval.c:3193
#117 0x0000000000427ad6 in eval_call (self=21780520, node=0x15115c0) at eval.c:3366
#118 0x000000000041995e in rb_eval (self=21780520, node=0x15114f8) at eval.c:3901
#119 0x0000000000427523 in eval_ensure (self=21780520, node=0x15112c8) at eval.c:3283
#120 0x000000000041acab in rb_yield_0 (val=94454280, self=21780520, klass=<optimized out>, flags=<optimized out>, avalue=0) at eval.c:5224
#121 0x0000000000427523 in eval_ensure (self=94454280, node=0x15cbbc8) at eval.c:3283
#122 0x000000000041c613 in rb_call0 (klass=22840960, recv=94454280, id=35641, oid=<optimized out>, argc=0, argv=0x7fffffffc8c0, body=0x15c8568, flags=-14144) at eval.c:6188
#123 0x000000000041c913 in rb_call (klass=22840960, recv=94454280, mid=35641, argc=2, argv=0x7fffffffc8b0, scope=0, self=21780520) at eval.c:6283
#124 0x0000000000427c68 in eval_call (self=21780520, node=0x1511a20) at eval.c:3371
#125 0x0000000000426f0b in eval_iter (self=21780520, node=0x1511228) at eval.c:3193
#126 0x000000000041c613 in rb_call0 (klass=22089160, recv=21780520, id=5401, oid=<optimized out>, argc=0, argv=0x7fffffffcea0, body=0x1510cb0, flags=-12640) at eval.c:6188
#127 0x000000000041c913 in rb_call (klass=22089160, recv=21780520, mid=5401, argc=2, argv=0x7fffffffce90, scope=0, self=22072080) at eval.c:6283
#128 0x0000000000427c68 in eval_call (self=22072080, node=0x150d0d8) at eval.c:3371
#129 0x0000000000427523 in eval_ensure (self=22072080, node=0x150ced0) at eval.c:3283
#130 0x000000000041c613 in rb_call0 (klass=22072040, recv=22072080, id=5401, oid=<optimized out>, argc=0, argv=0x7fffffffd3b8, body=0x150c818, flags=-11336) at eval.c:6188
#131 0x000000000041c913 in rb_call (klass=22072040, recv=22072080, mid=5401, argc=3, argv=0x7fffffffd3a0, scope=1, self=22072080) at eval.c:6283
#132 0x0000000000427eff in eval_fcall (self=22072080, node=0x150fec8) at eval.c:3385
#133 0x0000000000427ad6 in eval_call (self=22072080, node=0x150fea0) at eval.c:3366
#134 0x0000000000427eb7 in eval_fcall (self=22072080, node=0x150fe50) at eval.c:3381
#135 0x000000000041acab in rb_yield_0 (val=21857600, self=22072080, klass=<optimized out>, flags=<optimized out>, avalue=2) at eval.c:5224
#136 0x000000000041b616 in proc_invoke (proc=<optimized out>, args=<optimized out>, self=<optimized out>, klass=0) at eval.c:9012
#137 0x00000000004251df in call_end_proc (data=21857640) at eval.c:8180
#138 0x0000000000423269 in rb_exec_end_proc () at eval.c:8261
#139 0x000000000042335e in ruby_finalize_0 () at eval.c:1588
#140 0x00000000004236cd in ruby_cleanup (exArg=<optimized out>) at eval.c:1620
#141 0x00000000004239a9 in ruby_stop (ex=8176320) at eval.c:1689
#142 0x0000000000429f2d in ruby_run () at eval.c:1710
#143 0x00000000004107e1 in main (argc=3, argv=0x7fffffffdf38, envp=<optimized out>) at main.c:48

bilus commented Jan 16, 2013

Same problem with a Sinatra app:

/Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/request.rb:36: [BUG] Segmentation fault
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin10.8.0]

-- Control frame information -----------------------------------------------
c:0080 p:0010 s:0348 b:0346 l:000345 d:000345 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/request.rb:36
c:0079 p:0017 s:0343 b:0343 l:000342 d:000342 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:221
c:0078 p:0036 s:0340 b:0334 l:000325 d:000333 BLOCK /Users/martinb/dev/Criticue/app/app_base.rb:52
c:0077 p:---- s:0332 b:0332 l:000331 d:000331 FINISH
c:0076 p:---- s:0330 b:0330 l:000329 d:000329 CFUNC :start
c:0075 p:0307 s:0326 b:0326 l:000325 d:000325 METHOD /Users/martinb/dev/Criticue/app/app_base.rb:50
c:0074 p:0019 s:0318 b:0318 l:000317 d:000317 METHOD /Users/martinb/dev/Criticue/lib/event_map.rb:49
c:0073 p:0049 s:0311 b:0311 l:000170 d:000310 LAMBDA /Users/martinb/dev/Criticue/lib/event_map.rb:70
c:0072 p:---- s:0309 b:0309 l:000308 d:000308 FINISH
c:0071 p:---- s:0307 b:0307 l:000306 d:000306 CFUNC :call
c:0070 p:0020 s:0304 b:0304 l:001040 d:000303 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265
c:0069 p:---- s:0300 b:0300 l:000299 d:000299 FINISH
c:0068 p:---- s:0298 b:0298 l:000297 d:000297 CFUNC :[]
c:0067 p:0014 s:0293 b:0293 l:000252 d:000292 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:835
c:0066 p:0010 s:0291 b:0289 l:000288 d:000288 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:851
c:0065 p:0009 s:0286 b:0286 l:000252 d:000285 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:835
c:0064 p:0041 s:0283 b:0283 l:000274 d:000282 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:872
c:0063 p:---- s:0281 b:0281 l:000280 d:000280 FINISH
c:0062 p:---- s:0279 b:0279 l:000278 d:000278 CFUNC :catch
c:0061 p:0190 s:0275 b:0275 l:000274 d:000274 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:870
c:0060 p:0018 s:0264 b:0264 l:000252 d:000263 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:834
c:0059 p:---- s:0258 b:0258 l:000257 d:000257 FINISH
c:0058 p:---- s:0256 b:0256 l:000255 d:000255 CFUNC :each
c:0057 p:0050 s:0253 b:0253 l:000252 d:000252 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:833
c:0056 p:0078 s:0247 b:0247 l:000246 d:000246 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:936
c:0055 p:0009 s:0243 b:0243 l:000228 d:000242 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:769
c:0054 p:0005 s:0241 b:0241 l:000232 d:000240 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:921
c:0053 p:---- s:0239 b:0239 l:000238 d:000238 FINISH
c:0052 p:---- s:0237 b:0237 l:000236 d:000236 CFUNC :catch
c:0051 p:0013 s:0233 b:0233 l:000232 d:000232 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:921
c:0050 p:0136 s:0229 b:0229 l:000228 d:000228 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:769
c:0049 p:0019 s:0225 b:0225 l:000224 d:000224 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:755
c:0048 p:0031 s:0221 b:0221 l:000220 d:000220 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rails_config-0.3.2/lib/rails_config/rack/reloader.rb:11
c:0047 p:0014 s:0217 b:0217 l:000208 d:000216 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/warden-1.2.1/lib/warden/manager.rb:35
c:0046 p:---- s:0215 b:0215 l:000214 d:000214 FINISH
c:0045 p:---- s:0213 b:0213 l:000212 d:000212 CFUNC :catch
c:0044 p:0086 s:0209 b:0209 l:000208 d:000208 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/warden-1.2.1/lib/warden/manager.rb:34
c:0043 p:0071 s:0204 b:0204 l:000203 d:000203 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-contrib-1.1.0/lib/rack/contrib/cookies.rb:44
c:0042 p:0031 s:0194 b:0194 l:000193 d:000193 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205
c:0041 p:0013 s:0186 b:0186 l:000185 d:000185 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200
c:0040 p:0015 s:0182 b:0182 l:000181 d:000181 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/oink-0.10.0/lib/oink/middleware.rb:17
c:0039 p:0015 s:0175 b:0175 l:000174 d:000174 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-protection-1.3.2/lib/rack/protection/xss_header.rb:27
c:0038 p:0067 s:0168 b:0168 l:000167 d:000167 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-protection-1.3.2/lib/rack/protection/path_traversal.rb:16
c:0037 p:0019 s:0163 b:0163 l:000162 d:000162 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-protection-1.3.2/lib/rack/protection/json_csrf.rb:17
c:0036 p:0075 s:0155 b:0155 l:000154 d:000154 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-protection-1.3.2/lib/rack/protection/base.rb:48
c:0035 p:0075 s:0150 b:0150 l:000149 d:000149 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-protection-1.3.2/lib/rack/protection/base.rb:48
c:0034 p:0015 s:0145 b:0145 l:000144 d:000144 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-protection-1.3.2/lib/rack/protection/xss_header.rb:27
c:0033 p:0029 s:0138 b:0138 l:000137 d:000137 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/nulllogger.rb:9
c:0032 p:0015 s:0134 b:0134 l:000133 d:000133 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/head.rb:9
c:0031 p:0015 s:0127 b:0127 l:000126 d:000126 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/showexceptions.rb:21
c:0030 p:0019 s:0119 b:0119 l:000118 d:000118 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:99
c:0029 p:0018 s:0113 b:0113 l:0025b0 d:000112 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389
c:0028 p:0032 s:0111 b:0111 l:000110 d:000110 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:1471
c:0027 p:0011 s:0107 b:0107 l:0025b0 d:0025b0 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389
c:0026 p:0019 s:0103 b:0103 l:000102 d:000102 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/builder.rb:134
c:0025 p:0201 s:0099 b:0099 l:000085 d:000098 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/urlmap.rb:64
c:0024 p:---- s:0091 b:0091 l:000090 d:000090 FINISH
c:0023 p:---- s:0089 b:0089 l:000088 d:000088 CFUNC :each
c:0022 p:0063 s:0086 b:0086 l:000085 d:000085 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/urlmap.rb:49
c:0021 p:0015 s:0077 b:0077 l:000076 d:000076 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/rack-1.4.1/lib/rack/showexceptions.rb:24
c:0020 p:0020 s:0069 b:0069 l:000060 d:000068 BLOCK /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/connection.rb:81
c:0019 p:---- s:0067 b:0067 l:000066 d:000066 FINISH
c:0018 p:---- s:0065 b:0065 l:000064 d:000064 CFUNC :catch
c:0017 p:0135 s:0061 b:0061 l:000060 d:000060 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/connection.rb:79
c:0016 p:0088 s:0056 b:0055 l:000054 d:000054 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/connection.rb:54
c:0015 p:0043 s:0052 b:0052 l:000051 d:000051 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/connection.rb:39
c:0014 p:---- s:0047 b:0047 l:000046 d:000046 FINISH
c:0013 p:---- s:0045 b:0045 l:000044 d:000044 CFUNC :run_machine
c:0012 p:0325 s:0042 b:0042 l:000041 d:000041 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/eventmachine-1.0.0/lib/eventmachine.rb:187
c:0011 p:0066 s:0035 b:0035 l:0017c0 d:0017c0 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/backends/base.rb:63
c:0010 p:0143 s:0031 b:0031 l:000030 d:000030 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/server.rb:159
c:0009 p:0545 s:0028 b:0028 l:0009a0 d:0009a0 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/controllers/controller.rb:86
c:0008 p:0306 s:0024 b:0024 l:000023 d:000023 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/runner.rb:187
c:0007 p:0037 s:0019 b:0019 l:000018 d:000018 METHOD /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/lib/thin/runner.rb:152
c:0006 p:0042 s:0016 b:0016 l:000015 d:000015 TOP /Users/martinb/.rvm/gems/ruby-1.9.3-p362/gems/thin-1.5.0/bin/thin:6
c:0005 p:---- s:0014 b:0014 l:000013 d:000013 FINISH
c:0004 p:---- s:0012 b:0012 l:000011 d:000011 CFUNC :load
c:0003 p:0167 s:0008 b:0008 l:0003c8 d:000128 EVAL /Users/martinb/.rvm/rubies/ruby-1.9.3-p362/bin/thin:23
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0003c8 d:0003c8 TOP

agrimm commented Jan 9, 2014

I've stopped using perftools.rb, and I'm using Stackprof instead. May as well close this issue.

@agrimm agrimm closed this Jan 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment