Re: [ROOT] Crash when exiting by .q

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Aug 23 2000 - 08:53:01 MEST


Hi Xavier,
I cannot reproduce this problem with the version 2.25/02.
It could be that the problem is connected with your use of VC++ version 5.
I suggest the following:
 -import 2.25/02 and try
 -if the problem persists, upgrade to VC++ version 6.

Are you getting the problem also with the statndard Root executable module?

Rene Brun


GENTIT Francois-Xavier DAPNIA wrote:
> 
>   Dear Rooters,
>   Since I have switched to ROOT 2.25/00, I suffer from the following strange
> behaviour for all programs that I run in debug mode under Visual C++ 5.0 on
> Windows NT ( I mean all programs based on ROOT and using a main(), not dll )
> :
>   Suppose I launch my program by hitting the F5 key and that the only thing
> I do in the ROOT windows is :
> 
> root [0] .q
> 
>   then, the program crashes with the following message :
> 
> First-chance exception in litrani.exe (LIBCORE.DLL)
> 0xC0000005 : Access violation
> 
>   Notice that in that case, the only portion of my code which is executed is
> main(), which is 100% standard, a perfect copy of the main program proposed
> in the manual "ROOT Overview".
>   Notice also that if I do something before doing .q, everything works well
> until I do .q , where the program crashes with the same message.
>   If I launch my program by clicking on the icon, i.e. not under Visual C++,
> the problem disappears.
> 
>   Have you an idea about this behaviour ? Have I to switch to Visual C++ 6.0
> ? Thanks in advance.
> 
>           F.X. Gentit
>           DAPNIA/SPP CEN Saclay
>           tel : 01 69 08 30 38     fax : 01 69 08 64 28
>           web : http://home.cern.ch/~gentit/



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET