Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-29-2004, 02:10 AM   #1
Registered: Mar 2004
Posts: 79

Rep: Reputation: 15
Segmentation Fault Error

Hi all
I am getting segmentation fault errors in stl_construct.h
The exception message is shown as
No source 0x0804eb4d in_Construct <long unsigned int,long unsigned int> (_p=0x4,_value=@0xbffff924) at /usr/include/c++/3.2 .

Does anyone has some idea??

Old 03-29-2004, 02:09 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,662

Rep: Reputation: 210Reputation: 210Reputation: 210
Run the program under gdb and see which function was calles before. It should allow you to find where more or less you have a problem. It's hard to help moe without having the code.

How to use gdb:
gdb progname
(when you get segfault, run
(it lists functions called, find first 'yours', that's the one that causes the problem probably)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Qt application: segmentation fault error dr_berta Programming 2 10-24-2005 03:20 PM
Segmentation Fault ERROR bluechicken Programming 8 06-30-2005 07:02 AM
Segmentation fault + error on bootup xushi Slackware 9 01-03-2005 05:37 PM
Cannot boot; Segmentation Fault Error Evan P. Linux - Newbie 2 11-24-2003 09:06 AM
The Gimp: Segmentation Fault error Mega Man X Linux - Software 8 10-04-2003 08:07 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration