Hi,
On 12/05/10 10:42, Paweł Góralski wrote:
J.P. Delport wrote:
Hi,
Maybe send the output of cmake as well, e.g. how it configured
OpenThreads etc.
I've posted complete configure script output(from Fedora 10) in one of my
previous posts (Mon May 10, 2010 10:51 am) in this thread. And I've noticed one
difference between Ubuntu and Fedora builds.
I've configured everything in the same folder. Test
_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS fails under FC10.
I've forced the use of mutex [1] for atomic in OpenThreads and can then
reproduce your problems under Debian - increasing memory use by
osgviewer cow.osg.
It therefore seems there is a leak in the mutex code path for atomic in
OpenThreads. I don't have time to investigate further.
rgds
jp
[1] Use the attached file
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27777#27777
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
# Check for availability of atomic operations
# This module defines
# OPENTHREADS_HAVE_ATOMIC_OPS
INCLUDE(CheckCXXSourceRuns)
SET(_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS 0)
SET(_OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS 0)
SET(_OPENTHREADS_ATOMIC_USE_SUN 0)
SET(_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED 0)
SET(_OPENTHREADS_ATOMIC_USE_BSD_ATOMIC 0)
IF(NOT _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS AND
NOT _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS AND
NOT _OPENTHREADS_ATOMIC_USE_SUN AND
NOT _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED AND
NOT _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC)
SET(_OPENTHREADS_ATOMIC_USE_MUTEX 1)
ENDIF()
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org