Re: Crash in std::basic_string
Re: Crash in std::basic_string
- Subject: Re: Crash in std::basic_string
- From: "Sean McBride" <email@hidden>
- Date: Wed, 11 Jan 2006 14:10:49 -0500
- Organization: Rogue Research
On 2006-01-11 20:02, Sascha Kratky said:
>I am porting a C++ command line tool from Linux to OS X 10.4.3 ppc
>using gcc 4.0.1. The program compiles and links without problems.
>Upon running the program I get a crash when the static constructors
>are run in std::basic_string before the main function is called.
>Here's the relevant section from the crash dump:
I believe it is dangerous to rely on the order of static object
construction, maybe that's part of your problem.
Also, you might want to look at this:
<http://gcc.gnu.org/onlinedocs/libstdc++/debug.html>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden