c++/2261: Segmentation fault on print

Frank Schmitt ich@frank-schmitt.net
Mon May 14 14:48:00 GMT 2007


The following reply was made to PR c++/2261; it has been noted by GNATS.

From: Frank Schmitt <ich@frank-schmitt.net>
To: Daniel Jacobowitz <drow@false.org>
Cc: tonne2005@gehheimdienst.de,  gdb-gnats@sources.redhat.com
Subject: Re: c++/2261: Segmentation fault on print
Date: Mon, 14 May 2007 16:41:31 +0200

 --=-=-=
 
 Daniel Jacobowitz <drow@false.org> writes:
 
 > On Mon, May 14, 2007 at 04:11:02PM +0200, Frank Schmitt wrote:
 >> Daniel Jacobowitz <drow@false.org> writes:
 >> 
 >> > Weird.  Could you show me a complete transcript of this (using
 >> > "script")?  I should have been able to reproduce it.
 >> 
 >> Sure. See attached file.
 >
 > Sorry, I meant to say "on the Debian system".  Doing what you do in
 > that log I get the invalid cast message.  Same with GDB from CVS.
 
 Here's the script log from the Debian system
 
 
 --=-=-=
 Content-Type: application/octet-stream
 Content-Disposition: attachment; filename=typescript
 Content-Transfer-Encoding: base64
 
 U2NyaXB0IHN0YXJ0ZWQgb24gTW9uIE1heSAxNCAxNjozODo0MCAyMDA3Cg0bW20bWzIzbRtbMjRt
 G1tKG1szMm1bG1szM21sdHc6fhtbMzJtXRtbMzltJCAbW0tjCGNhdCAvZXRjL2RlYmlhbl92ZXJz
 aW9uDQ0KMy4xDQoNG1ttG1syM20bWzI0bRtbShtbMzJtWxtbMzNtbHR3On4bWzMybV0bWzM5bSQg
 G1tLZwhnZGIgLS12ZXJzaW9uDQ0KR05VIGdkYiA2LjMtZGViaWFuDQpDb3B5cmlnaHQgMjAwNCBG
 cmVlIFNvZnR3YXJlIEZvdW5kYXRpb24sIEluYy4NCkdEQiBpcyBmcmVlIHNvZnR3YXJlLCBjb3Zl
 cmVkIGJ5IHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSwgYW5kIHlvdSBhcmUNCndlbGNv
 bWUgdG8gY2hhbmdlIGl0IGFuZC9vciBkaXN0cm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0IDw8
 IHMgPDwgc3RkOjplbmRsOw0KKGdkYikgcCBzPSJiYXIiDQpmb28NCnpzaDogc2VnbWVudGF0aW9u
 IGZhdWx0ICBnZGIgLi9oZWxsbw0KDRtbbRtbMjNtG1syNG0bW0obWzMybVsbWzMzbWx0dzp+G1sz
 Mm1dG1szOW0kIBtbSw0NCgpTY3JpcHQgZG9uZSBvbiBNb24gTWF5IDE0IDE2OjM5OjQxIDIwMDcK
 --=-=-=
 
 
 
 -- 
 Did you ever realize how much text fits in eighty columns? If you now consider
 that a signature usually consists of up to four lines, this gives you enough
 space to spread a tremendous amount of information with your messages. So seize
 this opportunity and don't waste your signature with bullshit nobody will read.
 
 --=-=-=--



More information about the Gdb-prs mailing list