> Hello, > > Yes, I build using the 'Debug Multithreaded DLL' option in MSVC++ for my > project. This should link against the multithreaded run-time libraries. > OK can you provide further information on your application I concern your "multithread lock". How and where you do intstantiate ROOT. Do you use any other "third party" libraries. Do you create your "private" DLL to be loaded with root.exe or you did your own "ROOT-based" application ? Have you your own therads in there? Anyway I can not image the multithread lock caused by any "new" operator unless some part of your code was compiled as "single thread" new itself does nothing special just uses the standard subroutines to allocate memory and keep the track of that. (So far we see no complain like yours) Valery. > Thanks, > > Sawyer > > On Wed, 17 May 2000, Valery Fine wrote: > > > > > > Hello, > > > > > > Could anyone explain the ROOT new operator overloading? I'm running into a > > > huge roadblock where suddenly (meaning this all seemed to work at one > > > point) I cannot allocate ROOT or other objects - even in code that makes > > > no reference to ROOT! I get either a Windows 'R6017 - multithread lock' > > > error, which could indicate something going wrong with the heap or I get > > > an error from ROOT like: "Fatal in <operator new>: storage > > > exhausted" Which will repeat until there is an access violation. From the > > > looks of the stack trace, the same function is being called in an infinite > > > loop within the ROOT core library, until finally an access violation > > > occurs and the application terminates. > > > > > > Unfortunately this is on Windows with MSVC++ & I don't have debug > > > information for the ROOT libraries. > > > > > > Is ROOT doing something that might be overwriting parts of the heap? Has > > > anyone seen something like this before? > > > > > > > > > Can you explain how did you build your project ? > > > > When you link against of the ROOT libraries it is essential to choose the > > "Multithread, Console application, DLL" > > > > Please check the parameters of your project against of those %ROOTSYS%/test/Makefile > > defines > > > > Valery > > > > > > > >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET