I am running a program which is compiled using GCC 2.95.3. When I run the program, I get the following error : Segmentation Fault (core dumped)
When i use the gdb debugger to find the issue, it gives the following information : (gdb) break main Breakpoint 1 at 0x7aad4: file Test.cpp, line 7. (gdb) run Starting program: /home/proj/Test Program received signal SIGSEGV, Segmentation fault. 0x00119c80 in _Rb_tree<char const *, pair<char const *const, void *>, _Select1st<pair<char const *const, void *> >, less<char const *>, allocator<void *> >::lower_bound at /usr/local/include/g++-3/stl_tree.h:1169 1169 _Link_type __x = _M_root(); /* Current node. */ (gdb) where #0 0x00119c80 in _Rb_tree<char const *, pair<char const *const, void *>, _Select1st<pair<char const *const, void *> >, less<char const *>, allocator<void *> >::lower_bound at /usr/local/include/g++-3/stl_tree.h:1169 #1 0x00173b2c in map<char const *, void *, less<char const *>, allocator<void *> >::lower_bound at /usr/local/include/g++-3/stl_map.h:190 #2 0x00171bc8 in map<char const *, void *, less<char const *>, allocator<void *> >::operator[] at /usr/local/include/g++-3/stl_map.h:151 (gdb) Is it possible that some library might be missing or do I need to use some compile options in order to get rid of this error. Thanks Neeta. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com