Re: segmentation fault
From: Tejas Kokje (kokje_at_usc.edu)
Date: 03/22/04
- Next message: Paul Pluzhnikov: "Re: segmentation fault"
- Previous message: Sean Burke: "Re: IDE for C++: KDevelop vs Emacs vs Other"
- In reply to: Tejas Kokje: "segmentation fault"
- Next in thread: Paul Pluzhnikov: "Re: segmentation fault"
- Reply: Paul Pluzhnikov: "Re: segmentation fault"
- Reply: Sean Burke: "Re: segmentation fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Mar 2004 19:40:32 -0800
sorry for the mistake
please visit this link again to download the input file
http://www-scf.usc.edu/~kokje/code.tar
Experts please help me out.
Regards,
Tejas
On Sun, 21 Mar 2004 18:44:24 -0800, Tejas Kokje wrote:
> Hi,
>
> I am getting segmentation fault on solaris. I have written
> code on Linux and I am trying to port it to solaris.
>
> I am giving the link to download my code which is giving segmentation
> fault. Surprising thing is that the code is working perfectly fine on
> Linux.
>
> http://www-scf.usc.edu/~kokje/code.tar
>
> This tar contains the following files
>
> master.c - contains main function
> server2.c - contains the code for tcp server
> child2.c - contains the code for tcp client and is also a udp server
> readconfig.c - reads the configuration file s1.in
> myheader.h - contains header declaration
>
> compile the prog using
>
> gcc -lsocket -lnsl master.c -o master
>
> run using
> ./master < s1.in
>
>
> This code works fine on linux but generates SIGSEGV on solaris.
> Any help on this would be appreciated.
- Next message: Paul Pluzhnikov: "Re: segmentation fault"
- Previous message: Sean Burke: "Re: IDE for C++: KDevelop vs Emacs vs Other"
- In reply to: Tejas Kokje: "segmentation fault"
- Next in thread: Paul Pluzhnikov: "Re: segmentation fault"
- Reply: Paul Pluzhnikov: "Re: segmentation fault"
- Reply: Sean Burke: "Re: segmentation fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|