-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.2.0
-
None
-
6364c9366f2fc71e53f03d1a148f24209813f997
How to reproduce
- Load two projects with Symbian (Device) target
- Start debugging on device for one project
- Start debugging on device for second project
- It will fail with some error gdbserver
- Stop the second project in Application Output
Stacktrace
0 Debugger::Internal::CodaGdbAdapter::handleRunControlTerminate codagdbadapter.cpp 998 0x6727e515
1 trk::Internal::CallbackMemberPtrImpl<Debugger::Internal::CodaGdbAdapter,Coda::CodaCommandResult const &>::invoke callback.h 74 0x67288669
2 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x67085f04
3 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x6707fb8c
4 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x6708592c
5 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x6707f3d1
6 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x67085621
7 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x6707f18f
8 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x6707ee31
9 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x67098b95
10 QMetaObject::metacall qmetaobject.cpp 238 0x6af7fed1
11 QMetaObject::activate qobject.cpp 3278 0x6af97086
12 QIODevice::readyRead moc_qiodevice.cpp 91 0x6b00c299
13 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x67094b46
14 Coda::CodaDevice::sendRunProcessCommand symbianutilsd 0 0x67099038
15 QMetaObject::metacall qmetaobject.cpp 238 0x6af7fed1
16 QMetaObject::activate qobject.cpp 3278 0x6af97086
17 QWinEventNotifier::activated moc_qwineventnotifier_p.cpp 89 0x6b00f44a
18 QWinEventNotifier::event qwineventnotifier_p.cpp 129 0x6afc58d2
19 QApplicationPrivate::notify_helper qapplication.cpp 4462 0x69efce5e
20 QApplication::notify qapplication.cpp 3862 0x69efabb7
21 QCoreApplication::notifyInternal qcoreapplication.cpp 787 0x6af76841
22 QCoreApplication::sendEvent qcoreapplication.h 215 0x6af7b719
23 QEventDispatcherWin32Private::activateEventNotifier qeventdispatcher_win.cpp 398 0x6afb8ee9
24 QEventDispatcherWin32::processEvents qeventdispatcher_win.cpp 835 0x6afba469
25 QGuiEventDispatcherWin32::processEvents qapplication_win.cpp 1170 0x69fb284e
26 QEventLoop::processEvents qeventloop.cpp 150 0x6af7434e
27 QEventLoop::exec qeventloop.cpp 201 0x6af74480
28 QCoreApplication::exec qcoreapplication.cpp 1064 0x6af76d7d
29 QApplication::exec qapplication.cpp 3737 0x69efa8e8
30 main main.cpp 365 0xe36a7e
31 __tmainCRTStartup crtexe.c 555 0xe3b2af
32 mainCRTStartup crtexe.c 371 0xe3b0df
33 BaseThreadInitThunk kernel32 0 0x763f33ca
34 __RtlUserThreadStart ntdll 0 0x77419ed2
35 _RtlUserThreadStart ntdll 0 0x77419ea5
Lines that crashed:
in CodaGdbAdapter::handleRunControlTerminate(const CodaCommandResult &): const bool emergencyShutdown = m_gdbProc.state() != QProcess::Running && state() != EngineShutdownOk;
It seems that (at least) m_gdbProc is an invalid object.