On 1/10/08, Marc Munro <[EMAIL PROTECTED]> wrote:
> This is with libxml and libxsl built from SVN 3 days ago


You might try running with valgrind.
>
> If I run with gdb, my program runs normally.
>
> Any suggestions on how I can further track this down?
>
> __
> Marc
>
>
> *** glibc detected *** ruby: corrupted double-linked list: 0x0914ed28
> ***
> ======= Backtrace: =========
> /lib/libc.so.6[0xb7cf7169]
> /lib/libc.so.6[0xb7cf88ce]
> /lib/libc.so.6(cfree+0x90)[0xb7cfc570]
> /usr/lib/libxml2.so.2(xmlHashFree+0xeb)[0xb7afd64b]
> /usr/lib/libxml2.so.2(xmlXPathRegisteredFuncsCleanup+0x21)[0xb7b2a821]
> /usr/lib/libxml2.so.2(xmlXPathFreeContext+0x3d)[0xb7b2a86d]
> /usr/lib/ruby/1.8/libxml_so.so(ruby_xml_xpath_context_free
> +0x21)[0xb7bf66d1]
> /usr/lib/libruby1.8.so.1.8(rb_gc_call_finalizer_at_exit
> +0xa7)[0xb7e91947]
> /usr/lib/libruby1.8.so.1.8[0xb7e77727]
> /usr/lib/libruby1.8.so.1.8(ruby_cleanup+0x100)[0xb7e7f810]
> /usr/lib/libruby1.8.so.1.8(ruby_stop+0x1d)[0xb7e7f95d]
> /usr/lib/libruby1.8.so.1.8[0xb7e8a921]
> ruby[0x80486bd]
> /lib/libc.so.6(__libc_start_main+0xe0)[0xb7ca3450]
> ruby[0x8048601]
> ======= Memory map: ========
> 08048000-08049000 r-xp 00000000 03:01 21432      /usr/bin/ruby1.8
> 08049000-0804a000 rw-p 00000000 03:01 21432      /usr/bin/ruby1.8
> 0804a000-092de000 rw-p 0804a000 00:00 0          [heap]
> b7800000-b7821000 rw-p b7800000 00:00 0
> b7821000-b7900000 ---p b7821000 00:00 0
> b7946000-b7950000 r-xp 00000000 03:01 471476     /lib/libgcc_s.so.1
> b7950000-b7951000 rw-p 00009000 03:01 471476     /lib/libgcc_s.so.1
> b7951000-b79f0000 rw-p b7951000 00:00 0
> b79f0000-b7a23000 r-xp 00000000 03:01
> 22880      /usr/lib/libxslt.so.1.1.22
> b7a23000-b7a24000 rw-p 00032000 03:01
> 22880      /usr/lib/libxslt.so.1.1.22
> b7a24000-b7a73000 r-xp 00000000 03:01
> 19373      /usr/lib/libgcrypt.so.11.2.3
> b7a73000-b7a75000 rw-p 0004f000 03:01
> 19373      /usr/lib/libgcrypt.so.11.2.3
> b7a75000-b7a85000 r-xp 00000000 03:01
> 19199      /usr/lib/libexslt.so.0.8.13
> b7a85000-b7a86000 rw-p 0000f000 03:01
> 19199      /usr/lib/libexslt.so.0.8.13
> b7a86000-b7a9a000 r-xp 00000000 03:01 474899     /lib/libnsl-2.7.so
> b7a9a000-b7a9c000 rw-p 00013000 03:01 474899     /lib/libnsl-2.7.so
> b7a9c000-b7a9e000 rw-p b7a9c000 00:00 0
> b7a9e000-b7ab2000 r-xp 00000000 03:01
> 16316      /usr/lib/libz.so.1.2.3.3
> b7ab2000-b7ab3000 rw-p 00013000 03:01
> 16316      /usr/lib/libz.so.1.2.3.3
> b7ab3000-b7bcb000 r-xp 00000000 03:01
> 22673      /usr/lib/libxml2.so.2.6.30
> b7bcb000-b7bd0000 rw-p 00118000 03:01
> 22673      /usr/lib/libxml2.so.2.6.30
> b7bd0000-b7bd1000 rw-p b7bd0000 00:00 0
> b7be4000-b7c02000 r-xp 00000000 03:03
> 2555924    /home/marc/libxml/libxml/trunk/ext/libxml/libxml_so.so
> b7c02000-b7c03000 rw-p 0001e000 03:03
> 2555924    /home/marc/libxml/libxml/trunk/ext/libxml/libxml_so.so
> b7c03000-b7c8d000 rw-p b7c03000 00:00 0
> b7c8d000-b7dd4000 r-xp 00000000 03:01 471461     /lib/libc-2.7.so
> b7dd4000-b7dd5000 r--p 00147000 03:01 471461     /lib/libc-2.7.so
> b7dd5000-b7dd7000 rw-p 00148000 03:01 471461     /lib/libc-2.7.so
> b7dd7000-b7dda000 rw-p b7dd7000 00:00 0
> b7dda000-b7dfe000 r-xp 00000000 03:01 474897     /lib/libm-2.7.so
> b7dfe000-b7e00000 rw-p 00023000 03:01 474897     /lib/libm-2.7.so
> b7e00000-b7e09000 r-xp 00000000 03:01 474895     /lib/libcrypt-2.7.so
> b7e09000-b7e0b000 rw-p 00008000 03:01 474895     /lib/libcrypt-2.7.so
> b7e0b000-b7e32000 rw-p b7e0b000 00:00 0
> b7e32000-b7e34000 r-xp 00000000 03:01 474896     /lib/libdl-2.7.so
> b7e34000-b7e36000 rw-p 00001000 03:01 474896     /lib/libdl-2.7.so
> b7e36000-b7e37000 rw-p b7e36000 00:00 0
> b7e37000-b7e4a000 r-xp 00000000 03:01 474907     /lib/libpthread-2.7.so
> b7e4a000-b7e4c000 rw-p 00013000 03:01 474907     /lib/libpthread-2.7.so
> b7e4c000-b7e4e000 rw-p b7e4c000 00:00 0
> b7e4e000-b7f0b000 r-xp 00000000 03:01
> 17026      /usr/lib/libruby1.8.so.1.8.6
> b7f0b000-b7f0d000 rw-p 000bd000 03:01
> 17026      /usr/lib/libruby1.8.so.1.8.6
> b7f0d000-b7f1d000 rw-p b7f0d000 00:00 0
> b7f23000-b7f26000 r-xp 00000000 03:01
> 18898      /usr/lib/libgpg-error.so.0.3.0
> b7f26000-b7f27000 rw-p 00002000 03:01
> 18898      /usr/lib/libgpg-error.so.0.3.0
> b7f27000-b7f2a000 r-xp 00000000 03:03
> 6651912    /home/marc/libxml/libxsl/trunk/ext/libxslt/libxslt.so
> b7f2a000-b7f2b000 rw-p 00002000 03:03
> 6651912    /home/marc/libxml/libxsl/trunk/ext/libxslt/libxslt.so
> b7f2b000-b7f2f000 r-xp 00000000 03:01
> 150369     /usr/lib/ruby/1.8/i486-linux/stringio.so
> b7f2f000-b7f30000 rw-p 00003000 03:01
> 150369     /usr/lib/ruby/1.8/i486-linux/stringio.so
> b7f30000-b7f32000 rw-p b7f30000 00:00 0
> b7f32000-b7f4e000 r-xp 00000000 03:01 471431     /lib/ld-2.7.so
> b7f4e000-b7f50000 rw-p 0001b000 03:01 471431     /lib/ld-2.7.so
> bf909000-bf94e000 rw-p bf909000 00:00 0          [stack]
> ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
> Aborted
>
>
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to