Hi,

On Friday 27 June 2008 14:12, Mario Valle wrote:
> Deleted CMakeCache.txt, ccmake .
> recompiled, but it continue crashing. In GDB this time I have:
>
> Starting program: /local/OSG/OpenSceneGraph/bin/osgthirdpersonview
> [Thread debugging using libthread_db enabled]
> [New Thread 0xb6a66910 (LWP 6697)]
> /local/OSG/OpenSceneGraph/bin/osgthirdpersonview: Could not find specified
> files. Trying "cow.osg" instead.
> [New Thread 0xb5f6cb90 (LWP 6708)]
> [New Thread 0xb576bb90 (LWP 6709)]
> [New Thread 0xb4f6ab90 (LWP 6710)]
> [New Thread 0xb4769b90 (LWP 6711)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb576bb90 (LWP 6709)]
> osg::OperationQueue::getNextOperation (this=0x814b4c0, blockIfEmpty=true)
>      at /local/OSG/OpenSceneGraph/include/OpenThreads/Atomic:107
> 107         return ++_value;
> (gdb) where
> #0  osg::OperationQueue::getNextOperation (this=0x814b4c0,
> blockIfEmpty=true) at
> /local/OSG/OpenSceneGraph/include/OpenThreads/Atomic:107
> #1  0xb7edc331 in osg::OperationThread::run (this=0x814b3d0)
>      at /local/OSG/OpenSceneGraph/src/osg/OperationThread.cpp:399
> #2  0xb7fb1093 in OpenThreads::ThreadPrivateActions::StartThread
> (data=0x814b3dc) at
> /local/OSG/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++:170 #3 
> 0xb7a67192 in start_thread () from /lib/libpthread.so.0
> #4  0xb766702e in clone () from /lib/libc.so.6
>
> My ./include/OpenThreads/Config has all the 5 #undef commented out.
>
> If I manually define _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS as you have, osg
> does not build. Idem for what seems the most obvious fallback:
> _OPENTHREADS_ATOMIC_USE_MUTEX.
>
> I should add that I have: gcc (GCC) 4.2.1 (SUSE Linux) and cmake version
> 2.4-patch 7

Can you please start a build from scratch in an empty directory and tell me if 
this still does not work?

You may start cmake with --debug-trycompile and provide the output of 
<builddir>/CMakeFiles/CMakeError.log.

GReetings and thanks

MAthias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to