<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">We had some troubles to run one of our applications linked with Rational Purify (4.2 and 2002) on Solaris 2.5.1 platforms.</font>
<br>
<br><font size=2 face="sans-serif">After investigations, we have localized the trouble. It happens when invoking the libomnithread.so library. The constructor of the static member omni_thread_init (in src/lib/omnithread/solaris.cc) calls the function thr_self() but the thread is not yet created, so segmentation fault occurs.</font>
<br>
<br><font size=2 face="sans-serif">To avoid the trouble, we comment the declaration in omnithread.h (line 642). Otherwise, a better solution should be to create the inner class instance at te omni_thead creation (singleton pattern). This is probably the aim of the static member omni_thread::init_t::count which avoid multiple instances.</font>
<br>
<br><font size=2 face="sans-serif">A future 4.0.7 version should be released soon, I wondered if sutch a patch could be part of it.</font>
<br>
<br><font size=2 face="sans-serif">Thanks a lot for your assistance.</font>
<br>
<br><font size=2 face="sans-serif">Mikael Tintinger</font>