Hi Jim,

Good to hear that you've got to the bottom of the problem.  Now you've
explained the cause and solution it does remind a bit of when the OSG
was first ported to FreeBSD - this was 7 years ago so a bit of dim
recollection, but I think even then there might have been this need to
make sure the the 3rd party apps required an explicit link to
pthreads, my recollection is rather vague though, twas quite a few
moons ago...

Robert.

On Jan 29, 2008 3:17 AM, Jim Brooks <[EMAIL PROTECTED]> wrote:
> This had me fooled.
> The call stack seemed to indicate an Nvidia OpenGL bug
> But it wasn't.
>
> #2  0x28913b78 in abort () from /lib/libc.so.6
> #3  0x2895bc6f in pthread_testcancel () from /lib/libpthread.so.2
> #7  0x28a0314d in _nv000007gl () from /usr/local/lib/libGL.so.1
> #8  0x28a725e4 in ?? () from /usr/local/lib/libGL.so.1
> #19 0x28fd1937 in _nv000486gl () from /usr/local/lib/libGLcore.so.1
>
> FreeBSD has different thread libs.
> Mixing them was the real cause.
>
> Solution was to add "pthread" to TARGET_LINK_LIBRARIES
> in CMakeLists.txt (of my app).
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to