Re: [ROOT] Problem with version 3.03.09 on the Windows XP

From: Nick van Eijndhoven (nick@phys.uu.nl)
Date: Tue Sep 24 2002 - 10:04:46 MEST


Hi Rene,
I am running 3.03/09 on win98.
I have installed this version (binaries from the web, the
good old tar file without debug info) on disk in c:\root.
I have also an older version on disk but this is in c:\root_30302.
Attached you find my autoexec.bat (renamed to autoexec.txt to prevent
refusal by virus scanners), .rootrc, rootlogon.cc and rootlogoff.cc.
As said before, as far as I can judge the problems only occur at
first root startup or when root had been swapped out of memory.
Once the root startup works correctly, several .q and startup
sequences continue to work correctly.
This gives me the impression that things might be related to
some uninitialised variable at the root/cint startup phase.

                                           Cheers,
                                            Nick.

-- 
Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl http://www.phys.uu.nl/~nick
--------------------------------------------------------------------------
Org.:    Utrecht University, Faculty of Physics and Astronomy
Address: Princetonplein 5, NL-3584 CC Utrecht, The Netherlands
Phone:   +31-30-2532331(direct) +31-30-2531492(secr.)  Fax: +31-30-2518689
CERN:    +41-22-7679751(direct) +41-22-7675857(secr.)  Fax: +41-22-7679480
Offices: Buys Ballot laboratory Room 710 (Utrecht)   B23 1-020 (CERN)
--------------------------------------------------------------------------
 

Rene Brun wrote:
> 
> Hi Valery, Daniel, Nick,
> 
> We had a few reports (mainly you) indicating that the latest
> versions 3.03/08 or 3.03/09 are not correctly runnning under Windows.
> On the other hand, we also have reports from many people who do not
> see any problems with these versions. Curious!
> I would appreciate if more people running on Windows could report
> success or failure with these latest versions.
> If you have a failure, could you tell me if you have multiple
> versions of Root on your disk and
>  - if you have a .rootrc file, which variables are you redefining
>  - do you have #include statements like #include <iostream> in your
>    rootlogon.C file
> 
> if you run successfully, please send me just one line "it is ok"
> 
> Thanks for your awaited cooperation.
> 
> Rene Brun
> 
> On Fri, 20 Sep 2002, Valeri Fine wrote:
> 
> > Hello Rene
> >
> > I don't think this does explain the observation none has seen before ROOT
> > 3.03.08
> > It sounds by some reason newest ROOT tries to load the RTypesCint.h header
> > file
> > with LoadLibrary Win32 call. i.e. ROOT does treat that text file as DLL
> > (sometimes!!!)
> > No PATH mess may explain this.
> > It sounds some new flag has been introduced that ROOT failed to initialized
> > properly.
> > I am suspecting the initial value of the flag depends of the current random
> > memory cell
> > state.
> >
> >                Just my 2 cents.
> >                                              Valeri
> >
> > ----- Original Message -----
> > From: "Rene Brun" <Rene.Brun@cern.ch>
> > To: "Andrei Daniel" <daniel@jinr.ru.cern.ch>
> > Cc: "Roottalk" <roottalk@pcroot.cern.ch>
> > Sent: Friday, September 20, 2002 4:26 AM
> > Subject: Re: [ROOT] Problem with version 3.03.09 on the Windows XP
> >
> >
> > > Hi Andrei,
> > >
> > > I suspect a problem with PATH, Dynamicpath, MacroPath
> > > The original definitions for DynamicPath and MacroPath is in
> > > $ROOTSYS/etc/system.rootrc, see lines:
> > >
> > >
> > > # Path used by dynamic loader to find shared libraries and macros
> > > # Paths are different for Unix and Windows. The example shows the defaults
> > > # for all ROOT applications for either Unix or Windows.
> > > Unix.*.Root.DynamicPath:    .:$(ROOTSYS)/lib
> > > Unix.*.Root.MacroPath:      .:$(ROOTSYS)/macros
> > > WinNT.*.Root.DynamicPath:   .;$(ROOTSYS)/bin;$(PATH)
> > > WinNT.*.Root.MacroPath:     .;$(ROOTSYS)/macros
> > >
> > > You may have a mismatch between inconsistent definitions of the path
> > > coming from different versions of Root, depending how you install
> > > the system.
> > >
> > > Rene Brun
> > >
> > >
> > > On Fri, 20 Sep 2002, Andrei Daniel wrote:
> > >
> > > > Hallo,
> > > >
> > > > Excuse me. Who can explain what may be wrong with ROOT version 3.03.09
> > > > on
> > > > the PC working under windows XP. Some time it works OK. But some time,
> > > > when I only call root, it generates an error and suggests to send error
> > > > message
> > > > to Microsoft. Some time, during the start it generate message
> > > >
> > > > "The application or DLL d:\root\include\RTypesCint.h is not a valid
> > > > Windows image.
> > > > Please check this against your installation diskette".
> > > >
> > > > If I simply delete all files in the directory root and back to the
> > > > version 3.03.07
> > > > then ROOT works stably without errors. I had approximately the same
> > > > problems
> > > > with version 3.03.08. And I never faced with similar ROOT behavior
> > > > previously.
> > > >
> > > > Sincerely Yours,
> > > > Andrei
> > > >
> > > > ----------------------------------------------
> > > > Andrei Daniel
> > > > FLNR, JINR, Dubna 141980 Russia
> > > > e-mail: daniel@jinr.ru
> > > > tel: 7 (09621) 64568   fax: 7 (09621) 65083
> > > >
> > > >
> > >
> >



################################################################# # Global .rootrc for ROOT sessions/jobs. # More specific functionality can be obtained by providing a # customized file ".rootrc" in the working directory. # # --- NvE 09-oct-1997 UU-SAP Utrecht ################################################################# # ### Set search paths WinNT.*.Root.DynamicPath: .;$(HOME)\cxx\libs;$(ROOTSYS)\bin WinNT.*.Root.MacroPath: .;$(HOME) # ### Identify logon etc... files // Rint.Load: rootalias.cc Rint.Logon: rootlogon.cc Rint.Logoff: rootlogoff.cc Rint.History: $(HOME)\root_hist.C # ### (De)Activate memory statistics Rint.Root.MemStat: 0 # ### (De)Activate registration of objects in gObjectTable Root.ObjectStat: 0 # ### Set tags for documentation generation Root.Html.Author: //--- Author: Root.Html.LastUpdate: //- Modified: ### Root.Html.Copyright: // Copyright @ECHO OFF PROMPT $p$g set PATH=%PATH%;c:\cmz;c:\emacs;c:\mayura;c:\cvs set TEMP=c:\temp set HOME=c:\nick set MEHOME=c:\emacs set CVSROOT=:local:c:\nick\cvs\cvsroot set CVSEDITOR=c:\emacs\ntnot.exe set VISUAL=%CVSEDITOR% rem set PATH=%PATH%;c:\gcc\bin rem set COMPILER_PATH=/gcc rem set CPLUS_INCLUDE_PATH=/gcc/include/g++:/gcc/include/gcc rem set C_INCLUDE_PATH=/gcc/include/gcc rem set OBJC_INCLUDE_PATH=/gcc/include/objc:/gcc/include/gcc rem set LIBRARY_PATH=/gcc/lib/start:/gcc/lib:/gcc/lib/gcc:/gcc/lib/g++ set TMPDIR=c:\temp set ROOTSYS=c:\root set PATH=%PATH%;%ROOTSYS%\bin set MSVCDIR=c:\msvc set PATH=%PATH%;%MSVCDIR%\BIN;%MSVCDIR%\DLL set INCLUDE=%MSVCDIR%\include;%INCLUDE% set LIB=%MSVCDIR%\lib;%LIB% set MYLIBS=c:\nick\cxx\libs set PATH=%PATH%;c:\texmf\miktex\bin set PATH=%PATH%;c:\vrvs set PATH=%PATH%;c:\netpbm\bin;c:\nick\utilsnve doskey @SET CLASSPATH=C:\PROGRA~1\PHOTOD~1.0\ADOBEC~1



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:11 MET