[Qt-interest] QModelIndexList crashes on MSVS 8.0 ---- any idea ?
Velusamy, Baskar
Baskar.Velusamy at chevron.com
Fri Feb 20 02:14:00 CET 2009
Hi
I am getting consistent crash in QModelIndexList, any Idea ? (
This model I am using for TableView )
Thanks
Baskar
Code:
QItemSelectionModel *itemSelectionModel =
m_pTableView->selectionModel();
QModelIndexList modelIndexLstSelected_f =
itemSelectionModel->selectedIndexes();
What I expected to see
While running following crash
What I got instead
ntdll.dll!7c90120e()
[Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
ntdll.dll!7c96c201()
ntdll.dll!7c96c63e()
ntdll.dll!7c96d826()
ntdll.dll!7c927764()
ntdll.dll!7c96c5cf()
ntdll.dll!7c960484()
ntdll.dll!7c949e1c()
ntdll.dll!7c927764()
ntdll.dll!7c927553()
ntdll.dll!7c91003d()
ntdll.dll!7c927764()
ntdll.dll!7c927553()
ntdll.dll!7c927764()
ntdll.dll!7c927553()
ntdll.dll!7c91003d()
ntdll.dll!7c96c5cf()
ntdll.dll!7c9603b0()
ntdll.dll!7c9604a8()
ntdll.dll!7c960484()
ntdll.dll!7c95d414()
ntdll.dll!7c927553()
ntdll.dll!7c9603b0()
ntdll.dll!7c9604a8()
ntdll.dll!7c960484()
msvcr80d.dll!_CrtIsValidHeapPointer(const void *
pUserData=0x10213163) Line 2072 C++
ntdll.dll!7c91003d()
msvcr80d.dll!_free_dbg_nolock(void * pUserData=0x0a3d0000, int
nBlockUse=0) Line 1267 + 0x21 bytes C++
msvcr80.dll!78134c39()
msvcr80d.dll!free(void * pUserData=0x0ac8f488) Line 1178 + 0xb bytes
C++
sage_commond.dll!QModelIndex::`scalar deleting destructor'() + 0x32
bytes C++
sage_commond.dll!QList<QModelIndex>::node_destruct(QList<QModelIndex>::N
ode * from=0x0ab67efc, QList<QModelIndex>::Node * to=0x0ab67f00) Line
359 + 0x2f bytes C++
sage_commond.dll!QList<QModelIndex>::free(QListData::Data *
data=0x0ab67ee8) Line 553 C++
sage_commond.dll!QList<QModelIndex>::operator=(const
QList<QModelIndex> & l={...}) Line 371 C++
> sage_commond.dll!CLabelAndTable::fillCol() Line 890 + 0x3e bytes
C++
sage_commond.dll!CLabelAndTable::qt_metacall(QMetaObject::Call
_c=InvokeMetaMethod, int _id=6, void * * _a=0x00d9bc4c) Line 418 + 0x8
bytes C++
QtCored4.dll!QMetaObject::activate(QObject * sender=0x0accd9b0, int
from_signal_index=5, int to_signal_index=6, void * * argv=0x00d9bc4c)
Line 3022 + 0x2b bytes C++
QtCored4.dll!QMetaObject::activate(QObject * sender=0x0accd9b0,
const QMetaObject * m=0x65a9f0e0, int from_local_signal_index=1, int
to_local_signal_index=2, void * * argv=0x00d9bc4c) Line 3112 + 0x15
bytes C++
QtGuid4.dll!QAction::triggered(bool _t1=false) Line 216 + 0x17 bytes
C++
QtGuid4.dll!QAction::activate(QAction::ActionEvent event=Trigger)
Line 1127 C++
QtGuid4.dll!QMenuPrivate::activateAction(QAction *
action=0x0accd9b0, QAction::ActionEvent action_e=Trigger, bool
self=true) Line 1004 C++
QtGuid4.dll!QMenu::mouseReleaseEvent(QMouseEvent * e=0x00d9c44c)
Line 2170 C++
QtGuid4.dll!QWidget::event(QEvent * event=0x00d9c44c) Line 7164 C++
QtGuid4.dll!QMenu::event(QEvent * e=0x00d9c44c) Line 2266 C++
QtGuid4.dll!QApplicationPrivate::notify_helper(QObject *
receiver=0x0accd9d0, QEvent * e=0x00d9c44c) Line 3803 + 0x11 bytes C++
QtGuid4.dll!QApplication::notify(QObject * receiver=0x0accd9d0,
QEvent * e=0x00d9c44c) Line 3528 + 0x2f bytes C++
QtCored4.dll!QCoreApplication::notifyInternal(QObject *
receiver=0x0accd9d0, QEvent * event=0x00d9c44c) Line 587 + 0x15 bytes
C++
QtCored4.dll!QCoreApplication::sendSpontaneousEvent(QObject *
receiver=0x0accd9d0, QEvent * event=0x00d9c44c) Line 212 + 0x38 bytes
C++
QtGuid4.dll!QApplicationPrivate::sendMouseEvent(QWidget *
receiver=0x0accd9d0, QMouseEvent * event=0x00d9c44c, QWidget *
alienWidget=0x00000000, QWidget * nativeWidget=0x0accd9d0, QWidget * *
buttonDown=0x65aa0904, QPointer<QWidget> & lastMouseReceiver={...}) Line
2793 + 0xe bytes C++
QtGuid4.dll!QETWidget::translateMouseEvent(const tagMSG & msg={...})
Line 3016 + 0x28 bytes C++
QtGuid4.dll!QtWndProc(HWND__ * hwnd=0x00190aea, unsigned int
message=514, unsigned int wParam=0, long lParam=6422568) Line 1543 + 0xc
bytes C++
user32.dll!7e418734()
user32.dll!7e418816()
user32.dll!7e4189cd()
user32.dll!7e418a10()
QtCored4.dll!QEventDispatcherWin32::processEvents(QFlags<enum
QEventLoop::ProcessEventsFlag> flags={...}) Line 737 + 0x21 bytes C++
QtGuid4.dll!QGuiEventDispatcherWin32::processEvents(QFlags<enum
QEventLoop::ProcessEventsFlag> flags={...}) Line 1084 + 0x15 bytes C++
QtCored4.dll!QEventLoop::processEvents(QFlags<enum
QEventLoop::ProcessEventsFlag> flags={...}) Line 144 C++
QtCored4.dll!QEventLoop::exec(QFlags<enum
QEventLoop::ProcessEventsFlag> flags={...}) Line 194 + 0x1c bytes C++
QtCored4.dll!QCoreApplication::exec() Line 845 + 0x15 bytes C++
QtGuid4.dll!QApplication::exec() Line 3332 C++
hlg_main.exe!main(int argc=1, char * * argv=0x0aca8dd8) Line 12 +
0x8 bytes C++
hlg_main.exe!__tmainCRTStartup() Line 586 + 0x17 bytes C
kernel32.dll!7c817067()
More information about the Qt-interest-old
mailing list