ASSERT: "!isEmpty()" in file ..\..\2010.05\qt\include/QtCore/../../src/corelib/tools/qlist.h, line 271
glTrail --twitter always crashes about 5 seconds after a twitter message is shown. A few twitter messages are shown before it crashes.
Windows reports:
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
When run under QtCreator, I see the following on the Application Output panel:
Starting C:\Qt\glTrail\src\bin\gltrail.exe... ASSERT: "!isEmpty()" in file ....\2010.05\qt\include/QtCore/../../src/corelib/tools/qlist.h, line 271 Invalid parameter passed to C runtime function. Invalid parameter passed to C runtime function. QWaitCondition: Destroyed while threads are still waiting C:\Qt\glTrail\src\bin\gltrail.exe exited with code 3
Windows 7 (no SP) Qt Creator 2.0.1 Qt 4.7.0 (32 bit)
I don't have experience working with QtCreator. I'm still trying to discover which thread crashed and how to get a backtrace.
The most suspicious thread is thread number 2, at qvector.h:
} QT_CATCH (const std::bad_alloc &) {
if (aalloc > d->alloc) // ignore the error in case we are just shrinking.
QT_RETHROW; // << HERE
}
Any ideas?