Re: [xml] Core dumped (Floating exception) with libxml2-2-[11|12] on Digital Unix V4.0

Date view Thread view Subject view Author view

From: Caran julien (julien.caran@ties.itu.ch)
Date: Mon Feb 05 2001 - 08:51:23 EST


Thanks for the tip, here is the output :

webadm:local/build/libxml2-2.2.12 $ gdb lt-xmllint core
GNU gdb 4.17
...
This GDB was configured as "alpha-dec-osf4.0d"...

warning: exec file is newer than core file.
Core was generated by `lt-xmllint'.
Program terminated with signal 8, Floating point exception.
Reading symbols from /usr/shlib/libcurses.so...done.
Reading symbols from
/u/webadm/local/build/libxml2-2.2.12/.libs/libxml.so...done.
Reading symbols from /usr/local/lib/libz.so.1.1.3...done.
Reading symbols from /usr/shlib/libm.so...done.
Reading symbols from /usr/shlib/libc.so...done.
#0 xmlXPathInit () at xpath.c:162
162 xmlXPathNAN = 0;
(gdb) where
#0 xmlXPathInit () at xpath.c:162
#1 0x3ffbffae21c in xmlInitParser () at parser.c:9764
#2 0x3ffbffa9400 in xmlParseDocument (ctxt=0x140016800) at parser.c:6987
#3 0x3ffbffad950 in xmlSAXParseFile (sax=0x0, filename=0x11ffffd6b
"./test/att1", recovery=0) at parser.c:9357
#4 0x3ffbffada40 in xmlParseFile (filename=0x3ffbffb81d0
"\004@»'\220\021½#ðÿÞ#") at parser.c:9399
#5 0x12000f12c in parseAndPrintFile (filename=0x11ffffd6b "./test/att1") at
xmllint.c:516
#6 0x1200101ec in main (argc=2, argv=0x11ffffc68) at xmllint.c:788

----- Original Message -----
From: "Bjorn Reese" <breese@mail1.stofanet.dk>
To: <xml@rpmfind.net>
Sent: Friday, February 02, 2001 5:52 PM
Subject: Re: [xml] Core dumped (Floating exception) with libxml2-2-[11|12]
on Digital Unix V4.0

>
> Caran julien wrote:
>
> > /bin/sh: 17188 Floating exception - core dumped
>
> Adding a stacktrace could be helpful. The way you do this is to
>
> 1. Locate the core dump
> % find . -name core -print
> 2. Change directory if necessary
> 3. Find out which executable caused the core dump
> % file core
> 4. Start a debugger for post-mortem investigation
> % gdb insert-the-executable-here core
> If you don't have gdb, use dbx instead.
> 5. Make a stacktrace from the debugger
> (gdb) where
> ----
> Message from the list xml@rpmfind.net
> Archived at : http://xmlsoft.org/messages/
> to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Feb 05 2001 - 10:43:46 EST