This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Run-time error with bits/basic_string.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]