Ok, I found it, there was a bug in my code.
Anna
--- Begin Message ---
- To: Anna Sidera <eep6sa1@xxxxxxxxx>
- Subject: Re: memory problem?
- From: Galloth <lordgalloth@xxxxxxxxx>
- Date: Wed, 22 Jul 2009 17:00:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=XLk/v8ZK1qLJrcLr5mL4S/ZqMVq3bcPn8rJms4m2xhY=; b=FLCzKfgQQ6GorOBqYyOhGU2qlV1s3ndVP2LHNTUrA+xaar8kwbX4wc3mzB2UhhSRrE 0TQcduHWY2AAbAAc2txCmWu3fWJe4JuUy3w41aMkIx1eA9lDHTvh+GW3S5GoKtzZkMA4 mY/praB3uMyBJf3JUD5PBRyJY2oeZeP0lsZc8=
- In-reply-to: <f60cf00b344c.4a673515@xxxxxxxxx>
- Original-recipient: rfc822;eep6sa1@xxxxxxxxx
- References: <f60cf00b344c.4a673515@xxxxxxxxx>
I myself would focus on memory operations, such as
allocation/deallocation of the memory. Try valgrind to test, if your
memory management is correct.
Jan
2009/7/22 Anna Sidera <eep6sa1@xxxxxxxxx>:
> Hello,
>
> I wrote a simulation program in gcc and it was running without any problem on a unix server.
>
> Now I am running it on another unix server with the same input paramters. It runs for some time and then I get segmentation fault.
>
> Can you please tell me what may be the problem?
>
> Anna
>
--
Jan Kastil
galloth@xxxxxxxxx
--- End Message ---