🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2811

Re: gdb 5.1 dumped core on me [was: Emacs abort under gdb]

#2811
From: Francesco Potorti`
Date: Sat, 26 Jan 2002 16:22
30 lines
2434 bytes
   >> (gdb) p/x current_buffer->auto_save_file_name
   >> $59 = 0x1827b31c
   >> (gdb) xstring
   >> $60 = (struct Lisp_String *) 0x827b31c
   >> Segmentation fault (core dumped)
   > 
   > Does GDB's core file say something interesting about where did GDB
   > crash?
   
   Especially a backtrace.

As far as I can tell, the backtrace of gdb's core looks like the
backtrace of a dumped Emacs, but it is different from the real backtrace
of the Emacs that was being debugged.  Maybe that's normal, I don't have
any idea of what should a crashed gdb's backtrace look like.
   
   The other useful thing would be a confirmation that the Debian GDB 5.1 
   really is a stock GDB 5.1 and doesn't have patches applied.  Is there 
   anything unusual in the startup message for instance?

Nothing.  But I can read this in Debian's copyright file:
Patch for Objective-C from:
 ftp://ftp.es.ele.tue.nl/pub/objc/gdb-gnu-objc.diff.gz.uue

Since this is sent to Debian's maintainer too, he can confirm whether
this is the only patch applied or not.
   
   GDB should never dump core.

Yes, the same that any other program.  This is obviously a bug
Technical Details
Message-ID: <E16UVax-0004kg-00@pot.cnuce.cnr.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
References: <E16LkEc-0007YI-00@pot.cnuce.cnr.it> <200201030031.g030V6n03535@aztec.santafe.edu> <E16NaIT-0005W4-00@pot.cnuce.cnr.it> <200201080630.g086Upf05212@aztec.santafe.edu> <E16SeTn-0003nm-00@pot.cnuce.cnr.it> <200201220539.g0M5dC814870@aztec.santafe.edu> <E16Sz55-0003jb-00@pot.cnuce.cnr.it> <200201240740.JAA16532@is.elta.co.il> <3C4FBD28.7080506@cygnus.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,410b098bbbab7603
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-01-26 08:30:03 PST
x-uunet-gateway: sjc3sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Sat, 26 Jan 2002 16:22:32 GMT
From: pot@gnu.org (Francesco Potorti`)
Subject: Re: gdb 5.1 dumped core on me [was: Emacs abort under gdb]
References: <E16LkEc-0007YI-00@pot.cnuce.cnr.it>
 <200201030031.g030V6n03535@aztec.santafe.edu>
 <E16NaIT-0005W4-00@pot.cnuce.cnr.it>
 <200201080630.g086Upf05212@aztec.santafe.edu>
 <E16SeTn-0003nm-00@pot.cnuce.cnr.it>
 <200201220539.g0M5dC814870@aztec.santafe.edu>
 <E16Sz55-0003jb-00@pot.cnuce.cnr.it>
 <200201240740.JAA16532@is.elta.co.il>
 <3C4FBD28.7080506@cygnus.com>
X-fingerprint: 4B2 6187 5C3 D6B1 2E31  7666 9DF 2DC9 BE21 6115
Message-ID: <E16UVax-0004kg-00@pot.cnuce.cnr.it>
Date: Sat, 26 Jan 2002 17:22:23 +0100
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
Sender: bug-gdb-request@mail.gnu.org
Lines: 30