RiverWare 6.2 Development; 1-24-2012.
Crash loading Accounting regression test after having loaded paired down URGWOM calibration model (a version with only 40 timesteps) on Windows 7, 64-bit.
This SimWS call:
virtual bool execute(bool loadOk, QString& error) { return (_obj->*_method)(loadOk, _clientData, error); }
.. is resulting in a call into a dead Slot. (The 'this' Slot pointer itself looks OK, but the memory at that slot pointer is bad).
bool Slot::doneLoadingNoteCmd(bool loadOk,
DoneLoadingData* /*clientData*/,
QString& error)
> riverware.exe!QMap<__int64,AnnoNoteAssoc>::detach() Line 182 + 0xe bytes C++ riverware.exe!QMap<__int64,AnnoNoteAssoc>::begin() Line 348 + 0x18 bytes C++
riverware.exe!Slot::doneLoadingNoteCmd(bool loadOk=true,
DoneLoadingData * __formal=0x0000000000000000, QString & error={...}) Line 1019 + 0x1c bytes C++
riverware.exe!DoneLoadingCmd<Slot>::execute(bool loadOk=true, QString & error={...}) Line 182 C++
riverware.exe!SimWorkspace::executeDoneLoadingCmds(bool loadOk=true, QString & error={...}) Line 5441 + 0x38 bytes C++ riverware.exe!SimWorkspace::doneLoading(bool status=false, QString & error={...}) Line 5322 + 0x3b bytes C++ riverware.exe!SimWorkspace::load(cwfpointer & fp={...}, QString & error={...}, bool isModelFile=true) Line 5240 + 0x1f bytes C++ riverware.exe!SimWorkspace::loadModelFile(const rwFile & fileObj={...}, cwfpointer & fp={...}, QString & error={...}) Line 4762 + 0x20 bytes C++ riverware.exe!LoadFileObj<SimWorkspace>::operator()(const rwFile & fileObj={...}, cwfpointer & fp={...}, QString & error={...}) Line 202 C++ riverware.exe!loadFile<guiLoadFileCompare,LoadFileObj<SimWorkspace>,guiLoadFileError>(guiLoadFileCompare & compareObj={...}, LoadFileObj<SimWorkspace> & loadObj={...}, guiLoadFileError & errorObj={...}, rwFile & fileObj={...}, const cwVersion & expectedVersion={...}, bool migrateVersion=false, bool transitional=false) Line 125 + 0x1f bytes C++ riverware.exe!loadModelFile(const char * path=0x00000000069727c8) Line 886 + 0x126 bytes C++ riverware.exe!LoadSaveMgr::doLoadModelFile(int __formal=0, const QString * inPath=0x0000000000319cc8) Line 1290 + 0x41 bytes C++ riverware.exe!LoadSaveMgr::loadSaveCmd(int cmd=0, const QString * inPath=0x0000000000319cc8) Line 2022 + 0x13 bytes C++ riverware.exe!LoadSaveMgr::recentFileMenuItemTriggered(QAction * menuItemAction=0x000000000553c480) Line 4137 C++ riverware.exe!LoadSaveMgr::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int _id=0, void * * _a=0x0000000000319ed0) Line 77 C++ QtCored4.dll!QMetaObject::metacall(QObject * object=0x0000000005464af0, QMetaObject::Call cl=InvokeMetaMethod, int idx=4, void * * argv=0x0000000000319ed0) Line 238 C++ QtCored4.dll!QMetaObject::activate(QObject * sender=0x00000000052e4e00, const QMetaObject * m=0x0000000065d3b0c8, int local_signal_index=2, void * * argv=0x0000000000319ed0) Line 3301 C++ QtGuid4.dll!QMenu::triggered(QAction * _t1=0x000000000553c480) Line 165 C++ QtGuid4.dll!QMenuPrivate::_q_actionTriggered() Line 1122 C++ QtGuid4.dll!QMenu::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int _id=8, void * * _a=0x000000000031a190) Line 105 + 0x15 bytes C++ QtCored4.dll!QMetaObject::metacall(QObject * object=0x00000000052e4e00, QMetaObject::Call cl=InvokeMetaMethod, int idx=35, void * * argv=0x000000000031a190) Line 238 C++ QtCored4.dll!QMetaObject::activate(QObject * sender=0x000000000553c480, const QMetaObject * m=0x00000000660a5ec8, int local_signal_index=1, void * * argv=0x000000000031a190) Line 3301 C++ QtGuid4.dll!QAction::triggered(bool _t1=false) Line 264 C++ QtGuid4.dll!QAction::activate(QAction::ActionEvent event=Trigger) Line 1257 C++ QtGuid4.dll!QMenuPrivate::activateCausedStack(const QList<QPointer<QWidget> > & causedStack={...}, QAction * action=0x000000000553c480, QAction::ActionEvent action_e=Trigger, bool self=true) Line 1004 C++ QtGuid4.dll!QMenuPrivate::activateAction(QAction * action=0x000000000553c480, QAction::ActionEvent action_e=Trigger, bool self=true) Line 1097 C++ QtGuid4.dll!QMenu::mouseReleaseEvent(QMouseEvent * e=0x000000000031b298) Line 2313 C++ QtGuid4.dll!QWidget::event(QEvent * event=0x000000000031b298) Line 8045 C++ QtGuid4.dll!QMenu::event(QEvent * e=0x000000000031b298) Line 2422 C++ QtGuid4.dll!QApplicationPrivate::notify_helper(QObject * receiver=0x00000000052e4e00, QEvent * e=0x000000000031b298) Line 4302 + 0x15 bytes C++ QtGuid4.dll!QApplication::notify(QObject * receiver=0x00000000052e4e00, QEvent * e=0x000000000031b298) Line 3867 + 0x51 bytes C++ QtCored4.dll!QCoreApplication::notifyInternal(QObject * receiver=0x00000000052e4e00, QEvent * event=0x000000000031b298) Line 726 + 0x1d bytes C++ QtCored4.dll!QCoreApplication::sendSpontaneousEvent(QObject * receiver=0x00000000052e4e00, QEvent * event=0x000000000031b298) Line 218 + 0x4c bytes C++ QtGuid4.dll!QApplicationPrivate::sendMouseEvent(QWidget * receiver=0x00000000052e4e00, QMouseEvent * event=0x000000000031b298, QWidget * alienWidget=0x0000000000000000, QWidget * nativeWidget=0x00000000052e4e00, QWidget * * buttonDown=0x00000000660a7bb0, QPointer<QWidget> & lastMouseReceiver={...}, bool spontaneous=true) Line 2965 + 0x16 bytes C++ QtGuid4.dll!QETWidget::translateMouseEvent(const tagMSG & msg={...}) Line 3171 + 0x3f bytes C++ QtGuid4.dll!QtWndProc(HWND__ * hwnd=0x0000000000010a5e, unsigned int message=514, unsigned __int64 wParam=0, __int64 lParam=6684971) Line 1629 + 0x15 bytes C++ user32.dll!0000000076809bd1() [Frames below may be incorrect and/or missing, no symbols loaded for user32.dll] user32.dll!00000000768098da() QtCored4.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> * flags=0x000000000031f5b0) Line 781 C++ QtGuid4.dll!QGuiEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> * flags=0x000000000031f5fc) Line 1145 + 0x27 bytes C++ QtCored4.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> * flags=0x000000000031f660) Line 150 C++ QtCored4.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> * flags=0x000000000031f6d0) Line 197 + 0x3f bytes C++ QtCored4.dll!QCoreApplication::exec() Line 1003 + 0x23 bytes C++ QtGuid4.dll!QApplication::exec() Line 3582 C++ riverware.exe!rwGUIExecute() Line 140 C++ riverware.exe!interactiveMode(int argc=1, char * * argv=0x000000000313c2a0, bool isRunAllowed=true) Line 688 + 0x1a bytes C++ riverware.exe!main(int argc=1, char * * argv=0x000000000313c2a0) Line 623 + 0x3a bytes C++ riverware.exe!WinMain(HINSTANCE__ * instance=0x000000013ff60000, HINSTANCE__ * prevInstance=0x0000000000000000, char * __formal=0x00000000000b48cf, int cmdShow=1) Line 131 + 0x16 bytes C++ riverware.exe!__tmainCRTStartup() Line 574 + 0x42 bytes C riverware.exe!WinMainCRTStartup() Line 399 C kernel32.dll!000000007690652d() ntdll.dll!0000000076cec521()