Results 1 to 4 of 4

Thread: Crash : Internal error: pc 0x47 in read in psymtab, but not in symtab.

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Crash : Internal error: pc 0x47 in read in psymtab, but not in symtab.

    I can view that the point that rise the error is located (every time at different point) inside a generic "ui_ui.h" that is a widget I create from main window.

    (Internal error: pc 0x47 in read in psymtab, but not in symtab.)
    (Internal error: pc 0x47 in read in psymtab, but not in symtab.)
    (Internal error: pc 0x47 in read in psymtab, but not in symtab.)
    (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

    Any idea about the origin of this error ?
    Any idea about where I have to review my code?

    NOTE: After disabled and re-enabled the calling function for this widget and two runs, all works fine again .....

    Thanks
    Last edited by tonnot; 18th July 2011 at 09:13.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Crash : Internal error: pc 0x47 in read in psymtab, but not in symtab.

    Just the code in a debugger, and see which line is crashing, and post it here.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Crash : Internal error: pc 0x47 in read in psymtab, but not in symtab.

    Thanks for your attention:
    I wrote a NOTE at this post at 10:13, After disabled and re-enabled the calling function for this widget and two runs, all works fine again .....
    Ok, now 18:08, I have again this strange crash:
    On every debug session I have a different error: (outputed to the application output view)

    - Heap missing last entry in committed range near bcceb20
    - Internal error: pc 0x47 in read in psymtab, but not in symtab
    - HEAP: Free Heap block bcce698 modified at bccef30 after it was freed


    I'm going to try explain the environment in which the crash happen:
    I have a openGL QGLwidget I'm developing, I think the problem is it.

    I can place the crash always at UI_setup of a Dialog in which I have this widget inserted and promoted to the appropiate class.
    The crash happens during the UI_setup, sometimes at
    listView = new QListView(frame);
    sometimes at :
    QFont font;
    ....

    But the more strange Is that after denoted to QWidget and re-promoted again all works fine again
    Sincerely, I dont know where to search.
    Which is the reason because I can work 8 hours without errors and by any strange reason and suddenly this crash?
    Any idea ?

    I know that this is a very poor information for my problem but I dont know how to show more details.

    Thanks

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Crash : Internal error: pc 0x47 in read in psymtab, but not in symtab.

    - Heap missing last entry in committed range near bcceb20
    - Internal error: pc 0x47 in read in psymtab, but not in symtab
    - HEAP: Free Heap block bcce698 modified at bccef30 after it was freed
    Looks like you have bad pointer/s, and/or you are reallocating stuff, that maybe some local pointers still try to call on a previous allocation...
    You have to go through all your dynamic allocations, and make sure none are leaking, or being re allocated before the previous is delete and that you don't have any dangling pointers around etc...
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Qt internal error: qt_menu.nib could not be loaded
    By edwardmoyse in forum Installation and Deployment
    Replies: 3
    Last Post: 10th April 2013, 01:53
  2. fatal error C1001: An internal error has occurred in the compiler
    By noodles in forum Installation and Deployment
    Replies: 0
    Last Post: 12th August 2010, 11:24
  3. QImage internal error
    By GiuseppeBonfa in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2009, 14:12
  4. QHttp internal error
    By LubosD in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2006, 09:57
  5. ERROR:: QPainter: Internal error; no available GC
    By Krishnacins in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2006, 06:05

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.