LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2005, 03:17 AM   #1
ims_mca
LQ Newbie
 
Registered: Mar 2005
Location: US
Posts: 2

Rep: Reputation: 0
Thumbs up Segmentation fault error


Hi all,

Iam facing “Segmentation fault” error when trying to execute client exe on MontaVista Linux with pentium3-gcc :
---------------------------------------------------------------------------------------------
The following is the gcc details which Iam using :

gcc version 3.3.1 (MontaVista 3.3.1-3.0.10.0300532 2003-12-24)

pentium3-gcc -v
Reading specs from /opt/montavista/cge/devkit/x86/pentium3/bin/../lib/gcc-lib/i686-hardhat-linux/3.3.1/specs

----------------------------------------------------------------------------------------------

GDB trace is as follows :
(gdb) run
Starting program: /home/shyam/mvlp3/doc/dsg-tutor-src/co_sync/client
[Thread debugging using libthread_db enabled]
[New Thread -1220115072 (LWP 12817)]
[New Thread -1218532432 (LWP 12818)]
[New Thread -1220117584 (LWP 12819)]
[New Thread -1220187216 (LWP 12820)]
[New Thread -1220256848 (LWP 12821)]
Root: to create the Client WKR
[New Thread -1220326480 (LWP 12822)]
Client: to create a local SAP
Client: to connect a channel with server.

Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread -1220326480 (LWP 12822)]
0x0808c1bf in D__sap_bind (sapSrcP=0x8153ffc, evP=0xb74340c0, origReq=2) at sap_async.c:320
320 sap_async.c: No such file or directory.
in sap_async.c

NOTE : The above sap_async.c file already exists.

Pls help me to resolve the above error ASAP
Program received signal SIGSEGV, Segmentation fault.

Last edited by ims_mca; 03-09-2005 at 04:13 AM.
 
  


Reply



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
Memory fault(coredump) error Gigantor Programming 5 10-31-2005 03:11 AM
seg. fault when allocating memory via a pointer inside a struct elmafiacs Programming 4 02-20-2005 07:26 AM
Memory fault russoue Programming 14 11-13-2004 01:01 PM
error: fragmentation fault cscyzl Linux - Software 2 07-28-2004 11:18 AM
Segmentation Fault Error ashwinipahuja Programming 1 03-29-2004 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:11 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
Open Source Consulting | Domain Registration