ASSERT: "index.isValid()" in file c:\ndk_buildrepos\qt-desktop\src\gui\itemviews\qlistview.cpp line 3008
-
wrote on 18 Nov 2013, 14:48 last edited by
My QT based GUI application is crashing with following message;
ASSERT: "index.isValid()" in file c:\ndk_buildrepos\qt-desktop\src\gui\itemviews\qlistview.cpp, line 3008
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Press <RETURN> to close this window...I have tried to remove the problem by looking into the listview that might be generating this exception... but of no use.. Any clue where to look for further?
Last edited by tesmai4; Today at 14:42. -
Hi,
Without any of your code related to QListView nor the Qt Version/OS version you are using, it's only crystal ball debugging. You need to show use how you use it
-
wrote on 19 Nov 2013, 15:43 last edited by
Thanks for your reply SGalst.
I can't post my code here as it is a project and I have no ideas where is the crash point.
A very basic question regarding QT Creator: I don't know how to check where is my program crashing? How can I see the last successfully executed statement or crashing point in my program using QT Creator? (Visual Studio takes you to the crashing line. Is there something like that in QT Creator?)
Can you give me some clue?
-
Run your program in debug mode then when i crashes it will show you where
1/4