LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-29-2004, 03:10 AM   #1
ashwinipahuja
Member
 
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??

Regards
Ashwini
 
Old 03-29-2004, 03:09 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,575

Rep: Reputation: 181Reputation: 181
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
run
(when you get segfault, run
bt
(it lists functions called, find first 'yours', that's the one that causes the problem probably)
 
  


Reply


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 04:20 PM
Segmentation Fault ERROR bluechicken Programming 8 06-30-2005 08:02 AM
Segmentation fault + error on bootup xushi Slackware 9 01-03-2005 06:37 PM
Cannot boot; Segmentation Fault Error Evan P. Linux - Newbie 2 11-24-2003 10:06 AM
The Gimp: Segmentation Fault error Mega Man X Linux - Software 8 10-04-2003 09:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:27 AM.

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