Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > seg fault because stdexcept.cc not found?

Reply
Thread Tools

seg fault because stdexcept.cc not found?

 
 
Corrine
Guest
Posts: n/a
 
      11-27-2003
Running my C++ program gives me a seg fault, with the following error
info given by gdb:

Program received signal SIGSEGV, Segmentation fault
0x4b3cc in _ZN5ImageD1Ev () at ../../../../src/libstdc++-v3/src/stdexcept.cc:76
76 ../../../../src/libstdc++-v3/src/stdexcept.cc: No such file or directory.

What's going on?
 
Reply With Quote
 
 
 
 
Gianni Mariani
Guest
Posts: n/a
 
      11-27-2003
Corrine wrote:
> Running my C++ program gives me a seg fault, with the following error
> info given by gdb:
>
> Program received signal SIGSEGV, Segmentation fault
> 0x4b3cc in _ZN5ImageD1Ev () at ../../../../src/libstdc++-v3/src/stdexcept.cc:76
> 76 ../../../../src/libstdc++-v3/src/stdexcept.cc: No such file or directory.
>
> What's going on?


The "No such file or directory." is a message from gdb saying that it
can't find the file - no biggie. The "segfault" is because your code is
broken somehow. If you find stdexcept.cc and look at line 76, you might
get a hint at what the problem is, no guarentee though.

BTW - this is off-topic for comp.lang.c++ , you should try
comp.unix.programmer, this group might be better suited to these kinds
of questions. In comp.lang.c++, we're a bunch-o-grumpy C++ nuts (said
in the kindest way - truly ) and don't like questions that are not
specific to C++ as it is written in the standard.




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
seg fault in linux but not cygwin johnty C Programming 36 02-16-2010 10:34 AM
OpenStruct, OpenObject both seg fault, this does not, anything wrong? aktxyz@gmail.com Ruby 1 11-16-2007 09:21 PM
Seg Fault - Can not access memory ? Mahendra Kumar Kutare C Programming 7 10-29-2007 01:02 AM
Seg Fault - Can not access memory ? Mahendra Kumar Kutare C Programming 0 10-17-2007 07:38 PM
Seg Fault - Can not access memory ? Mahendra Kumar Kutare C Programming 0 10-17-2007 07:28 PM



Advertisments