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.
Code:
MainWindow
::MainWindow(QWidget *parent
) : ui(new Ui::MainWindow),
m_camera(NULL),
m_database(NULL),
m_scan(NULL),
m_afisData(NULL)
{
ui->setupUi(this);
Does this mean the damage occurs so early?
Re: Internal error: pc 0x0 in read in psymtab, but not in symtab.from the start
Is main() more complicated than:
Code:
int main(int argc, char **argv) {
MainWindow w;
w.show();
return app.exec();
}
Do you have anything statically initialising in a global space?
Re: Internal error: pc 0x0 in read in psymtab, but not in symtab.from the start
Main is as simple as what you showed.
Re: Internal error: pc 0x0 in read in psymtab, but not in symtab.from the start