Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. ASSERT: "index.isValid()" in file c:\ndk_buildrepos\qt-desktop\src\gui\itemviews\qlistview.cpp line 3008
QtWS25 Last Chance

ASSERT: "index.isValid()" in file c:\ndk_buildrepos\qt-desktop\src\gui\itemviews\qlistview.cpp line 3008

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tesmai4
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tesmai4
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Run your program in debug mode then when i crashes it will show you where

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved