Segfault - How do i find whats causing it?

In my last couple of commits i’m getting a segfault, but i can’t work
out what ruby function is causing it. Any suggestions on how I can work
out what the issue is?

Here is the trace from mongrel:

*** glibc detected *** /usr/bin/ruby: free(): invalid pointer:
0x00002ae42dfdc078 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2ae42258f634]
/lib64/libc.so.6(cfree+0x8c)[0x2ae422592c5c]
/usr/lib64/ruby/1.8/x86_64-linux/syck.so(syck_free_node+0x17)[0x2ae422dcdfa7]
/usr/lib64/ruby/1.8/x86_64-linux/syck.so(syck_st_free_nodes+0x12)[0x2ae422dcc312]
/usr/lib64/libruby.so.1.8(st_foreach+0x69)[0x2ae4219d8679]
/usr/lib64/ruby/1.8/x86_64-linux/syck.so(syck_st_free+0x1e)[0x2ae422dcc2ae]
/usr/lib64/ruby/1.8/x86_64-linux/syck.so(syck_free_parser+0x28)[0x2ae422dcc8f8]
/usr/lib64/libruby.so.1.8[0x2ae421993e8c]
/usr/lib64/libruby.so.1.8(ruby_xmalloc+0x7c)[0x2ae42199411c]
/usr/lib64/libruby.so.1.8[0x2ae4219734cd]
/usr/lib64/libruby.so.1.8[0x2ae421974608]
/usr/lib64/libruby.so.1.8[0x2ae42197701d]
/usr/lib64/libruby.so.1.8[0x2ae421981a25]
/usr/lib64/libruby.so.1.8[0x2ae42197d8ee]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae421984c9f]
/usr/lib64/libruby.so.1.8[0x2ae421986f5d]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae421984c9f]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae421984c9f]
/usr/lib64/libruby.so.1.8[0x2ae421987e0e]
/usr/lib64/libruby.so.1.8[0x2ae421985c3f]
/usr/lib64/libruby.so.1.8(rb_load+0x645)[0x2ae42198b4d5]
/usr/lib64/libruby.so.1.8(rb_require_safe+0x5a0)[0x2ae42198bb50]
/usr/lib64/libruby.so.1.8[0x2ae42197d8ee]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae421984c9f]
/usr/lib64/libruby.so.1.8[0x2ae421986654]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8(rb_call_super+0x89)[0x2ae42197ee79]
/usr/lib64/libruby.so.1.8[0x2ae4219858d1]
/usr/lib64/libruby.so.1.8[0x2ae421988afc]
/usr/lib64/libruby.so.1.8[0x2ae421985140]
/usr/lib64/libruby.so.1.8[0x2ae421986b05]
/usr/lib64/libruby.so.1.8[0x2ae421986b05]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae421984b6c]
/usr/lib64/libruby.so.1.8[0x2ae421986f5d]
/usr/lib64/libruby.so.1.8[0x2ae421986654]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae421984c9f]
/usr/lib64/libruby.so.1.8[0x2ae421983f55]
/usr/lib64/libruby.so.1.8[0x2ae421986654]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae421984c9f]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae421984b6c]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8(rb_call_super+0x89)[0x2ae42197ee79]
/usr/lib64/libruby.so.1.8[0x2ae4219858d1]
/usr/lib64/libruby.so.1.8[0x2ae42197d90a]
/usr/lib64/libruby.so.1.8[0x2ae42197de08]
/usr/lib64/libruby.so.1.8[0x2ae42197e3b2]
/usr/lib64/libruby.so.1.8(rb_funcall+0x85)[0x2ae42197e685]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fd:03 754058
/usr/bin/ruby
00600000-00601000 rw-p 00000000 fd:03 754058
/usr/bin/ruby
04579000-0588d000 rw-p 04579000 00:00 0
415a3000-415a4000 —p 415a3000 00:00 0
415a4000-41fa4000 rwxp 415a4000 00:00 0
3b69600000-3b69614000 r-xp 00000000 fd:03 361519
/usr/lib64/libz.so.1.2.3
3b69614000-3b69813000 —p 00014000 fd:03 361519
/usr/lib64/libz.so.1.2.3
3b69813000-3b69814000 rw-p 00013000 fd:03 361519
/usr/lib64/libz.so.1.2.3
3b69a00000-3b69a3b000 r-xp 00000000 08:02 88016
/lib64/libsepol.so.1
3b69a3b000-3b69c3b000 —p 0003b000 08:02 88016
/lib64/libsepol.so.1
3b69c3b000-3b69c3c000 rw-p 0003b000 08:02 88016
/lib64/libsepol.so.1
3b69c3c000-3b69c46000 rw-p 3b69c3c000 00:00 0
2aaaaaaad000-2aaaaaaaf000 rw-p 2aaaaaaad000 00:00 0
2aaaaaab9000-2aaaaaabd000 r-xp 00000000 08:02 87769
/lib64/libnss_dns-2.5.so
2aaaaaabd000-2aaaaacbc000 —p 00004000 08:02 87769
/lib64/libnss_dns-2.5.so
2aaaaacbc000-2aaaaacbd000 r–p 00003000 08:02 87769
/lib64/libnss_dns-2.5.so
2aaaaacbd000-2aaaaacbe000 rw-p 00004000 08:02 87769
/lib64/libnss_dns-2.5.so
2aaaaacbe000-2aaaaad8d000 rw-p 2aaaaacbe000 00:00 0
2aaaaad97000-2aaaaada4000 r-xp 00000000 08:02 87810
/lib64/libgcc_s-4.1.2-20080102.so.1
2aaaaada4000-2aaaaafa4000 —p 0000d000 08:02 87810
/lib64/libgcc_s-4.1.2-20080102.so.1
2aaaaafa4000-2aaaaafa5000 rw-p 0000d000 08:02 87810
/lib64/libgcc_s-4.1.2-20080102.so.1
2aaaac000000-2aaaac021000 rw-p 2aaaac000000 00:00 0
2aaaac021000-2aaab0000000 —p 2aaaac021000 00:00 0
2ae42172d000-2ae421747000 r-xp 00000000 08:02 87757
/lib64/ld-2.5.so
2ae421747000-2ae42174b000 rw-p 2ae421747000 00:00 0
2ae421752000-2ae4217b5000 rw-p 2ae421752000 00:00 0
2ae4217b6000-2ae421866000 rw-p 2ae4217b6000 00:00 0
2ae421947000-2ae421948000 r–p 0001a000 08:02 87757
/lib64/ld-2.5.so
2ae421948000-2ae421949000 rw-p 0001b000 08:02 87757
/lib64/ld-2.5.so
2ae421949000-2ae421a21000 r-xp 00000000 fd:03 361768
/usr/lib64/libruby.so.1.8.5
2ae421a21000-2ae421c21000 —p 000d8000 fd:03 361768
/usr/lib64/libruby.so.1.8.5
2ae421c21000-2ae421c26000 rw-p 000d8000 fd:03 361768
/usr/lib64/libruby.so.1.8.5
2ae421c26000-2ae421c44000 rw-p 2ae421c26000 00:00 0
2ae421c44000-2ae421c59000 r-xp 00000000 08:02 87779
/lib64/libpthread-2.5.so
2ae421c59000-2ae421e58000 —p 00015000 08:02 87779
/lib64/libpthread-2.5.so
2ae421e58000-2ae421e59000 r–p 00014000 08:02 87779
/lib64/libpthread-2.5.so
2ae421e59000-2ae421e5a000 rw-p 00015000 08:02 87779
/lib64/libpthread-2.5.so
2ae421e5a000-2ae421e5e000 rw-p 2ae421e5a000 00:00 0
2ae421e5e000-2ae421e60000 r-xp 00000000 08:02 87767
/lib64/libdl-2.5.so
2ae421e60000-2ae422060000 —p 00002000 08:02 87767
/lib64/libdl-2.5.so
2ae422060000-2ae422061000 r–p 00002000 08:02 87767
/lib64/libdl-2.5.so
2ae422061000-2ae422062000 rw-p 00003000 08:02 87767
/lib64/libdl-2.5.so
2ae422062000-2ae422063000 rw-p 2ae422062000 00:00 0
2ae422063000-2ae42206c000 r-xp 00000000 08:02 87759
/lib64/libcrypt-2.5.so
2ae42206c000-2ae42226b000 —p 00009000 08:02 87759
/lib64/libcrypt-2.5.so
2ae42226b000-2ae42226c000 r–p 00008000 08:02 87759
/lib64/libcrypt-2.5.so
2ae42226c000-2ae42226d000 rw-p 00009000 08:02 87759
/lib64/libcrypt-2.5.so
2ae42226d000-2ae42229b000 rw-p 2ae42226d000 00:00 0
2ae42229b000-2ae42231d000 r-xp 00000000 08:02 87781
/lib64/libm-2.5.so
2ae42231d000-2ae42251c000 —p 00082000 08:02 87781
/lib64/libm-2.5.so
2ae42251c000-2ae42251d000 r–p 00081000 08:02 87781
/lib64/libm-2.5.so
2ae42251d000-2ae42251e000 rw-p 00082000 08:02 87781
/lib64/libm-2.5.so
2ae42251e000-2ae422668000 r-xp 00000000 08:02 87755
/lib64/libc-2.5.so
2ae422668000-2ae422867000 —p 0014a000 08:02 87755
/lib64/libc-2.5.so
2ae422867000-2ae42286b000 r–p 00149000 08:02 87755
/lib64/libc-2.5.so
2ae42286b000-2ae42286c000 rw-p 0014d000 08:02 87755
/lib64/libc-2.5.so
2ae42286c000-2ae422873000 rw-p 2ae42286c000 00:00 0
2ae422873000-2ae42287e000 r-xp 00000000 fd:03 462686
/usr/lib64/ruby/1.8/x86_64-linux/socket.so
2ae42287e000-2ae422a7d000 —p 0000b000 fd:03 462686
/usr/lib64/ruby/1.8/x86_64-linux/socket.so
2ae422a7d000-2ae422a7e000 rw-p 0000a000 fd:03 462686
/usr/lib64/ruby/1.8/x86_64-linux/socket.so
2ae422a7f000-2ae422bbc000 rw-p 2ae422a7f000 00:00 0
2ae422bbc000-2ae422bc0000 r-xp 00000000 fd:03 465138
/usr/lib64/ruby/1.8/x86_64-linux/stringio.so
2ae422bc0000-2ae422dc0000 —p 00004000 fd:03 465138
/usr/lib64/ruby/1.8/x86_64-linux/stringio.so
2ae422dc0000-2ae422dc1000 rw-p 00004000 fd:03 465138
/usr/lib64/ruby/1.8/x86_64-linux/stringio.so
2ae422dc1000-2ae422ddd000 r-xp 00000000 fd:03 465140
/usr/lib64/ruby/1.8/x86_64-linux/syck.so
2ae422ddd000-2ae422fdc000 —p 0001c000 fd:03 465140
/usr/lib64/ruby/1.8/x86_64-linux/syck.so
2ae422fdc000-2ae422fdd000 rw-p 0001b000 fd:03 465140
/usr/lib64/ruby/1.8/x86_64-linux/syck.so
2ae422fdd000-2ae422fde000 rw-p 2ae422fdd000 00:00 0
2ae422fde000-2ae422fe7000 r-xp 00000000 fd:03 462691
/usr/lib64/ruby/1.8/x86_64-linux/zlib.so
2ae422fe7000-2ae4231e6000 —p 00009000 fd:03 462691
/usr/lib64/ruby/1.8/x86_64-linux/zlib.so
2ae4231e6000-2ae4231e7000 rw-p 00008000 fd:03 462691
/usr/lib64/ruby/1.8/x86_64-linux/zlib.so
2ae4231e7000-2ae4231eb000 r-xp 00000000 fd:03 462671
/usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so
2ae4231eb000-2ae4233ea000 —p 00004000 fd:03 462671
/usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so
2ae4233ea000-2ae4233eb000 rw-p 00003000 fd:03 462671
/usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so
2ae4233eb000-2ae4233ed000 r-xp 00000000 fd:03 462666
/usr/lib64/ruby/1.8/x86_64-linux/digest.so
2ae4233ed000-2ae4235ec000 —p 00002000 fd:03 462666
/usr/lib64/ruby/1.8/x86_64-linux/digest.so
2ae4235ec000-2ae4235ed000 rw-p 00001000 fd:03 462666
/usr/lib64/ruby/1.8/x86_64-linux/digest.so
2ae4235ed000-2ae423627000 r-xp 00000000 fd:03 465134
/usr/lib64/ruby/1.8/x86_64-linux/openssl.so
2ae423627000-2ae423826000 —p 0003a000 fd:03 465134
/usr/lib64/ruby/1.8/x86_64-linux/openssl.so
2ae423826000-2ae423829000 rw-p 00039000 fd:03 465134
/usr/lib64/ruby/1.8/x86_64-linux/openssl.so
2ae423833000-2ae423876000 r-xp 00000000 08:02 88046
/lib64/libssl.so.0.9.8b
2ae423876000-2ae423a76000 —p 00043000 08:02 88046
/lib64/libssl.so.0.9.8b
2ae423a76000-2ae423a7c000 rw-p 00043000 08:02 88046
/lib64/libssl.so.0.9.8b
2ae423a7c000-2ae423ba1000 r-xp 00000000 08:02 88051
/lib64/libcrypto.so.0.9.8b
2ae423ba1000-2ae423da1000 —p 00125000 08:02 88051
/lib64/libcrypto.so.0.9.8b
2ae423da1000-2ae423dc0000 rw-p 00125000 08:02 88051
/lib64/libcrypto.so.0.9.8b
2ae423dc0000-2ae423dc4000 rw-p 2ae423dc0000 00:00 0
2ae423dc4000-2ae423df0000 r-xp 00000000 fd:03 361929
/usr/lib64/libgssapi_krb5.so.2.2
2ae423df0000-2ae423ff0000 —p 0002c000 fd:03 361929
/usr/lib64/libgssapi_krb5.so.2.2
2ae423ff0000-2ae423ff2000 rw-p 0002c000 fd:03 361929
/usr/lib64/libgssapi_krb5.so.2.2
2ae423ff2000-2ae424081000 r-xp 00000000 fd:03 361751
/usr/lib64/libkrb5.so.3.3
2ae424081000-2ae424280000 —p 0008f000 fd:03 361751
/usr/lib64/libkrb5.so.3.3
2ae424280000-2ae424284000 rw-p 0008e000 fd:03 361751
/usr/lib64/libkrb5.so.3.3
2ae424284000-2ae424286000 r-xp 00000000 08:02 87771
/lib64/libcom_err.so.2.1
2ae424286000-2ae424485000 —p 00002000 08:02 87771
/lib64/libcom_err.so.2.1
2ae424485000-2ae424486000 rw-p 00001000 08:02 87771
/lib64/libcom_err.so.2.1
2ae424486000-2ae4244aa000 r-xp 00000000 fd:03 361930
/usr/lib64/libk5crypto.so.3.1
2ae4244aa000-2ae4246a9000 —p 00024000 fd:03 361930
/usr/lib64/libk5crypto.so.3.1
2ae4246a9000-2ae4246ab000 rw-p 00023000 fd:03 361930
/usr/lib64/libk5crypto.so.3.1
2ae4246ab000-2ae4246b3000 r-xp 00000000 fd:03 362071
/usr/lib64/libkrb5support.so.0.1
2ae4246b3000-2ae4248b2000 —p 00008000 fd:03 362071
/usr/lib64/libkrb5support.so.0.1
2ae4248b2000-2ae4248b3000 rw-p 00007000 fd:03 362071
/usr/lib64/libkrb5support.so.0.1
2ae4248b3000-2ae4248b5000 r-xp 00000000 08:02 87918
/lib64/libkeyutils-1.2.so
2ae4248b5000-2ae424ab4000 —p 00002000 08:02 87918
/lib64/libkeyutils-1.2.so
2ae424ab4000-2ae424ab5000 rw-p 00001000 08:02 87918
/lib64/libkeyutils-1.2.so
2ae424ab5000-2ae424ac6000 r-xp 00000000 08:02 87799
/lib64/libresolv-2.5.so
2ae424ac6000-2ae424cc6000 —p 00011000 08:02 87799
/lib64/libresolv-2.5.so
2ae424cc6000-2ae424cc7000 r–p 00011000 08:02 87799
/lib64/libresolv-2.5.so
2ae424cc7000-2ae424cc8000 rw-p 00012000 08:02 87799
/lib64/libresolv-2.5.so
2ae424cc8000-2ae424cca000 rw-p 2ae424cc8000 00:00 0
2ae424cca000-2ae424cdf000 r-xp 00000000 08:02 87900
/lib64/libselinux.so.1
2ae424cdf000-2ae424edf000 —p 00015000 08:02 87900
/lib64/libselinux.so.1
2ae424edf000-2ae424ee1000 rw-p 00015000 08:02 87900
/lib64/libselinux.so.1
2ae424ee1000-2ae424ee2000 rw-p 2ae424ee1000 00:00 0
2ae424ee2000-2ae424ee3000 r-xp 00000000 fd:03 465131
/usr/lib64/ruby/1.8/x86_64-linux/fcntl.so
2ae424ee3000-2ae4250e2000 —p 00001000 fd:03 465131
/usr/lib64/ruby/1.8/x86_64-linux/fcntl.so
2ae4250e2000-2ae4250e3000 rw-p 00000000 fd:03 465131
/usr/lib64/ruby/1.8/x86_64-linux/fcntl.so
2ae4250e3000-2ae42531d000 rw-p 2ae4250e3000 00:00 0
2ae42531d000-2ae425323000 r-xp 00000000 fd:03 463947
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/http11.so
2ae425323000-2ae425522000 —p 00006000 fd:03 463947
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/http11.so
2ae425522000-2ae425523000 rw-p 00005000 fd:03 463947
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/http11.so
2ae425523000-2ae425527000 r-xp 00000000 fd:03 463746
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/fastthread.so
2ae425527000-2ae425726000 —p 00004000 fd:03 463746
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/fastthread.so
2ae425726000-2ae425727000 rw-p 00003000 fd:03 463746
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/fastthread.so
2ae425727000-2ae425729000 r-xp 00000000 fd:03 462674
/usr/lib64/ruby/1.8/x86_64-linux/etc.so
2ae425729000-2ae425929000 —p 00002000 fd:03 462674
/usr/lib64/ruby/1.8/x86_64-linux/etc.so
2ae425929000-2ae42592a000 rw-p 00002000 fd:03 462674
/usr/lib64/ruby/1.8/x86_64-linux/etc.so
2ae425934000-2ae42593e000 r-xp 00000000 08:02 87789
/lib64/libnss_files-2.5.so
2ae42593e000-2ae425b3d000 —p 0000a000 08:02 87789
/lib64/libnss_files-2.5.so
2ae425b3d000-2ae425b3e000 r–p 00009000 08:02 87789
/lib64/libnss_files-2.5.so
2ae425b3e000-2ae425b3f000 rw-p 0000a000 08:02 87789
/lib64/libnss_files-2.5.so
2ae425b3f000-2ae425f41000 rw-p 2ae425b3f000 00:00 0
2ae425f41000-2ae425f43000 r-xp 00000000 fd:03 462673
/usr/lib64/ruby/1.8/x86_64-linux/enumerator.so
2ae425f43000-2ae426142000 —p 00002000 fd:03 462673
/usr/lib64/ruby/1.8/x86_64-linux/enumerator.so
2ae426142000-2ae426143000 rw-p 00001000 fd:03 462673
/usr/lib64/ruby/1.8/x86_64-linux/enumerator.so
2ae426143000-2ae42617e000 r-xp 00000000 fd:03 462679
/usr/lib64/ruby/1.8/x86_64-linux/nkf.so
2ae42617e000-2ae42637e000 —p 0003b000 fd:03 462679
/usr/lib64/ruby/1.8/x86_64-linux/nkf.so
2ae42637e000-2ae426382000 rw-p 0003b000 fd:03 462679
/usr/lib64/ruby/1.8/x86_64-linux/nkf.so
2ae426382000-2ae426383000 rw-p 2ae426382000 00:00 0
2ae426383000-2ae42638e000 r-xp 00000000 fd:03 463218
/usr/lib64/ruby/1.8/x86_64-linux/bigdecimal.so
2ae42638e000-2ae42658d000 —p 0000b000 fd:03 463218
/usr/lib64/ruby/1.8/x86_64-linux/bigdecimal.so
2ae42658d000-2ae42658e000 rw-p 0000a000 fd:03 463218
/usr/lib64/ruby/1.8/x86_64-linux/bigdecimal.so
2ae42658e000-2ae426592000 r-xp 00000000 fd:03 465139
/usr/lib64/ruby/1.8/x86_64-linux/strscan.so
2ae426592000-2ae426791000 —p 00004000 fd:03 465139
/usr/lib64/ruby/1.8/x86_64-linux/strscan.so
2ae426791000-2ae426792000 rw-p 00003000 fd:03 465139
/usr/lib64/ruby/1.8/x86_64-linux/strscan.so
2ae426793000-2ae426ec9000 rw-p 2ae426793000 00:00 0
2ae426ec9000-2ae426ecb000 r-xp 00000000 fd:03 465128
/usr/lib64/ruby/1.8/x86_64-linux/digest/md5.so
2ae426ecb000-2ae4270ca000 —p 00002000 fd:03 465128
/usr/lib64/ruby/1.8/x86_64-linux/digest/md5.so
2ae4270ca000-2ae4270cb000 rw-p 00001000 fd:03 465128
/usr/lib64/ruby/1.8/x86_64-linux/digest/md5.so
2ae4270cb000-2ae4270ce000 r-xp 00000000 fd:03 462682
/usr/lib64/ruby/1.8/x86_64-linux/racc/cparse.so
2ae4270ce000-2ae4272ce000 —p 00003000 fd:03 462682
/usr/lib64/ruby/1.8/x86_64-linux/racc/cparse.so
2ae4272ce000-2ae4272cf000 rw-p 00003000 fd:03 462682
/usr/lib64/ruby/1.8/x86_64-linux/racc/cparse.so
2ae4272cf000-2ae4272d3000 r-xp 00000000 fd:03 462677
/usr/lib64/ruby/1.8/x86_64-linux/iconv.so
2ae4272d3000-2ae4274d2000 —p 00004000 fd:03 462677
/usr/lib64/ruby/1.8/x86_64-linux/iconv.so
2ae4274d2000-2ae4274d3000 rw-p 00003000 fd:03 462677
/usr/lib64/ruby/1.8/x86_64-linux/iconv.so
2ae4274d3000-2ae4274e4000 r-xp 00000000 fd:03 463818
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/oci8lib.so
2ae4274e4000-2ae4276e3000 —p 00011000 fd:03 463818
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/oci8lib.so
2ae4276e3000-2ae4276e5000 rw-p 00010000 fd:03 463818
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/oci8lib.so
2ae4276ef000-2ae4288d6000 r-xp 00000000 fd:03 294949
/usr/local/instantclient_10_2/libclntsh.so.10.1
2ae4288d6000-2ae4289d5000 —p 011e7000 fd:03 294949
/usr/local/instantclient_10_2/libclntsh.so.10.1
2ae4289d5000-2ae428a78000 rw-p 011e6000 fd:03 294949
/usr/local/instantclient_10_2/libclntsh.so.10.1
2ae428a78000-2ae428a8c000 rw-p 2ae428a78000 00:00 0
2ae428a8c000-2ae428d7e000 r-xp 00000000 fd:03 294950
/usr/local/instantclient_10_2/libnnz10.so
2ae428d7e000-2ae428e7d000 —p 002f2000 fd:03 294950
/usr/local/instantclient_10_2/libnnz10.so
2ae428e7d000-2ae428f2e000 rw-p 002f1000 fd:03 294950
/usr/local/instantclient_10_2/libnnz10.so
2ae428f2e000-2ae428f2f000 rw-p 2ae428f2e000 00:00 0
2ae428f2f000-2ae428f44000 r-xp 00000000 08:02 87783
/lib64/libnsl-2.5.so
2ae428f44000-2ae429143000 —p 00015000 08:02 87783
/lib64/libnsl-2.5.so
2ae429143000-2ae429144000 r–p 00014000 08:02 87783
/lib64/libnsl-2.5.so
2ae429144000-2ae429145000 rw-p 00015000 08:02 87783
/lib64/libnsl-2.5.so
2ae429145000-2ae429147000 rw-p 2ae429145000 00:00 0
2ae429147000-2ae42d65b000 r-xp 00000000 fd:03 294952
/usr/local/instantclient_10_2/libociei.so
2ae42d65b000-2ae42d75a000 —p 04514000 fd:03 294952
/usr/local/instantclient_10_2/libociei.so
2ae42d75a000-2ae42d75c000 rw-p 04513000 fd:03 294952
/usr/local/instantclient_10_2/libociei.so
2ae42d75c000-2ae42d75d000 rw-p 2ae42d75c000 00:00 0
2ae42d75e000-2ae42e458000 rw-p 2ae42d75e000 00:00 0
7fff892f3000-7fff8937c000 rwxp 7fff892f3000 00:00 0
[stack]
7fff8937c000-7fff8937d000 rw-p 7fff8937c000 00:00 0
ffffffffff600000-ffffffffffe00000 —p 00000000 00:00 0
[vdso]

On Aug 10, 2008, at 7:57 PM, Alex M. wrote:

/lib64/libc.so.6[0x2ae42258f634]
/lib64/libc.so.6(cfree+0x8c)[0x2ae422592c5c]
/usr/lib64/ruby/1.8/x86_64-linux/syck.so(syck_free_node+0x17)
[0x2ae422dcdfa7]

yaml.

run something like

gdb file.core which ruby

and then type

where

then send this to ruby-core

a @ http://codeforpeople.com/

Thankyou for your awesomely quick reply. The developer who is actually
having the issue is on a windows machine so can’t install gdb and our
linux staging server is not under out control.

We’re going to try and use the debugger built into netbeans to nail
exactly which line of code is causing the issue.

Thanks again

The issue was that an anchor label was reused in a YAML file.

A simple test case:

test.yml

outside: &anchor_label
inside: &anchor_label

Ara Howard: Thanks for telling us where the error was, you’re a legend