Dear MacRooters
I am attaching a short demo library, called libCSMathUtils, which
I have created from a much more complex library libStatUtils.
Sorrowly, for an unknown reason root crashes when trying to load
the library libCSMathUtils.so. As you can see from the following
output, loading my large library libStatUtils.so is ok, but
loading the new short library libCSMathUtils.so is not possible:
Christian-Stratowas-Computer:~/ROOT/rootcode/StatUtils cs$ root
-
*
-
W E L C O M E to R O O T *
-
*
- Version 4.01/01 23 July 2004 *
-
*
- You are welcome to visit our Web site *
-
[root.cern.ch](http://root.cern.ch) *
-
*
FreeType Engine v2.1.3 used to render TrueType fonts.
Compiled for macosx with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] gSystem->Load(“libStatUtils.so”)
(int)0
root [1] gSystem->Load(“libCSMathUtils.so”)
*** Break *** segmentation violation
Root > dyld: /Users/cs/ROOT/root/bin/root.exe dead lock (dyld operation attempted in a thread already doing a dyld operation)
Christian-Stratowas-Computer:~/ROOT/rootcode/StatUtils cs$
Interestingly, once again this seems to be a Mac-specific problem.
Do you have any idea why root crahses when trying to load this libary?
Best regards
Christian
mathutils.tar.gz (3.37 KB)