Re: segmentation fault

From: Tejas Kokje (kokje_at_usc.edu)
Date: 03/22/04


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.



Relevant Pages

  • Re: segmentation fault
    ... Tejas Kokje writes: ... > please visit this link again to download the input file ... >> 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 ...
    (comp.unix.programmer)
  • Re: Using tcl and Expect in AIX
    ... :uncompress: 0653-059 The input file contains bad data; ... What tool do you use to download? ... My first thought is that if you used ftp, and didn't tell ftp to use ...
    (comp.lang.tcl)
  • Re: segmentation
    ... chars, those fields will overflow. ... if your input file contains ... the output whocing the segmentation fault. ...
    (comp.unix.questions)
  • Re: [SLE] apt error
    ... >> Am I crazy or just the usual dumb newbie? ... I think you had a bad download. ... Segmentation fault!!! ...
    (SuSE)
  • Re: tlbimp.exe
    ... Have same exact problem with tlbimb and SmartDocumentWrapper.dll (Vertigo ... Smart Docs). ... How would I find the input file for this? ... > Ideally you should download the Office primary interop assemblies ...
    (microsoft.public.dotnet.security)