(gdb) run
Starting program: /home/damdam/Documents/projekte/cpp/qt/Table2ASCII/build/table2ascii
[Thread debugging using libthread_db enabled]
[New Thread -1221245264 (LWP 13707)]
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
i3
i4
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221245264 (LWP 13707)]
0x0804fbbb in QHash<My::TabM::ItemPosition, QVariant>::setSharable (this=0x80a9aa8, sharable=true) at /usr/include/QtCore/qhash.h:229
229 inline void setSharable(bool sharable) { if (!sharable) detach(); d->sharable = sharable; }
(gdb) bt
#0 0x0804fbbb in QHash<My::TabM::ItemPosition, QVariant>::setSharable (this=0x80a9aa8, sharable=true) at /usr/include/QtCore/qhash.h:229
#1 0x0804fbe7 in ~QMutableHashIterator (this=0xbfd3609c) at /usr/include/QtCore/qhash.h:802
#2 0x0804ee0f in My::TableModel::insertFields (this=0x809ae08, p_field=0, p_count=1, p_orientation=Qt::Horizontal, p_parent=@0xbfd36154) at my_tablemodel.cpp:137
#3 0x0804eeb6 in My::TableModel::insertColumns (this=0x809ae08, p_column=0, p_count=1, p_parent=@0xbfd36154) at my_tablemodel.cpp:63
#4 0x0804bd61 in T2A::MainWindow::addColumn (this=0xbfd361e8) at MainWindow.cpp:47
#5 0x0804c822 in MainWindow (this=0xbfd361e8) at MainWindow.cpp:27
#6 0x0804bc87 in main (argc=Cannot access memory at address 0x0) at main.cpp:9
Bookmarks