Results 1 to 4 of 4

Thread: Internal error: pc 0x0 in read in psymtab, but not in symtab.from the start

  1. #1
    Join Date
    Nov 2009
    Location
    Laval, France
    Posts
    124
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Internal error: pc 0x0 in read in psymtab, but not in symtab.from the start

    I know this kind of message is a sign I have corrupted memory but in my case it's happening so early it's amazing.
    I'm seeing this in the debugger right from the moment the code enters the main window
    before the ui->setupUI(this)
    I put a breakpoint before the last line in my quoted program. The fields set to NULL are all pointers.
    Qt Code:
    1. MainWindow::MainWindow(QWidget *parent) :
    2. QMainWindow(parent),
    3. ui(new Ui::MainWindow),
    4. m_camera(NULL),
    5. m_database(NULL),
    6. m_scan(NULL),
    7. m_afisData(NULL)
    8. {
    9. ui->setupUi(this);
    To copy to clipboard, switch view to plain text mode 

    Does this mean the damage occurs so early?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Internal error: pc 0x0 in read in psymtab, but not in symtab.from the start

    Is main() more complicated than:
    Qt Code:
    1. int main(int argc, char **argv) {
    2. QApplication app(argc, argv);
    3. MainWindow w;
    4. w.show();
    5. return app.exec();
    6. }
    To copy to clipboard, switch view to plain text mode 
    Do you have anything statically initialising in a global space?

  3. #3
    Join Date
    Nov 2009
    Location
    Laval, France
    Posts
    124
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Internal error: pc 0x0 in read in psymtab, but not in symtab.from the start

    Main is as simple as what you showed.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Internal error: pc 0x0 in read in psymtab, but not in symtab.from the start

    And the other question?

Similar Threads

  1. Replies: 4
    Last Post: 29th April 2014, 16:20
  2. Replies: 1
    Last Post: 23rd April 2012, 14:58
  3. Replies: 3
    Last Post: 19th July 2011, 11:40
  4. 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
  5. QHttp internal error
    By LubosD in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2006, 09:57

Tags for this Thread

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.