Robert,
The cygwin group has made a few changes in their threading I noticed
and also a couple changes to the debugger so I decided to give OSG a
try just to see if we get closer. I did a little better getter a
backtrace with a few things I picked up but still have a couple
questions.
Enclosed is a backtrace of the osgconvd at the point is generates a
SIGSEGV. Not sure if this is much help at this point but I was curious
if you can give me some idea what it might be using that causes the ??.
I know that probably means I am working with a stripped non debug
version of something - I'm just not sure what or how to find out.
I am working with a debug version of the Cygwin Dll and the OSG
application and libraries and I was able to do an strace of osgconvd
running but I haven't had a chance to wade through it yet.
Any ideas how I might carry this further.
--
Brian Keener
[EMAIL PROTECTED] /usr/local/bin/osgPlugins-2.3.7
$ gdb osgconvd
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) set args cow.osg brian.osg
(gdb) set cygwin-exceptions on
(gdb) run
Starting program: /usr/local/bin/osgconvd.exe cow.osg brian.osg
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/local/bin/cygosgDBd-2.3.7.dll
Loaded symbols for /usr/local/bin/cygOpenThreadsd-2.2.1.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll
Loaded symbols for /usr/local/bin/cygosgd-2.3.7.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/glu32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/msvcrt.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/opengl32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/gdi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/user32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/ddraw.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/dciman32.dll
Loaded symbols for /usr/local/bin/cygosgUtild-2.3.7.dll
Loaded symbols for /usr/local/bin/cygosgViewerd-2.3.7.dll
Loaded symbols for /usr/local/bin/cygosgGAd-2.3.7.dll
Loaded symbols for /usr/local/bin/cygosgTextd-2.3.7.dll
Program received signal SIGSEGV, Segmentation fault.
0x610d5de9 in pthread_mutexattr_init (attr=0x23cb50)
at /usr/develop/src/src/src/winsup/cygwin/thread.cc:123
123 if ((*object)->magic != magic)
(gdb) thread apply all bt
Thread 2 (thread 3936.0xe64):
#0 0x7c90eb94 in ntdll!LdrAccessResource ()
from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1 0x7c90e288 in ntdll!ZwReadFile ()
from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2 0x7c801875 in ReadFile () from
/cygdrive/c/WINDOWS/system32/kernel32.dll
#3 0x00000730 in ?? ()
#4 0x00000000 in ?? ()
Thread 1 (thread 3936.0xacc):
#0 0x610d5de9 in pthread_mutexattr_init (attr=0x23cb50)
at /usr/develop/src/src/src/winsup/cygwin/thread.cc:123
#1 0x610b2c98 in _sigfe ()
at /usr/develop/src/src/src/winsup/cygwin/cygerrno.h:31
#2 0x0023cb90 in ?? ()
#3 0x00000004 in ?? ()
#4 0x00000001 in ?? ()
#5 0x00000028 in ?? ()
#6 0x0023cbb8 in ?? ()
#7 0x00ade1af in OpenThreads::ReentrantMutex::ReentrantMutex
(this=0xc25ab0)
at /usr/src/OpenSceneGraph/include/OpenThreads/ReentrantMutex:29
#8 0x00ade1af in OpenThreads::ReentrantMutex::ReentrantMutex
(this=0xc25ab0)
at /usr/src/OpenSceneGraph/include/OpenThreads/ReentrantMutex:29
---Type <return> to continue, or q <return> to quit---
#9 0x00a474e7 in __static_initialization_and_destruction_0 (
__initialize_p=1, __priority=65535)
at /usr/src/OpenSceneGraph/src/osg/GraphicsContext.cpp:188
#10 0x00a475ee in global constructors keyed to
_ZN3osg15GraphicsContext27setWind
owingSystemInterfaceEPNS0_24WindowingSystemInterfaceE ()
at /usr/src/OpenSceneGraph/src/osg/GraphicsContext.cpp:290
#11 0x61020493 in per_module::run_ctors (this=0x0)
at /usr/develop/src/src/src/winsup/cygwin/dll_init.cc:54
#12 0x00000001 in ?? ()
#13 0x610204e0 in dll::init (this=0x610208bc)
at /usr/develop/src/src/src/winsup/cygwin/dll_init.cc:80
#14 0x08840008 in ?? ()
#15 0x00000000 in ?? ()
(gdb)
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org