public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* debugging a Segmentation fault
@ 2004-10-07  6:43 Karthik Vishwanath
  0 siblings, 0 replies; 4+ messages in thread
From: Karthik Vishwanath @ 2004-10-07  6:43 UTC (permalink / raw)
  To: linux-newbie

Hello,

I develop a monte-carlo code written in standard C. I recently decided to
"add features" to the previous stable version and now the code aborts with
a Segmentation fault. I suspect the code is executing different parts of
the code before crashing, on different runs (and therefore crashing at
different points?).  There is no core dumped either.

Can I discover which source-line caused the program to abort (or get
information about which function it was, etc.), or trap the signal 
within the code and print out details -- how? 

Please excuse me if this post is off-topic for this list -- can some one
please point me to a list where such questions are not, otherwise/as well? 


Thanks! 

-K



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-07  9:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0410062117530.13932-100000@legolas.personal. engin.umich.edu>
2004-10-07  7:05 ` debugging a Segmentation fault Ray Olszewski
2004-10-07  9:36   ` Jim Nelson
2004-10-07  9:42     ` Jim Nelson
2004-10-07  6:43 Karthik Vishwanath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox