Results 1 to 11 of 11

Thread: Error Exiting slot calls

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2011
    Posts
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Error Exiting slot calls

    I am not new to programming or debugging, you cant see the call stack without debugging...

    Above is after the fault,

    below is before it:
    Qt Code:
    1. > Bommerd.exe!Bommer::removePartFromBOM(QTreeWidgetItem * subpart=0x02a50420, int col=0) Line 1562 C++
    2. Bommerd.exe!Bommer::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int _id=17, void * * _a=0x0012c1d0) Line 129 + 0x1a bytes C++
    3. QtCored4.dll!671ccae1()
    4. [Frames below may be incorrect and/or missing, no symbols loaded for QtCored4.dll]
    5. QtCored4.dll!671e4386()
    6. QtCored4.dll!672654f0()
    7. QtGuid4.dll!657e9622()
    8. msvcr90d.dll!_unlock(int locknum=0) Line 376 C
    To copy to clipboard, switch view to plain text mode 
    and just before "idle" mode (ie in the moc file)
    Qt Code:
    1. > Bommerd.exe!Bommer::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int _id=17, void * * _a=0x0012c1d0) Line 129 + 0x1a bytes C++
    2. QtCored4.dll!671ccae1()
    3. [Frames below may be incorrect and/or missing, no symbols loaded for QtCored4.dll]
    4. QtCored4.dll!671e4386()
    5. QtCored4.dll!672654f0()
    6. QtGuid4.dll!657e9622()
    7. msvcr90d.dll!_unlock(int locknum=0) Line 376 C
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Sep 2008
    Location
    Poland
    Posts
    80
    Thanks
    4
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Error Exiting slot calls

    Hmm,so at least we know,that the bug appears in the Bommer::removePartFromBOM() indeed...well,I'd put a beakpoint just at the beginning of the function and then check the code step by step watching carefully especially all pointers.I bet some of them is incorrect somehow.

  3. #3
    Join Date
    Jul 2011
    Posts
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Error Exiting slot calls

    I have seen nothing incorrect, this including the functions that removePartFromBOM calls.

    Master, no offense to you, but i have been debugging this for 16hours over the past 3 days, and have looked at the easy stuff. This is not an easy fix.

  4. #4
    Join Date
    Jul 2011
    Posts
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Error Exiting slot calls

    YAY I found it, Corrupted Heap.

    If you looked at the Code I was deleting the sent in parameter, not only once but twice

  5. #5
    Join Date
    Sep 2008
    Location
    Poland
    Posts
    80
    Thanks
    4
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Error Exiting slot calls

    As I said-a bad pointer :P

Similar Threads

  1. Replies: 5
    Last Post: 14th September 2010, 21:13
  2. error with a signal - slot
    By mmm286 in forum Newbie
    Replies: 1
    Last Post: 10th November 2009, 17:41
  3. error No such slot QMainWindow::open()
    By kavinsiva in forum Qt Programming
    Replies: 4
    Last Post: 12th August 2009, 07:39
  4. Doxgen call graphs also for signal-slot calls?
    By zavulon in forum Qt Programming
    Replies: 0
    Last Post: 25th September 2008, 15:29
  5. Error Comes in connet the signal and slot.
    By ashishsaryar in forum Qt Programming
    Replies: 2
    Last Post: 2nd February 2008, 22:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.