RE: [ROOT] How to debug SegVs received at the root prompt?

From: Brett Viren (bv@bnl.gov)
Date: Mon Jul 30 2001 - 19:39:30 MEST


Philippe Canal writes:
 > This is not my experience.  To debug this type of problem I usually just
 > have to do (note the .exe even on linux).
 > 	gdb root.exe
                ^^^^

Ahh, thanks, Philippe.  When I run gdb on "root.exe" it is able to
catch the SEGV signal.  I was running on "root".  Somehow the
fork/exec that the "root" program does to start "root.exe", was
fooling gdb/me.

Looking at rootx.cxx, besides the splash screen and the setting of
some env. vars. there doesn't seem to be much benefit to using "root"
as opposed to "root.exe".  Might this be better accomplished with a
simple script, such as good ol' paw?  

-Brett.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:53 MET