RE: [ROOT] Problem with TString

From: ANCIANT E. (eric_anciant@sodern.fr)
Date: Fri Jan 09 2004 - 14:48:24 MET


I don't know if this is linked, but also with ROOT 3.10/02 WIN2K GDK (visual
6 with a newly installed service pack 5 :-) )
test/TString.exe crashes

(compilation does not show anything wrong :
 cl -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -EHsc  -nologo -G5 -GR -MD -DWIN32
-DVISUAL_CPLUSPLUS -D_WINDOWS -Ip:\root_v3.10.02.win32gdk_Debug/include -O2
-c tstring.cxx
tstring.cxx
        link -opt:ref /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE
/NOLOGO -subsystem:console,4.0 -nologo tstring.obj
p:\root_v3.10.02.win32gdk_Debug/lib/libCore.lib
p:\root_v3.10.02.win32gdk_Debug/lib/libCint.lib p:\root_v3.10.02.win3
2gdk_Debug/lib/libHist.lib  p:\root_v3.10.02.win32gdk_Debug/lib/libGraf.lib
p:\root_v3.10.02.win32gdk_Debug/lib/libGraf3d.lib
p:\root_v3.10.02.win32gdk_Debug/l
ib/libGpad.lib p:\root_v3.10.02.win32gdk_Debug/lib/libTree.lib
p:\root_v3.10.02.win32gdk_Debug/lib/libRint.lib
p:\root_v3.10.02.win32gdk_Debug/lib/libPostscrip
t.lib  p:\root_v3.10.02.win32gdk_Debug/lib/libMatrix.lib
p:\root_v3.10.02.win32gdk_Debug/lib/libPhysics.lib msvcrt.lib oldnames.lib
kernel32.lib  ws2_32.lib msw
sock.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib
MSVCPRT.LIB -out:tstring.exe
"tstring.exe done"

)

but executing it results in an access violation

eric


> -----Message d'origine-----
> De:	Martijn Schellekens [SMTP:Martijn.Schellekens@iota.u-psud.fr]
> Date:	vendredi 9 janvier 2004 10:25
> À:	roottalk@pcroot.cern.ch
> Objet:	[ROOT] Problem with TString
> 
> Hi Rooters,
> 
> I just wanted to report a problem with TString in the latest version: 
> windows gdk 3.10/2
> 
>  >TString hello("hello you")
>  >hello
> (class TString) ""
> 
> whereas the result should have been off course
> (class TString) "hello you"
> 
> Generally speaking TString can not be given any content
> Hence hello.Append(" there") results in the same void string
> 
> This version has been used under windows XP pro, running in a vmware 
> workstation.
> Other objects seemed to work yet I have not done extensive testing.
> 
> Thanks and bye,
> 
> Martijn Schellekens



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET