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. BLOCK_TYPE_IS_VALID(pHeap->nBlockUse)

BLOCK_TYPE_IS_VALID(pHeap->nBlockUse)

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.7k 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.
  • V Offline
    V Offline
    vinothrajendran4
    wrote on last edited by
    #1

    I have developed an project using QT 4.8....When i rebuilt my application and run it for the first time , i get this following error

    Debug assertion Failed!
    File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgdel.cpp
    Line : 52

    Expression: _BLOCK_TYPE_IS_VALID(pHeap->nBlockUse)

    ..............

    The weird thing is it happen only first time i run my application....from second time onwards i dont get this error..........

    Any help will be appreciated.....

    NOTE : I also use some third party libraries too.....

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

      Hi,

      Did you check that you are not doing something like a double delete somewhere in your code ?

      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
      • V Offline
        V Offline
        vinothrajendran4
        wrote on last edited by
        #3

        I will check the code if i am double deleting somewhere , but i don't understand why it happens only when i rebuild my project and run it for the first time and not for the rest of the time.........

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vinothrajendran4
          wrote on last edited by
          #4

          I will check the code if i am double deleting somewhere , but i don’t understand why it happens only when i rebuild my project and run it for the first time and not for the rest of the time………

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

            Windows can be pretty strange sometimes. When it starts acting up strangely like that, I generally do a full rebuild and things tends to go back to normal.

            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