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

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Jul 30 2001 - 19:56:37 MEST


Hi Brett,

 the idea of rootx.cxx (i.e. root) is to set some env vars and also to
give users a prompt feedback that something is happeining, via the splash
screen. Root.exe might take some time due to the loading of all the
shared libs. This was especially valid a few years ago.

Cheers, Fons.



Brett Viren wrote:
> 
> 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.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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