swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segmentation fault


From: pauljohn
Subject: Re: segmentation fault
Date: Sun, 08 Jul 2001 20:35:59 -0500

No need to worry! GDB is your friend! Have you used it? There are many
tutorials on the web. I wrote something for a class last year:

http://lark.cc.ukans.edu/~pauljohn/ps909/

Marcello Gallucci wrote:
> 
> Hello
> 
> after one year of swarming and fun, I eventually entered the
> programmer's nightmare: segmentation fault.
> 
> It happened before, of course, but this time it's pretty though. I get
> a segmentation fault only if a series of actions take places, a series
> that is far to complex to me to trace down. Any debugging strategy I
> used did not work. My question here is: How would you approach a code
> that produces a segmentation fault? I know it is a very vague
> question, the answer is specific to the code, and there are many
> reasons why segmentation fault occurs. My question is more about
> debugging tools. Does anybody have a general approach in mind, like a
> heuristic, a debugging tool, some miracle-making gear to face the
> segmentation fault problem?
> 
> I'm sorry for the weird question, but my night sleep is getting more
> and more segmented and faulty:-)
> 
> thanks
> marcello
> 
> P.S.
> I operate on Linux mandrake 7. swarm2.1.1
> 
>
-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]