Hi,

Before stating the issue we have, please let us thank you very much for 
OSG 2.2. Quality is continuously improving in OSG.

We have moved our app to this version, 2.2.0. We are now using 
osgViewer::Viewer wrapped into a QT 4 Widget as in osgviewerQT.
We currently have a crash on application exit under Mac OS X.

Everything goes OK until the osgViewer:Viewer is destroyed. System stack 
trace is pasted below.

Are there any other report of such thing ?
Could it be that destructor is not called at the right time during the 
update cycle ?

Thanks in advance for your answers,

Antoine



-------

Date/Time:      2007-12-10 23:43:26.285 +0100
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: LePetitPoucet
Path:   
/Users/bruno/tmp/pti_bin/LePetitPoucet/LePetitPoucet.app/Contents/MacOS/LePetitPoucet
Parent:  WindowServer [60]

Version: ??? (???)

PID:    26946
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at
0x0e2570a8

Thread 0 Crashed:
0   GLEngine                            0x0f3c9db1
glDeleteTextures_Exec + 11
1   libGL.dylib                         0x92b2698e
glDeleteTextures + 90
2   libosg.2.2.0.dylib                  0x00460019
TextureObjectManager::flushAllTextureObjects(unsigned)
+ 83
3   libosg.2.2.0.dylib                  0x00460079
osg::Texture::flushAllDeletedTextureObjects(unsigned)
+ 37
4   libosg.2.2.0.dylib                  0x003fab7e
osg::GraphicsContext::close(bool) + 1002
5   libosgViewer.2.2.0.dylib            0x00233268
osgViewer::Viewer::~Viewer [not-in-charge]() + 306
6   LePetitPoucet                       0x000276d9
ptiApp::QOsgWidget::~QOsgWidget [in-charge deleting]()
+ 145
7   LePetitPoucet                       0x0000d2e6
ptiApp::PtiMainWindow::~PtiMainWindow [in-charge
deleting]() + 68
8   LePetitPoucet                       0x00013526
ptiApp::Application::cleanUpAndExit() + 36
9   LePetitPoucet                       0x00018002
ptiApp::Application::qt_metacall(QMetaObject::Call,
int, void**) + 328
10  libQtCore.4.dylib                   0x0213aa5e
QMetaObject::activate(QObject*, int, int, void**) +
1228
11  libQtCore.4.dylib                   0x0214e5e1
QCoreApplication::aboutToQuit() + 49
12  libQtCore.4.dylib                   0x0212f3ab
QCoreApplication::exec() + 217
13  LePetitPoucet                       0x0001708a main +
502
14  LePetitPoucet                       0x000083a6 _start
+ 216
15  LePetitPoucet                       0x000082cd start +
41

Thread 1:
0   libSystem.B.dylib                   0x90026d5c kevent
+ 12
1   ...ple.CoreServices.CarbonCore      0x90cb8c68
PrivateMPEntryPoint + 51
2   libSystem.B.dylib                   0x90024227
_pthread_body + 84

Thread 2:
0   libSystem.B.dylib                   0x900248c7
semaphore_wait_signal_trap + 7
1   ...ple.CoreServices.CarbonCore      0x90cb8e0d
MPWaitOnQueue + 198
2   com.apple.DesktopServices           0x9271e953
TNodeSyncTask::SyncTaskProc(void*) + 143
3   ...ple.CoreServices.CarbonCore      0x90cb8c68
PrivateMPEntryPoint + 51
4   libSystem.B.dylib                   0x90024227
_pthread_body + 84

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x0e252020  ebx: 0x92b26942  ecx: 0x00000000 
edx: 0x0288fc00
  edi: 0xa2b2400c  esi: 0xbffff3b0  ebp: 0xbffff3a8 
esp: 0xbffff350
   ss: 0x0000001f  efl: 0x00010286  eip: 0x0f3c9db1  
cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000  
gs: 0x00000037


Binary Images Description:
...

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

Reply via email to