public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Fwd: Re: memory problem?
@ 2009-07-25  2:03 Anna Sidera
  0 siblings, 0 replies; only message in thread
From: Anna Sidera @ 2009-07-25  2:03 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 50 bytes --]

Ok, I found it, there was a bug in my code.

Anna

[-- Attachment #2: Type: message/rfc822, Size: 3079 bytes --]

From: Galloth <lordgalloth@gmail.com>
To: Anna Sidera <eep6sa1@ucy.ac.cy>
Subject: Re: memory problem?
Date: Wed, 22 Jul 2009 17:00:47 +0200
Message-ID: <5abcb5650907220800t60eb17fbx4e097eb619c18113@mail.gmail.com>

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@ucy.ac.cy>:
> 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@jabbim.cz

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-25  2:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-25  2:03 Fwd: Re: memory problem? Anna Sidera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).