🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #809

Re: Linux Slak 3.0 g++ 2.7.0 problem (?) Help!!!

#809
From: Albert Golembiowski
Date: Mon, 30 Oct 1995 22:50
22 lines
1678 bytes
ag> From: drosos@abrdr.dreo.dnd.ca (Tasos Drosopoulos) writes:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<snip>
ag> I designed. The program runs fine and gives me the right results. However, at 
ag> the end it throws me a segmentation fault message. Interestingly enough, 
ag> the g++ 2.7.0 that I compiled from the GNU sources for our lab's Sparkstation 

I propose that you run it under gdb which means that you compile
everthing with `-g' that you're linking with (of your own stuff,
`-lg++' you can trust for now). Usually, backtracing with gdb
localizes the problem, where you stil need to do your own sleuthing.

I always main two version of the same library, libMy++.a and
libMy++_debug.a. In case of any hanky-panky like a segfault, I switch 
to the latter, which also features bound checking. Many segfaults are
due to boundaries overruns.

-- 
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Albert Golembiowski      albert@inrs-telecom.uquebec.ca         (514) 762-8655
INRS Telecommunications, 16 Place du Commerce, Verdun, Quebec, Canada, H3E 1H6
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Technical Details
Message-ID: <9510302011.AA07360@brie>
Path: arc1-ca.pugleaf.net!inrs-telecom.uquebec.ca!albert
References: <472viv$sou@nouvelles.e33.dreo.dnd.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!inrs-telecom.uquebec.ca!albert
From: albert@inrs-telecom.uquebec.ca (Albert Golembiowski)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: Re: Linux Slak 3.0 g++ 2.7.0 problem (?) Help!!!
Date: 30 Oct 1995 17:50:34 -0500
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Sender: daemon@cis.ohio-state.edu
Distribution: world
Message-ID: <9510302011.AA07360@brie>
References: <472viv$sou@nouvelles.e33.dreo.dnd.ca>