All pastes #764355 Raw Edit

segfault in Qt app

public text v1 · immutable
·published 2007-11-07 03:16 UTC
rendered paste body
(gdb) r
Starting program: /home/whitelynx/classes/fall2007/objects/assignment02/assignment02 
[Thread debugging using libthread_db enabled]
[New Thread -1224149328 (LWP 14164)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224149328 (LWP 14164)]
0xb7d128bd in QAbstractItemView::model () from /usr/lib/qt4/libQtGui.so.4
(gdb) bt full
#0  0xb7d128bd in QAbstractItemView::model () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#1  0xb7d7e603 in QTableWidget::setItemPrototype () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#2  0x080523ad in MainWindow (this=0xbfa7572c, parent=0x0) at mainwindow.cpp:11
No locals.
#3  0x08050759 in main (argc=Cannot access memory at address 0x20
) at main.cpp:8
        app = <incomplete type>
        mainWin = {<> = {<No data fields>}, <Ui::MainWindow> = {<Ui_MainWindow> = {
      action_New = 0xb71bb2f4, action_Open = 0x805f004, action_Save = 0xb7fd2ca0, 
      actionSave_As = 0xb72d6ff4, action_Exit = 0x804ce50, actionCu_t = 0x8058200, 
      action_Copy = 0xbfa75768, action_Paste = 0xb71de440, 
      action_Delete = 0x805f000, action_Find = 0xb7fd2ca0, 
      action_Go_to_Cell = 0xbfa75788, action_Row = 0x804cea7, 
      action_Column = 0x804ce50, action_All = 0x0, action_Recalculate = 0x805f504, 
      action_Sort = 0x7c838c, action_Show_Grid = 0xffff, 
      action_Auto_Recalculate = 0x1, action_About = 0xbfa75798, 
      actionAbout_Qt = 0x804cebf, centralwidget = 0xbfa75820, 
      hboxLayout = 0xb7fd36c8, tableWidget = 0xbfa757a8, menubar = 0x8058295, 
      menu_File = 0xf63d4e2e, menu_Edit = 0x805f190, menu_Select = 0xbfa757b8, 
      menu_Tools = 0x804bff5, menu_Options = 0xb78d8b80, menu_Help = 0x0, 
      fileToolBar = 0xbfa757e8, editToolBar = 0x8058219, 
      statusBar = 0xb7f91958}, <No data fields>}, static staticMetaObject = {d = {
      superdata = 0x805f620, stringdata = 0x8058d60 "MainWindow", 
      data = 0x8058e60, extradata = 0x0}}, autoRecalc = true}