Re: Segmentation Fault - How to debug?

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 21 Jan 2008 08:17:46 +0100


In general this indicates a problem with your destructors, or a double delete.
Run your program under gdb (or valgrind) and analyze the traceback.

Rene Brun

Deepak Kar wrote:
> Hi,
> My code runs under ROOT perfectly till the end, printing out correct
> statistics, filling up histograms - however then it crashes with
> "segmentation fault", without printing out anything else. Is there a
> way I can know where/how exactly it is crashing? A very similar code
> runs fine though! I am not even sure if the problem is with the code.
>
> Thanks,
> Deepak
>
>
>
Received on Mon Jan 21 2008 - 08:14:49 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 22 2008 - 23:50:01 CET