X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Sat, 27 Nov 2004 18:38:38 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-ID: <01c4d49f$Blat.v2.2.2$b1144240@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 CC: st001906 AT hrz1 DOT hrz DOT tu-darmstadt DOT de, esa DOT peuha AT helsinki DOT fi In-reply-to: <1101561947.41a8805b99aca@webmail.wilkes.edu> (fdonahoe AT wilkes DOT edu) Subject: Re: Crash of info 4.7 while opening a gzipped info file. References: <1101561947 DOT 41a8805b99aca AT webmail DOT wilkes DOT edu> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sat, 27 Nov 2004 08:25:47 -0500 > From: fdonahoe AT wilkes DOT edu > Cc: Juan Manuel Guerrero , > Esa Peuha > > gunzip.exe < /dev/env/DJDIR/info.info.gz... > Program received signal SIGSEGV, Segmentation fault. > free (ptr=0x3c206578) at malloc.c:377 > 377 block->size &= ~1; > (gdb) n Isn't that the same problem as you already reported for other programs that use popen? > I feel stupid about this but how do I get the gdb traceback > output to a file so I can quote it without retyping? The obvious way: redirect GDB's output to a file, like this: gdb ./info/ginfo.exe > gdb.session The downside is that you won't see GDB's prompts etc. as well, but if you know exactly what commands to type, you should be able to type them blindly.