This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Run-time error with bits/basic_string.h
- From: "Matt" <bigvacub at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 13 Nov 2002 14:53:42 -0500
- Subject: Run-time error with bits/basic_string.h
- Bcc:
I have built a program using GCC 3.0.1. When I try to run it, I get a
Segmentation Fault. When I use GDB to debug the core file, I get the
following:
#0 _Z41__static_initialization_and_destruction_0ii (__initialize_p=1,
__priority=65535)
at /users/hodgem/gcc301/build/include/g++-v3/bits/basic_string.h:246
246 { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); }
The program dies before it gets to main() so I can't use the debugger to
trace through. I haven't been able to find anyone else who's run into this
problem on the web.
Help would be greatly appreciated.
Matt
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail