This is the mail archive of the gnats-devel@sources.redhat.com mailing list for the GNATS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gnats/133


>>>>> "M" == Milan Zamazal <pdm@zamazal.org> writes:

>>>>> "SP" == Sarang Padalkar <sarangp@catamarancom.com> writes:
    SP> Yes (2.7beta). In my case, there is always a core file
    SP> (gnatsd) that is left behind. My suspicion is that the lock
    SP> file is not removed because gnatsd crashes.

    M> This is very likely the cause of the problem!

    M> Unfortunately, GNATS is not rock stable (applies to both 3.113
    M> and 4).  Fortunately, most GNATS crashes are easy to spot
    M> (though not necessarily easy to fix).  If you have got the core
    M> file and you compiled GNATS with `-g', you can examine it in
    M> the following way:

    M>   $ gdb /usr/local/bin/gnatsd core (gdb) where

    M> This prints out the stack trace.  I'm interested in all crash
    M> traces generated by recent GNATS CVS versions.

I got a trace, but it turns out that the core is created by file-pr

Here is my gdb session. Let me know if I can provide any more info.

gdb /usr/local/libexec/file-pr

(gdb) core ~gnats/core
Core was generated by `file-pr -f gnatsU2aqr1 -d /home/gnats/gnats-db'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libgen.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libmalloc.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libintl.so.1...warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 0x74
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1...
(no debugging symbols found)...done.
#0  0xff351190 in free_unlocked ()
(gdb) where
#0  0xff351190 in free_unlocked ()
#1  0xff35105c in free ()
#2  0x1b790 in xfree ()
#3  0x15174 in check_if_reply ()
#4  0x151b4 in check_if_reply ()
#5  0x14610 in gnats ()
#6  0x13e28 in main ()



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]