We've got a little unit test for our multi-threaded coll.det. library.

The unit test itself seems to work fine, however, at exit it crashes.

Here is a stack trace:

#0  0x00000123 in ?? ()
#1 0x21bbf6f6 in osg::MPFieldStore<osg::Lock>::clear (this=0x23907c8c) at /Users/zach/Code/OpenSG-1.8/Source/Base/Base/ OSGThreadManager.inl:147 #2 0x21b8b0f7 in osg::ThreadManager::shutdown (this=0x23907c20) at / Users/zach/Code/OpenSG-1.8/Source/Base/Base/OSGThreadManager.cpp:400 #3 0x21b8b4fb in osg::ThreadManager::terminate () at /Users/zach/ Code/OpenSG-1.8/Source/Base/Base/OSGThreadManager.cpp:247 #4 0x21b70a3c in osg::osgExit () at /Users/zach/Code/OpenSG-1.8/ Source/Base/Base/OSGBaseFunctions.cpp:505 #5 0x0000586c in main (argc=1, argv=0xbffff170) at multithreading.cpp:647

(The source code is 1.8 stable)

If you want, you can look at the source code at http://zach.in.tu- clausthal.de/tmp/multithreading.cpp

Does anyone have a hint / idea why it crashes at the end?

I suspect we make a mistake at creation time of the thread, but i can't see why ...

All hints / suggestions will be appreciated.

Best regards,
Gabriel.

____________________________________________________________
Der Besitz macht uns nicht halb so gluecklich,
als uns der Verlust ungluecklich macht.         (Jean Paul)
____________________________________________________________
Tel.: 05323 - 72 71 13
Inst. fuer Informatik, Julius-Albert-Str. 4, 38678 Clausthal
____________________________________________________________


Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to