Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, March 2008
crash at exit deleting qt_object_read_write_lock


Message 1 in thread

After rebuilding my app with 4.4.0, I'm getting a crash at exit.  I have 
so far been unable to reproduce this in a simple example, but it is 100% 
reproducible in my real program.

     msvcr90d.dll!operator delete()  + 0xa8 bytes   
 >    QtCored4.dll!QHashData::destroyAndFree()  Line 311 + 0xf bytes    C++
     QtCored4.dll!QHash<void *,int>::freeData(QHashData * x=0x672e456c)  
Line 536    C++
     QtCored4.dll!QHash<void *,int>::~QHash<void *,int>()  Line 249 + 
0x29 bytes    C++
     QtCored4.dll!QReadWriteLockPrivate::~QReadWriteLockPrivate()  + 
0x38 bytes    C++
     QtCored4.dll!QReadWriteLockPrivate::`scalar deleting destructor'()  
+ 0xf bytes    C++
     QtCored4.dll!QReadWriteLock::~QReadWriteLock()  Line 114 + 0x1e 
bytes    C++
     QtCored4.dll!QReadWriteLock::`scalar deleting destructor'()  + 0xf 
bytes    C++
     
QtCored4.dll!QGlobalStaticDeleter<QReadWriteLock>::~QGlobalStaticDeleter<QReadWriteLock>()  
Line 1520 + 0x23 bytes    C++
     QtCored4.dll!`qt_object_read_write_lock'::`8'::`dynamic atexit 
destructor for 'cleanup''()  + 0xd bytes    C++
     QtCored4.dll!_CRT_INIT(void * hDllHandle=0x67000000, unsigned long 
dwReason=0, void * lpreserved=0x00000001)  Line 446    C
     QtCored4.dll!__DllMainCRTStartup(void * hDllHandle=0x67000000, 
unsigned long dwReason=0, void * lpreserved=0x00000001)  Line 557 + 0x11 
bytes    C
     QtCored4.dll!_DllMainCRTStartup(void * hDllHandle=0x67000000, 
unsigned long dwReason=0, void * lpreserved=0x00000001)  Line 507 + 0x11 
bytes    C
     ntdll.dll!_LdrpCallInitRoutine@16()  + 0x14 bytes   
     ntdll.dll!_LdrShutdownProcess@0()  + 0x142 bytes   
     kernel32.dll!__ExitProcess@4()  + 0x42 bytes   
     kernel32.dll!7c81cdee()    
     msvcr90d.dll!___crtExitProcess()  + 0x1b bytes   
     msvcr90d.dll!___freeCrtMemory()  + 0x321 bytes   
     msvcr90d.dll!_exit()  + 0x12 bytes   
     myprogram.exe!__tmainCRTStartup()  Line 595    C
     myprogram.exe!mainCRTStartup()  Line 399    C
     kernel32.dll!_BaseProcessStart@4()  + 0x23 bytes   


To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx