🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49781

Re: libg++ 2.5.1: serious new/delete problems?

#49781
From: Michael Held
Date: Thu, 09 Dec 1993 08:16
33 lines
2109 bytes
boutell@netcom.com (Thomas Boutell) writes:

> Am I the only one having serious problems with delete segfaulting
> on programs that worked fine with older versions of libg++?
> I've just built 2.5.1 for linux, and delete[] in particular seems
> to fail in situations that are verifiably correct.
>
> I'm still trying to come up with a short sample program to verify
> it. I also don't know if it's the fault of me, libg++ or
> the new Linux libc and patchlevel. So I'd appreciate feedback
> from those using libg++ 2.5.1 successfully on any architecture.
> 
> In particular, if you are using libg++ strings (the String class)
> successfully with libg++ 2.5.1, let me know-- I can't even get
> a program using those off the ground (it dies in the Regex::
> global constructor before main even kicks in). Probably a clue
> that my problems aren't due entirely to my own errors, since
> the String class can't get through the murk either.
> 
> Help!
Me too, me too.

I had some problems compiling flexfax on a Sun 4/470 using gcc-2.5.5 with
libg++-2.5.1. I traced the problems down to a call of 'new'. The adress
delivered was already in use by another class.

So there seem to be some problems with 'new'.

> -T
> -- 
> boutell@netcom.com, purveyor of fine HTML pages to the biology trade.

michael
Technical Details
Message-ID: <MICHAEL.93Dec9091644@luegfix.microelectronic.e-technik.th-darmstadt.de>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!fauern!news.th-darmstadt.de!news.th-darmstadt.de!michael
References: <boutellCHF1MM.FnD@netcom.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,fa5cf4505a288f50
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-09 21:38:32 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!fauern!news.th-darmstadt.de!news.th-darmstadt.de!michael
From: michael@luegfix.microelectronic.e-technik.th-darmstadt.de (Michael Held)
Newsgroups: gnu.gcc.help
Subject: Re: libg++ 2.5.1: serious new/delete problems?
Date: 09 Dec 1993 08:16:44 GMT
Organization: TH-Darmstadt
Lines: 35
Distribution: gnu
Message-ID: <MICHAEL.93Dec9091644@luegfix.microelectronic.e-technik.th-darmstadt.de>
References: <boutellCHF1MM.FnD@netcom.com>
NNTP-Posting-Host: luegfix.microelectronic.e-technik.th-darmstadt.de
In-reply-to: boutell@netcom.com's message of Thu, 2 Dec 1993 16:25:34 GMT