Re: [ROOT] Crash when exiting by .q

From: Valery Fine (fine@bnl.gov)
Date: Wed Aug 30 2000 - 06:18:09 MEST


Hello Francois

I did not try to reproduce what you said myself.
I'd like to highlight if the last version of ROOT is compiled with VC++ v.6.0 and you use these libraries "as is" you have to
compile your piece
of code with the same version of compiler or higher.
This is true for either compiler /platform combination (UNIX included).

           Valery

>   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:32 MET