LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Program received signal SIGSEGV, Segmentation fault (https://www.linuxquestions.org/questions/linux-distributions-5/program-received-signal-sigsegv-segmentation-fault-299507/)

ims_mca 03-09-2005 04:16 AM

Program received signal SIGSEGV, Segmentation fault
 
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.


All times are GMT -5. The time now is 08:37 PM.