[Qt-creator] Qt-creator Digest, Vol 4, Issue 31
Turnaev Eugeny
turnaev at t72.ru
Mon Jan 12 12:23:32 CET 2009
> Subject: Re: [Qt-creator] Gdb crash while hovering classname of
> function definition.
> >
> > It would be nice if this gdb crash behavior can be avoided.
>
> That would be nice indeed, but it hard to tell in advance for
> what commands gdb will crash. Moreover, that changes from version
> to version, so it's really hard to interface it "robustly".
>
> > I can provide any other information needed.
>
> The content of the "Gdb View" would be nice to have.
>
> Thanks for your help ;-)
>
> Regards,
> Andre'
>
>
Here it is:
Left gdb tab before hover:
[16:10:08.261] <Rebuild Watchmodel>
[16:10:08.269] <Rebuild Watchmodel>
gdb -i mi
[16:11:09.705] 1show version
[16:11:09.705] 2set print static-members off
[16:11:09.705] 3set breakpoint pending on
[16:11:09.705] 4set overload-resolution off
[16:11:09.705] 5handle SIGSEGV nopass stop print
[16:11:09.705] 6set unwindonsignal on
[16:11:09.705] 7pwd
[16:11:09.705] 8-file-exec-and-symbols "/root/qt_c_projects/Call_Center/Call_Center"
[16:11:09.705] 9-file-list-exec-source-files
[16:11:09.705] 10-data-list-register-names
[16:11:09.936] 11-break-insert "\"/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp\":42"
[16:11:10.071] 12-exec-run
[16:11:10.071] 13info proc
[16:15:50.742] 14call dlopen("/root/qt_c_projects/Call_Center/qtc-gdbmacros/libgdbmacros.so", 2)
[16:15:50.742] 15sharedlibrary .root.qt_c_projects.Call_Center.qtc-gdbmacros.libgdbmacros.so
[16:15:50.742] 16call qDumpObjectData440(1,16+1,0,0,0,0,0,0)
[16:15:50.742] 18-file-list-exec-source-files
[16:15:50.742] 19-break-list
[16:15:50.742] 20p 0
[16:15:51.155] 21-stack-list-arguments 2 0 0
[16:15:51.155] 22-stack-list-locals 2
[16:15:51.155] 23-stack-list-frames
[16:15:51.439] 24-var-delete "local.index"
[16:15:51.439] 25-var-create "local.index" * "index"
[16:15:51.604] 26-var-evaluate-expression "local.index"
[16:15:51.625] <Rebuild Watchmodel>
[16:15:51.626] <Rebuild Watchmodel>
[16:15:51.629] <Rebuild Watchmodel>
[16:15:59.211] 27-var-delete "tooltip"
[16:15:59.211] 28-var-create "tooltip" * "show"
[16:15:59.227] <Rebuild Watchmodel>
[16:16:01.104] 29-var-delete "tooltip"
[16:16:01.105] 30-var-create "tooltip" * "raise"
[16:16:01.118] 31-var-evaluate-expression "tooltip"
[16:16:01.120] <Rebuild Watchmodel>
[16:16:01.225] 32-var-delete "tooltip"
[16:16:01.225] 33-var-create "tooltip" * "raise"
[16:16:01.239] 34-var-evaluate-expression "tooltip"
[16:16:01.241] <Rebuild Watchmodel>
[16:16:01.300] 35-var-delete "tooltip"
[16:16:01.300] 36-var-create "tooltip" * "raise"
[16:16:01.313] 37-var-evaluate-expression "tooltip"
[16:16:01.316] <Rebuild Watchmodel>
[16:16:01.332] 38-var-delete "tooltip"
[16:16:01.332] 39-var-create "tooltip" * "raise"
[16:16:01.345] 40-var-evaluate-expression "tooltip"
[16:16:01.349] <Rebuild Watchmodel>
[16:16:01.406] 41-var-delete "tooltip"
[16:16:01.406] 42-var-create "tooltip" * "raise"
[16:16:01.419] 43-var-evaluate-expression "tooltip"
[16:16:01.422] <Rebuild Watchmodel>
[16:16:02.111] 44-var-delete "tooltip"
[16:16:02.111] 45-var-create "tooltip" * "raise"
[16:16:02.124] 46-var-evaluate-expression "tooltip"
[16:16:02.127] <Rebuild Watchmodel>
[16:16:03.412] 47-var-delete "tooltip"
[16:16:03.412] 48-var-create "tooltip" * "Edit_call_dialog"
[16:16:04.577] 49kill
[16:16:04.577] 50-gdb-exit
[16:16:24.579] <Rebuild Watchmodel>
[16:16:24.590] <Rebuild Watchmodel>
[16:16:24.596] <Rebuild Watchmodel>
[16:16:24.600] <Rebuild Watchmodel>
gdb -i mi
[16:18:08.595] 51show version
[16:18:08.595] 52set print static-members off
[16:18:08.595] 53set breakpoint pending on
[16:18:08.595] 54set overload-resolution off
[16:18:08.595] 55handle SIGSEGV nopass stop print
[16:18:08.595] 56set unwindonsignal on
[16:18:08.595] 57pwd
[16:18:08.595] 58-file-exec-and-symbols "/root/qt_c_projects/Call_Center/Call_Center"
[16:18:08.595] 59-file-list-exec-source-files
[16:18:08.595] 60-data-list-register-names
[16:18:08.749] 61-break-insert "\"/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp\":42"
[16:18:08.909] 62-exec-run
[16:18:08.909] 63info proc
[16:18:18.051] 64call dlopen("/root/qt_c_projects/Call_Center/qtc-gdbmacros/libgdbmacros.so", 2)
[16:18:18.051] 65sharedlibrary .root.qt_c_projects.Call_Center.qtc-gdbmacros.libgdbmacros.so
[16:18:18.051] 66call qDumpObjectData440(1,66+1,0,0,0,0,0,0)
[16:18:18.051] 68-file-list-exec-source-files
[16:18:18.052] 69-break-list
[16:18:18.052] 70p 0
[16:18:18.216] 71-stack-list-arguments 2 0 0
[16:18:18.216] 72-stack-list-locals 2
[16:18:18.216] 73-stack-list-frames
[16:18:18.529] 74-var-delete "local.index"
[16:18:18.529] 75-var-create "local.index" * "index"
[16:18:18.680] 76-var-evaluate-expression "local.index"
[16:18:18.711] <Rebuild Watchmodel>
[16:18:18.712] <Rebuild Watchmodel>
[16:18:18.715] <Rebuild Watchmodel>
[16:18:27.250] 77-var-delete "tooltip"
[16:18:27.250] 78-var-create "tooltip" * "raise"
[16:18:27.273] 79-var-evaluate-expression "tooltip"
[16:18:27.282] <Rebuild Watchmodel>
Right gdb tab before hover:
status:Finished retrieving data.
status:Finished retrieving data.
input:[16:10:08.261] <Rebuild Watchmodel>
input:[16:10:08.269] <Rebuild Watchmodel>
status:Starting Debugger
status:Gdb Running
input:gdb -i mi
input:[16:11:09.705] 1show version
input:[16:11:09.705] 2set print static-members off
input:[16:11:09.705] 3set breakpoint pending on
input:[16:11:09.705] 4set overload-resolution off
input:[16:11:09.705] 5handle SIGSEGV nopass stop print
input:[16:11:09.705] 6set unwindonsignal on
input:[16:11:09.705] 7pwd
input:[16:11:09.705] 8-file-exec-and-symbols "/root/qt_c_projects/Call_Center/Call_Center"
input:[16:11:09.705] 9-file-list-exec-source-files
input:[16:11:09.705] 10-data-list-register-names
input:[16:11:09.936] 11-break-insert "\"/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp\":42"
16:11:09.987
stdout:~"GNU gdb Red Hat Linux (6.6-45.fc8rh)\n"
stdout:~"Copyright (C) 2006 Free Software Foundation, Inc.\n"
stdout:~"GDB is free software, covered by the GNU General Public License, and you are\n"
stdout:~"welcome to change it and/or distribute copies of it under certain conditions.\n"
stdout:~"Type \"show copying\" to see the conditions.\n"
stdout:~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
stdout:~"This GDB was configured as \"i386-redhat-linux-gnu\".\n"
stdout:(gdb)
stdout:&"show version\n"
stdout:~"GNU gdb Red Hat Linux (6.6-45.fc8rh)\n"
stdout:~"Copyright (C) 2006 Free Software Foundation, Inc.\n"
stdout:~"GDB is free software, covered by the GNU General Public License, and you are\n"
stdout:~"welcome to change it and/or distribute copies of it under certain conditions.\n"
stdout:~"Type \"show copying\" to see the conditions.\n"
stdout:~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
stdout:~"This GDB was configured as \"i386-redhat-linux-gnu\".\n"
stdout:1^done
stdout:(gdb)
stdout:&"set print static-members off\n"
stdout:2^done
stdout:(gdb)
stdout:&"set breakpoint pending on\n"
stdout:3^done
stdout:(gdb)
stdout:&"set overload-resolution off\n"
stdout:4^done
stdout:(gdb)
stdout:&"handle SIGSEGV nopass stop print\n"
stdout:~"Signal Stop\tPrint\tPass to program\tDescription\n"
stdout:~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
stdout:5^done
stdout:(gdb)
stdout:&"set unwindonsignal on\n"
stdout:6^done
stdout:(gdb)
stdout:&"pwd\n"
stdout:~"Working directory /root/qt_c_projects/Call_Center.\n"
stdout:7^done
stdout:(gdb)
stdout:
16:11:10.023
stdout:~"Using host libthread_db library \"/lib/libthread_db.so.1\".\n"
stdout:8^done
stdout:(gdb)
stdout:
16:11:10.043
stdout:9^done,files=[{file="debug/qrc_call_center.cpp",fullname="/root/qt_c_projects/Call_Center/debug/qrc_call_center.cpp"},{file="debug/qrc_call_center.cpp",fullname="/root/qt_c_projects/Call_Center/debug/qrc_call_center.cpp"},{file="debug/../src/webbrowser.h",fullname="/root/qt_c_projects/Call_Center/src/webbrowser.h"},{file="debug/moc_webbrowser.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_webbrowser.cpp"},{file="debug/moc_webbrowser.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_webbrowser.cpp"},{file="/usr/include/QtCore/qbytearray.h",fullname="/usr/include/QtCore/qbytearray.h"},{file="debug/../src/common.h",fullname="/root/qt_c_projects/Call_Center/src/common.h"},{file="debug/../src/source_view_project.h",fullname="/root/qt_c_projects/Call_Center/src/source_view_project.h"},{file="debug/moc_source_view_project.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_project.cpp"},{file="/usr/include/QtCore/qchar.h",fullname="/usr/include/QtCore/qchar.h"},{file="/usr/include/QtCore/qatomic_i386.h",fullname="/usr/include/QtCore/qatomic_i386.h"},{file="debug/moc_source_view_project.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_project.cpp"},{file="/usr/include/QtCore/qbytearray.h",fullname="/usr/include/QtCore/qbytearray.h"},{file="debug/../src/common.h",fullname="/root/qt_c_projects/Call_Center/src/common.h"},{file="debug/../src/source_view_by_oper.h",fullname="/root/qt_c_projects/Call_Center/src/source_view_by_oper.h"},{file="debug/moc_source_view_by_oper.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_by_oper.cpp"},{file="/usr/include/QtCore/qatomic_i386.h",fullname="/usr/include/QtCore/qatomic_i386.h"},{file="/usr/include/QtCore/qchar.h",fullname="/usr/include/QtCore/qchar.h"},{file="debug/moc_source_view_by_oper.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_by_oper.cpp"},{file="/usr/include/QtCore/qbytearray.h",fullname="/usr/include/QtCore/qbytearray.h"},{file="debug/../src/common.h",fullname="/root/qt_c
_projects/Call_Center/src/common.h"},{file="debug/../src/source_view_by_billing.h",fullname="/root/qt_c_projects/Call_Center/src/source_view_by_billing.h"},{file="debug/moc_source_view_by_billing.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_by_billing.cpp"},{file="/usr/include/QtCore/qatomic_i386.h",fullname="/usr/include/QtCore/qatomic_i386.h"},{file="/usr/include/QtCore/qchar.h",fullname="/usr/include/QtCore/qchar.h"},{file="debug/moc_source_view_by_billing.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_by_billing.cpp"},{file="/usr/include/QtCore/qbytearray.h",fullname="/usr/include/QtCore/qbytearray.h"},{file="debug/../src/common.h",fullname="/root/qt_c_projects/Call_Center/src/common.h"},{file="debug/../src/settingsdialog.h",fullname="/root/qt_c_projects/Call_Center/src/settingsdialog.h"},{file="debug/moc_settingsdialog.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_settingsdialog.cpp"} [...] <cut off>
stdout:(gdb)
stdout:
16:11:10.056
stdout:10^done,register-names=["eax","ecx","edx","ebx","esp","ebp","esi","edi","eip","eflags","cs","ss","ds","es","fs","gs","st0","st1","st2","st3","st4","st5","st6","st7","fctrl","fstat","ftag","fiseg","fioff","foseg","fooff","fop","xmm0","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7","mxcsr","orig_eax","mm0","mm1","mm2","mm3","mm4","mm5","mm6","mm7"]
stdout:(gdb)
stdout:
status:Startup finished. Debugger ready.
status:Running...
16:11:10.068
stdout:11^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x08057f56",func="Edit_call_dialog::setCurrentIndex(QModelIndex const&)",file="src/edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp",line="42",times="0"}
stdout:(gdb)
stdout:
input:[16:11:10.071] 12-exec-run
input:[16:11:10.071] 13info proc
status:Running...
status:Running...
16:11:10.102
stdout:12^running
stdout:(gdb)
stdout:
16:11:11.062
stdout:~"[Thread debugging using libthread_db enabled]\n"
stdout:
16:11:12.157
stdout:
stdout:~"[New Thread -1208199392 (LWP 24182)]\n"
stdout:
16:11:13.813
stdout:
stdout:~"[New Thread -1211946096 (LWP 24231)]\n"
stdout:
16:15:50.714
stdout:
stdout:~"[Switching to Thread -1208199392 (LWP 24182)]\n"
stdout:
status:Stopped at breakpoint
16:15:50.741
stdout:
stdout:12*stopped,reason="breakpoint-hit",bkptno="1",thread-id="1",frame={addr="0x08057f56",func="Edit_call_dialog::setCurrentIndex",args=[{name="this",value="0x8c80268"},{name="index",value="@0x8ca9cd0"}],file="src/edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp",line="42"}
stdout:(gdb)
stdout:
input:[16:15:50.742] 14call dlopen("/root/qt_c_projects/Call_Center/qtc-gdbmacros/libgdbmacros.so", 2)
input:[16:15:50.742] 15sharedlibrary .root.qt_c_projects.Call_Center.qtc-gdbmacros.libgdbmacros.so
input:[16:15:50.742] 16call qDumpObjectData440(1,16+1,0,0,0,0,0,0)
input:[16:15:50.742] 18-file-list-exec-source-files
input:[16:15:50.742] 19-break-list
input:[16:15:50.742] 20p 0
16:15:50.753
stdout:&"info proc\n"
stdout:~"process 24182\n"
stdout:~"cmdline = '/root/qt_c_projects/Call_Center/Call_Center'\n"
stdout:~"cwd = '/root/qt_c_projects/Call_Center'\n"
stdout:~"exe = '/root/qt_c_projects/Call_Center/Call_Center'\n"
stdout:13^done
stdout:(gdb)
stdout:&"call dlopen(\"/root/qt_c_projects/Call_Center/qtc-gdbmacros/libgdbmacros.so\", 2)\n"
stdout:
16:15:50.765
stdout:
stdout:&"No symbol \"dlopen\" in current context.\n"
stdout:
16:15:50.766
stdout:
stdout:14^error,msg="No symbol \"dlopen\" in current context."
stdout:(gdb)
stdout:
16:15:50.766
stdout:&"sharedlibrary .root.qt_c_projects.Call_Center.qtc-gdbmacros.libgdbmacros.so\n"
stdout:
16:15:50.770
stdout:
stdout:~"No loaded shared libraries match the pattern `.root.qt_c_projects.Call_Center.qtc-gdbmacros.libgdbmacros.so'.\n"
stdout:
16:15:50.771
stdout:
stdout:15^done
stdout:(gdb)
stdout:
16:15:50.772
stdout:&"call qDumpObjectData440(1,16+1,0,0,0,0,0,0)\n"
stdout:
16:15:50.784
stdout:
stdout:&"No symbol \"qDumpObjectData440\" in current context.\n"
stdout:
16:15:50.784
stdout:
stdout:16^error,msg="No symbol \"qDumpObjectData440\" in current context."
stdout:(gdb)
stdout:
16:15:51.129
stdout:18^done,files=[{file="<<C++-namespaces>>"},{file="debug/moc_edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_edit_call_dialog.cpp"},{file="/usr/include/QtGui/qabstractbutton.h",fullname="/usr/include/QtGui/qabstractbutton.h"},{file="/usr/include/QtGui/qabstracttextdocumentlayout.h",fullname="/usr/include/QtGui/qabstracttextdocumentlayout.h"},{file="/usr/include/QtGui/qdrag.h",fullname="/usr/include/QtGui/qdrag.h"},{file="/usr/include/QtCore/qmimedata.h",fullname="/usr/include/QtCore/qmimedata.h"},{file="/usr/include/QtGui/qtextedit.h",fullname="/usr/include/QtGui/qtextedit.h"},{file="/usr/include/QtGui/qtextformat.h",fullname="/usr/include/QtGui/qtextformat.h"},{file="/usr/include/QtGui/qtextdocument.h",fullname="/usr/include/QtGui/qtextdocument.h"},{file="/usr/include/QtGui/qabstractscrollarea.h",fullname="/usr/include/QtGui/qabstractscrollarea.h"},{file="/usr/include/QtGui/qframe.h",fullname="/usr/include/QtGui/qframe.h"},{file="/usr/include/QtGui/qlayout.h",fullname="/usr/include/QtGui/qlayout.h"},{file="/usr/include/QtGui/qbuttongroup.h",fullname="/usr/include/QtGui/qbuttongroup.h"},{file="/usr/include/QtGui/qapplication.h",fullname="/usr/include/QtGui/qapplication.h"},{file="/usr/include/QtCore/qcoreapplication.h",fullname="/usr/include/QtCore/qcoreapplication.h"},{file="/usr/include/QtCore/qeventloop.h",fullname="/usr/include/QtCore/qeventloop.h"},{file="/usr/include/QtGui/qactiongroup.h",fullname="/usr/include/QtGui/qactiongroup.h"},{file="/usr/include/QtGui/qaction.h",fullname="/usr/include/QtGui/qaction.h"},{file="/usr/include/QtSql/qsqlquerymodel.h",fullname="/usr/include/QtSql/qsqlquerymodel.h"},{file="/usr/include/QtSql/qsqldatabase.h",fullname="/usr/include/QtSql/qsqldatabase.h"},{file="/usr/include/QtGui/qsizepolicy.h",fullname="/usr/include/QtGui/qsizepolicy.h"},{file="/usr/include/QtGui/qfont.h",fullname="/usr/include/QtGui/qfont.h"},{file="/usr/include/QtGui/qpalette.h",fullname="/usr/include/QtGui/qpalette.h"},{file="/usr/include/QtGui/qbrush.h",fullname="/usr/inc
lude/QtGui/qbrush.h"},{file="/usr/include/QtCore/qhash.h",fullname="/usr/include/QtCore/qhash.h"},{file="/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.h",fullname="/usr/include/c++/4.1.2/bits/locale_facets.h"},{file="/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/i386-redhat-linux/bits/ctype_base.h",fullname="/usr/include/c++/4.1.2/i386-redhat-linux/bits/ctype_base.h"},{file="/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/ios_base.h",fullname="/usr/include/c++/4.1.2/bits/ios_base.h"},{file="/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/limits",fullname="/usr/include/c++/4.1.2/limits"},{file="/usr/include/QtGui/qlayoutitem.h",fullname="/usr/include/QtGui/qlayoutitem.h"},{file="/usr/include/QtGui/qrgb.h",fullname="/usr/include/QtGui/qrgb.h"},{file="/usr/include/QtCore/qrect.h",fullname="/usr/include/QtCore/qrect.h"},{file="/usr/include/QtCore/ [...] <cut off>
stdout:(gdb)
stdout:
status:Stopped.
16:15:51.151
stdout:19^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x08057f56",func="Edit_call_dialog::setCurrentIndex(QModelIndex const&)",file="src/edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp",line="42",times="1"}]}
stdout:(gdb)
stdout:&"p 0\n"
stdout:~"$1 = 0"
stdout:~"\n"
stdout:20^done
stdout:(gdb)
stdout:
input:[16:15:51.155] 21-stack-list-arguments 2 0 0
input:[16:15:51.155] 22-stack-list-locals 2
input:[16:15:51.155] 23-stack-list-frames
16:15:51.180
stdout:21^done,stack-args=[frame={level="0",args=[{name="this",type="class Edit_call_dialog * const",value="(class Edit_call_dialog * const) 0x8c80268"},{name="index",type="const QModelIndex &",value="(const QModelIndex &) @0x8ca9cd0: {r = 3, c = 9, p = 0x0, m = 0x8b75f88}"}]}]
stdout:(gdb)
stdout:
16:15:51.183
stdout:22^done,locals=[]
stdout:(gdb)
stdout:
16:15:51.435
stdout:23^done,stack=[frame={level="0",addr="0x08057f56",func="Edit_call_dialog::setCurrentIndex",file="src/edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp",line="42"},frame={level="1",addr="0x0807226e",func="Edit_call_dialog::qt_metacall",file="debug/moc_edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_edit_call_dialog.cpp",line="88"},frame={level="2",addr="0x040338b1",func="QMetaObject::activate",from="/usr/lib/libQtCore.so.4"},frame={level="3",addr="0x04033f42",func="QMetaObject::activate",from="/usr/lib/libQtCore.so.4"},frame={level="4",addr="0x0578ae43",func="QAbstractItemView::activated",from="/usr/lib/libQtGui.so.4"},frame={level="5",addr="0x0578d080",func="QAbstractItemView::mouseDoubleClickEvent",from="/usr/lib/libQtGui.so.4"},frame={level="6",addr="0x05319f29",func="QWidget::event",from="/usr/lib/libQtGui.so.4"},frame={level="7",addr="0x0565a963",func="QFrame::event",from="/usr/lib/libQtGui.so.4"},frame={level="8",addr="0x056f03ac",func="QAbstractScrollArea::viewportEvent",from="/usr/lib/libQtGui.so.4"},frame={level="9",addr="0x05799b2e",func="QAbstractItemView::viewportEvent",from="/usr/lib/libQtGui.so.4"},frame={level="10",addr="0x056f1775",func="??",from="/usr/lib/libQtGui.so.4"},frame={level="11",addr="0x0401eac9",func="QCoreApplicationPrivate::sendThroughObjectEventFilters",from="/usr/lib/libQtCore.so.4"},frame={level="12",addr="0x052c1579",func="QApplicationPrivate::notify_helper",from="/usr/lib/libQtGui.so.4"},frame={level="13",addr="0x052c6201",func="QApplication::notify",from="/usr/lib/libQtGui.so.4"},frame={level="14",addr="0x0401e759",func="QCoreApplication::notifyInternal",from="/usr/lib/libQtCore.so.4"},frame={level="15",addr="0x052c3d03",func="QApplicationPrivate::sendMouseEvent",from="/usr/lib/libQtGui.so.4"},frame={level="16",addr="0x0532dada",func="??",from="/usr/lib/libQtGui.so.4"},frame={level="17",addr="0x0532c380",func="QApplication::x11ProcessEvent",from="/usr/lib/libQtGui.so.4"},frame={level="18",addr="0x05354034",f
unc="??",from="/usr/lib/libQtGui.so.4"},frame={level="19",addr="0x0023f1ac",func="g_main_context_dispatch",from="/lib/libglib-2.0.so.0"},frame={level="20",addr="0x002425ef",func="??",from="/lib/libglib-2.0.so.0"},frame={level="21",addr="0x00242b55",func="g_main_context_iteration",from="/lib/libglib-2.0.so.0"},frame={level="22",addr="0x04049e0e",func="QEventDispatcherGlib::processEvents",from="/usr/lib/libQtCore.so.4"},frame={level="23",addr="0x05353de5",func="??",from="/usr/lib/libQtGui.so.4"},frame={level="24",addr="0x0401d9ed",func="QEventLoop::processEvents",from="/usr/lib/libQtCore.so.4"},frame={level="25",addr="0x0401db7d",func="QEventLoop::exec",from="/usr/lib/libQtCore.so.4"},frame={level="26",addr="0x0401fb4d",func="QCoreApplication::exec",from="/usr/lib/libQtCore.so.4"},frame={level="27",addr="0x052c0e97",func="QApplication::exec",from="/usr/lib/libQtGui.so.4"},frame={level="28",addr="0x08071305",func="main",file="src/main.cpp",fullname [...] <cut off>
stdout:(gdb)
stdout:
input:[16:15:51.439] 24-var-delete "local.index"
input:[16:15:51.439] 25-var-create "local.index" * "index"
16:15:51.604
stdout:&"Variable object not found\n"
stdout:24^error,msg="Variable object not found"
stdout:(gdb)
stdout:25^done,name="local.index",numchild="1",type="const QModelIndex &"
stdout:(gdb)
stdout:
input:[16:15:51.604] 26-var-evaluate-expression "local.index"
status:Finished retrieving data.
status:Finished retrieving data.
status:Finished retrieving data.
16:15:51.625
stdout:26^done,value="{...}"
stdout:(gdb)
stdout:
input:[16:15:51.625] <Rebuild Watchmodel>
input:[16:15:51.626] <Rebuild Watchmodel>
input:[16:15:51.629] <Rebuild Watchmodel>
input:[16:15:59.211] 27-var-delete "tooltip"
input:[16:15:59.211] 28-var-create "tooltip" * "show"
16:15:59.215
stdout:&"Variable object not found\n"
stdout:27^error,msg="Variable object not found"
stdout:(gdb)
stdout:
status:Finished retrieving data.
16:15:59.227
stdout:&"mi_cmd_var_create: unable to create variable object\n"
stdout:28^error,msg="mi_cmd_var_create: unable to create variable object"
stdout:(gdb)
stdout:
input:[16:15:59.227] <Rebuild Watchmodel>
input:[16:16:01.104] 29-var-delete "tooltip"
input:[16:16:01.105] 30-var-create "tooltip" * "raise"
16:16:01.107
stdout:&"Variable object not found\n"
stdout:29^error,msg="Variable object not found"
stdout:(gdb)
stdout:
16:16:01.117
stdout:30^done,name="tooltip",numchild="0",type="<text variable, no debug info>"
stdout:(gdb)
stdout:
input:[16:16:01.118] 31-var-evaluate-expression "tooltip"
status:Finished retrieving data.
16:16:01.120
stdout:31^done,value="{<text variable, no debug info>} 0xaf6850 <raise>"
stdout:(gdb)
stdout:
input:[16:16:01.120] <Rebuild Watchmodel>
input:[16:16:01.225] 32-var-delete "tooltip"
input:[16:16:01.225] 33-var-create "tooltip" * "raise"
16:16:01.230
stdout:32^done,ndeleted="1"
stdout:(gdb)
stdout:
16:16:01.239
stdout:33^done,name="tooltip",numchild="0",type="<text variable, no debug info>"
stdout:(gdb)
stdout:
input:[16:16:01.239] 34-var-evaluate-expression "tooltip"
status:Finished retrieving data.
16:16:01.241
stdout:34^done,value="{<text variable, no debug info>} 0xaf6850 <raise>"
stdout:(gdb)
stdout:
input:[16:16:01.241] <Rebuild Watchmodel>
input:[16:16:01.300] 35-var-delete "tooltip"
input:[16:16:01.300] 36-var-create "tooltip" * "raise"
16:16:01.310
stdout:35^done,ndeleted="1"
stdout:(gdb)
stdout:
16:16:01.313
stdout:36^done,name="tooltip",numchild="0",type="<text variable, no debug info>"
stdout:(gdb)
stdout:
input:[16:16:01.313] 37-var-evaluate-expression "tooltip"
status:Finished retrieving data.
16:16:01.315
stdout:37^done,value="{<text variable, no debug info>} 0xaf6850 <raise>"
stdout:(gdb)
stdout:
input:[16:16:01.316] <Rebuild Watchmodel>
input:[16:16:01.332] 38-var-delete "tooltip"
input:[16:16:01.332] 39-var-create "tooltip" * "raise"
16:16:01.343
stdout:38^done,ndeleted="1"
stdout:(gdb)
stdout:
16:16:01.345
stdout:39^done,name="tooltip",numchild="0",type="<text variable, no debug info>"
stdout:(gdb)
stdout:
input:[16:16:01.345] 40-var-evaluate-expression "tooltip"
status:Finished retrieving data.
16:16:01.349
stdout:40^done,value="{<text variable, no debug info>} 0xaf6850 <raise>"
stdout:(gdb)
stdout:
input:[16:16:01.349] <Rebuild Watchmodel>
input:[16:16:01.406] 41-var-delete "tooltip"
input:[16:16:01.406] 42-var-create "tooltip" * "raise"
16:16:01.413
stdout:41^done,ndeleted="1"
stdout:(gdb)
stdout:
16:16:01.419
stdout:42^done,name="tooltip",numchild="0",type="<text variable, no debug info>"
stdout:(gdb)
stdout:
input:[16:16:01.419] 43-var-evaluate-expression "tooltip"
status:Finished retrieving data.
16:16:01.422
stdout:43^done,value="{<text variable, no debug info>} 0xaf6850 <raise>"
stdout:(gdb)
stdout:
input:[16:16:01.422] <Rebuild Watchmodel>
input:[16:16:02.111] 44-var-delete "tooltip"
input:[16:16:02.111] 45-var-create "tooltip" * "raise"
16:16:02.116
stdout:44^done,ndeleted="1"
stdout:(gdb)
stdout:
16:16:02.124
stdout:45^done,name="tooltip",numchild="0",type="<text variable, no debug info>"
stdout:(gdb)
stdout:
input:[16:16:02.124] 46-var-evaluate-expression "tooltip"
status:Finished retrieving data.
16:16:02.126
stdout:46^done,value="{<text variable, no debug info>} 0xaf6850 <raise>"
stdout:(gdb)
stdout:
input:[16:16:02.127] <Rebuild Watchmodel>
input:[16:16:03.412] 47-var-delete "tooltip"
input:[16:16:03.412] 48-var-create "tooltip" * "Edit_call_dialog"
16:16:03.421
stdout:47^done,ndeleted="1"
stdout:(gdb)
stdout:
status:The Gdb process crashed some time after starting successfully.
status:Finished retrieving data.
status:Finished retrieving data.
status:Finished retrieving data.
status:Finished retrieving data.
input:[16:16:04.577] 49kill
input:[16:16:04.577] 50-gdb-exit
input:[16:16:24.579] <Rebuild Watchmodel>
input:[16:16:24.590] <Rebuild Watchmodel>
input:[16:16:24.596] <Rebuild Watchmodel>
input:[16:16:24.600] <Rebuild Watchmodel>
status:Starting Debugger
status:Gdb Running
input:gdb -i mi
input:[16:18:08.595] 51show version
input:[16:18:08.595] 52set print static-members off
input:[16:18:08.595] 53set breakpoint pending on
input:[16:18:08.595] 54set overload-resolution off
input:[16:18:08.595] 55handle SIGSEGV nopass stop print
input:[16:18:08.595] 56set unwindonsignal on
input:[16:18:08.595] 57pwd
input:[16:18:08.595] 58-file-exec-and-symbols "/root/qt_c_projects/Call_Center/Call_Center"
input:[16:18:08.595] 59-file-list-exec-source-files
input:[16:18:08.595] 60-data-list-register-names
input:[16:18:08.749] 61-break-insert "\"/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp\":42"
16:18:08.789
stdout:~"GNU gdb Red Hat Linux (6.6-45.fc8rh)\n"
stdout:~"Copyright (C) 2006 Free Software Foundation, Inc.\n"
stdout:~"GDB is free software, covered by the GNU General Public License, and you are\n"
stdout:~"welcome to change it and/or distribute copies of it under certain conditions.\n"
stdout:~"Type \"show copying\" to see the conditions.\n"
stdout:~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
stdout:~"This GDB was configured as \"i386-redhat-linux-gnu\".\n"
stdout:(gdb)
stdout:&"show version\n"
stdout:~"GNU gdb Red Hat Linux (6.6-45.fc8rh)\n"
stdout:~"Copyright (C) 2006 Free Software Foundation, Inc.\n"
stdout:~"GDB is free software, covered by the GNU General Public License, and you are\n"
stdout:~"welcome to change it and/or distribute copies of it under certain conditions.\n"
stdout:~"Type \"show copying\" to see the conditions.\n"
stdout:~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
stdout:~"This GDB was configured as \"i386-redhat-linux-gnu\".\n"
stdout:51^done
stdout:(gdb)
stdout:&"set print static-members off\n"
stdout:52^done
stdout:(gdb)
stdout:&"set breakpoint pending on\n"
stdout:53^done
stdout:(gdb)
stdout:&"set overload-resolution off\n"
stdout:54^done
stdout:(gdb)
stdout:&"handle SIGSEGV nopass stop print\n"
stdout:~"Signal Stop\tPrint\tPass to program\tDescription\n"
stdout:~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
stdout:55^done
stdout:(gdb)
stdout:&"set unwindonsignal on\n"
stdout:56^done
stdout:(gdb)
stdout:&"pwd\n"
stdout:~"Working directory /root/qt_c_projects/Call_Center.\n"
stdout:57^done
stdout:(gdb)
stdout:
16:18:08.848
stdout:~"Using host libthread_db library \"/lib/libthread_db.so.1\".\n"
stdout:58^done
stdout:(gdb)
stdout:
16:18:08.862
stdout:59^done,files=[{file="debug/qrc_call_center.cpp",fullname="/root/qt_c_projects/Call_Center/debug/qrc_call_center.cpp"},{file="debug/qrc_call_center.cpp",fullname="/root/qt_c_projects/Call_Center/debug/qrc_call_center.cpp"},{file="debug/../src/webbrowser.h",fullname="/root/qt_c_projects/Call_Center/src/webbrowser.h"},{file="debug/moc_webbrowser.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_webbrowser.cpp"},{file="debug/moc_webbrowser.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_webbrowser.cpp"},{file="/usr/include/QtCore/qbytearray.h",fullname="/usr/include/QtCore/qbytearray.h"},{file="debug/../src/common.h",fullname="/root/qt_c_projects/Call_Center/src/common.h"},{file="debug/../src/source_view_project.h",fullname="/root/qt_c_projects/Call_Center/src/source_view_project.h"},{file="debug/moc_source_view_project.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_project.cpp"},{file="/usr/include/QtCore/qchar.h",fullname="/usr/include/QtCore/qchar.h"},{file="/usr/include/QtCore/qatomic_i386.h",fullname="/usr/include/QtCore/qatomic_i386.h"},{file="debug/moc_source_view_project.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_project.cpp"},{file="/usr/include/QtCore/qbytearray.h",fullname="/usr/include/QtCore/qbytearray.h"},{file="debug/../src/common.h",fullname="/root/qt_c_projects/Call_Center/src/common.h"},{file="debug/../src/source_view_by_oper.h",fullname="/root/qt_c_projects/Call_Center/src/source_view_by_oper.h"},{file="debug/moc_source_view_by_oper.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_by_oper.cpp"},{file="/usr/include/QtCore/qatomic_i386.h",fullname="/usr/include/QtCore/qatomic_i386.h"},{file="/usr/include/QtCore/qchar.h",fullname="/usr/include/QtCore/qchar.h"},{file="debug/moc_source_view_by_oper.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_by_oper.cpp"},{file="/usr/include/QtCore/qbytearray.h",fullname="/usr/include/QtCore/qbytearray.h"},{file="debug/../src/common.h",fullname="/root/qt_
c_projects/Call_Center/src/common.h"},{file="debug/../src/source_view_by_billing.h",fullname="/root/qt_c_projects/Call_Center/src/source_view_by_billing.h"},{file="debug/moc_source_view_by_billing.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_by_billing.cpp"},{file="/usr/include/QtCore/qatomic_i386.h",fullname="/usr/include/QtCore/qatomic_i386.h"},{file="/usr/include/QtCore/qchar.h",fullname="/usr/include/QtCore/qchar.h"},{file="debug/moc_source_view_by_billing.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_source_view_by_billing.cpp"},{file="/usr/include/QtCore/qbytearray.h",fullname="/usr/include/QtCore/qbytearray.h"},{file="debug/../src/common.h",fullname="/root/qt_c_projects/Call_Center/src/common.h"},{file="debug/../src/settingsdialog.h",fullname="/root/qt_c_projects/Call_Center/src/settingsdialog.h"},{file="debug/moc_settingsdialog.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_settingsdialog.cpp" [...] <cut off>
stdout:(gdb)
stdout:60^done,register-names=["eax","ecx","edx","ebx","esp","ebp","esi","edi","eip","eflags","cs","ss","ds","es","fs","gs","st0","st1","st2","st3","st4","st5","st6","st7","fctrl","fstat","ftag","fiseg","fioff","foseg","fooff","fop","xmm0","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7","mxcsr","orig_eax","mm0","mm1","mm2","mm3","mm4","mm5","mm6","mm7"]
stdout:(gdb)
stdout:
status:Startup finished. Debugger ready.
status:Running...
16:18:08.903
stdout:61^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x08057f56",func="Edit_call_dialog::setCurrentIndex(QModelIndex const&)",file="src/edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp",line="42",times="0"}
stdout:(gdb)
stdout:
input:[16:18:08.909] 62-exec-run
input:[16:18:08.909] 63info proc
status:Running...
status:Running...
16:18:08.947
stdout:62^running
stdout:(gdb)
stdout:
16:18:09.287
stdout:~"[Thread debugging using libthread_db enabled]\n"
stdout:
16:18:09.842
stdout:
stdout:~"[New Thread -1208846560 (LWP 26058)]\n"
stdout:
16:18:10.408
stdout:
stdout:~"[New Thread -1212593264 (LWP 26066)]\n"
stdout:
16:18:18.020
stdout:
stdout:~"[Switching to Thread -1208846560 (LWP 26058)]\n"
stdout:
status:Stopped at breakpoint
16:18:18.050
stdout:
stdout:62*stopped,reason="breakpoint-hit",bkptno="1",thread-id="1",frame={addr="0x08057f56",func="Edit_call_dialog::setCurrentIndex",args=[{name="this",value="0x81ef268"},{name="index",value="@0x826cba0"}],file="src/edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp",line="42"}
stdout:(gdb)
stdout:
input:[16:18:18.051] 64call dlopen("/root/qt_c_projects/Call_Center/qtc-gdbmacros/libgdbmacros.so", 2)
input:[16:18:18.051] 65sharedlibrary .root.qt_c_projects.Call_Center.qtc-gdbmacros.libgdbmacros.so
input:[16:18:18.051] 66call qDumpObjectData440(1,66+1,0,0,0,0,0,0)
input:[16:18:18.051] 68-file-list-exec-source-files
input:[16:18:18.052] 69-break-list
input:[16:18:18.052] 70p 0
16:18:18.090
stdout:&"info proc\n"
stdout:~"process 26058\n"
stdout:~"cmdline = '/root/qt_c_projects/Call_Center/Call_Center'\n"
stdout:~"cwd = '/root/qt_c_projects/Call_Center'\n"
stdout:~"exe = '/root/qt_c_projects/Call_Center/Call_Center'\n"
stdout:63^done
stdout:(gdb)
stdout:
16:18:18.096
stdout:&"call dlopen(\"/root/qt_c_projects/Call_Center/qtc-gdbmacros/libgdbmacros.so\", 2)\n"
stdout:
16:18:18.110
stdout:
stdout:&"No symbol \"dlopen\" in current context.\n"
stdout:64^error,msg="No symbol \"dlopen\" in current context."
stdout:(gdb)
stdout:&"sharedlibrary .root.qt_c_projects.Call_Center.qtc-gdbmacros.libgdbmacros.so\n"
stdout:~"No loaded shared libraries match the pattern `.root.qt_c_projects.Call_Center.qtc-gdbmacros.libgdbmacros.so'.\n"
stdout:65^done
stdout:(gdb)
stdout:
16:18:18.130
stdout:&"call qDumpObjectData440(1,66+1,0,0,0,0,0,0)\n"
stdout:
16:18:18.139
stdout:
stdout:&"No symbol \"qDumpObjectData440\" in current context.\n"
stdout:66^error,msg="No symbol \"qDumpObjectData440\" in current context."
stdout:(gdb)
stdout:
16:18:18.168
stdout:68^done,files=[{file="<<C++-namespaces>>"},{file="debug/moc_edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_edit_call_dialog.cpp"},{file="/usr/include/QtGui/qabstractbutton.h",fullname="/usr/include/QtGui/qabstractbutton.h"},{file="/usr/include/QtGui/qabstracttextdocumentlayout.h",fullname="/usr/include/QtGui/qabstracttextdocumentlayout.h"},{file="/usr/include/QtGui/qdrag.h",fullname="/usr/include/QtGui/qdrag.h"},{file="/usr/include/QtCore/qmimedata.h",fullname="/usr/include/QtCore/qmimedata.h"},{file="/usr/include/QtGui/qtextedit.h",fullname="/usr/include/QtGui/qtextedit.h"},{file="/usr/include/QtGui/qtextformat.h",fullname="/usr/include/QtGui/qtextformat.h"},{file="/usr/include/QtGui/qtextdocument.h",fullname="/usr/include/QtGui/qtextdocument.h"},{file="/usr/include/QtGui/qabstractscrollarea.h",fullname="/usr/include/QtGui/qabstractscrollarea.h"},{file="/usr/include/QtGui/qframe.h",fullname="/usr/include/QtGui/qframe.h"},{file="/usr/include/QtGui/qlayout.h",fullname="/usr/include/QtGui/qlayout.h"},{file="/usr/include/QtGui/qbuttongroup.h",fullname="/usr/include/QtGui/qbuttongroup.h"},{file="/usr/include/QtGui/qapplication.h",fullname="/usr/include/QtGui/qapplication.h"},{file="/usr/include/QtCore/qcoreapplication.h",fullname="/usr/include/QtCore/qcoreapplication.h"},{file="/usr/include/QtCore/qeventloop.h",fullname="/usr/include/QtCore/qeventloop.h"},{file="/usr/include/QtGui/qactiongroup.h",fullname="/usr/include/QtGui/qactiongroup.h"},{file="/usr/include/QtGui/qaction.h",fullname="/usr/include/QtGui/qaction.h"},{file="/usr/include/QtSql/qsqlquerymodel.h",fullname="/usr/include/QtSql/qsqlquerymodel.h"},{file="/usr/include/QtSql/qsqldatabase.h",fullname="/usr/include/QtSql/qsqldatabase.h"},{file="/usr/include/QtGui/qsizepolicy.h",fullname="/usr/include/QtGui/qsizepolicy.h"},{file="/usr/include/QtGui/qfont.h",fullname="/usr/include/QtGui/qfont.h"},{file="/usr/include/QtGui/qpalette.h",fullname="/usr/include/QtGui/qpalette.h"},{file="/usr/include/QtGui/qbrush.h",fullname="/usr/inc
lude/QtGui/qbrush.h"},{file="/usr/include/QtCore/qhash.h",fullname="/usr/include/QtCore/qhash.h"},{file="/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.h",fullname="/usr/include/c++/4.1.2/bits/locale_facets.h"},{file="/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/i386-redhat-linux/bits/ctype_base.h",fullname="/usr/include/c++/4.1.2/i386-redhat-linux/bits/ctype_base.h"},{file="/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/ios_base.h",fullname="/usr/include/c++/4.1.2/bits/ios_base.h"},{file="/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/limits",fullname="/usr/include/c++/4.1.2/limits"},{file="/usr/include/QtGui/qlayoutitem.h",fullname="/usr/include/QtGui/qlayoutitem.h"},{file="/usr/include/QtGui/qrgb.h",fullname="/usr/include/QtGui/qrgb.h"},{file="/usr/include/QtCore/qrect.h",fullname="/usr/include/QtCore/qrect.h"},{file="/usr/include/QtCore/ [...] <cut off>
stdout:(gdb)
stdout:
status:Stopped.
16:18:18.213
stdout:69^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x08057f56",func="Edit_call_dialog::setCurrentIndex(QModelIndex const&)",file="src/edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp",line="42",times="1"}]}
stdout:(gdb)
stdout:&"p 0\n"
stdout:~"$1 = 0"
stdout:~"\n"
stdout:70^done
stdout:(gdb)
stdout:
input:[16:18:18.216] 71-stack-list-arguments 2 0 0
input:[16:18:18.216] 72-stack-list-locals 2
input:[16:18:18.216] 73-stack-list-frames
16:18:18.255
stdout:71^done,stack-args=[frame={level="0",args=[{name="this",type="class Edit_call_dialog * const",value="(class Edit_call_dialog * const) 0x81ef268"},{name="index",type="const QModelIndex &",value="(const QModelIndex &) @0x826cba0: {r = 3, c = 9, p = 0x0, m = 0x80e4f88}"}]}]
stdout:(gdb)
stdout:
16:18:18.268
stdout:72^done,locals=[]
stdout:(gdb)
stdout:
16:18:18.526
stdout:73^done,stack=[frame={level="0",addr="0x08057f56",func="Edit_call_dialog::setCurrentIndex",file="src/edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/src/edit_call_dialog.cpp",line="42"},frame={level="1",addr="0x0807226e",func="Edit_call_dialog::qt_metacall",file="debug/moc_edit_call_dialog.cpp",fullname="/root/qt_c_projects/Call_Center/debug/moc_edit_call_dialog.cpp",line="88"},frame={level="2",addr="0x040338b1",func="QMetaObject::activate",from="/usr/lib/libQtCore.so.4"},frame={level="3",addr="0x04033f42",func="QMetaObject::activate",from="/usr/lib/libQtCore.so.4"},frame={level="4",addr="0x0578ae43",func="QAbstractItemView::activated",from="/usr/lib/libQtGui.so.4"},frame={level="5",addr="0x0578d080",func="QAbstractItemView::mouseDoubleClickEvent",from="/usr/lib/libQtGui.so.4"},frame={level="6",addr="0x05319f29",func="QWidget::event",from="/usr/lib/libQtGui.so.4"},frame={level="7",addr="0x0565a963",func="QFrame::event",from="/usr/lib/libQtGui.so.4"},frame={level="8",addr="0x056f03ac",func="QAbstractScrollArea::viewportEvent",from="/usr/lib/libQtGui.so.4"},frame={level="9",addr="0x05799b2e",func="QAbstractItemView::viewportEvent",from="/usr/lib/libQtGui.so.4"},frame={level="10",addr="0x056f1775",func="??",from="/usr/lib/libQtGui.so.4"},frame={level="11",addr="0x0401eac9",func="QCoreApplicationPrivate::sendThroughObjectEventFilters",from="/usr/lib/libQtCore.so.4"},frame={level="12",addr="0x052c1579",func="QApplicationPrivate::notify_helper",from="/usr/lib/libQtGui.so.4"},frame={level="13",addr="0x052c6201",func="QApplication::notify",from="/usr/lib/libQtGui.so.4"},frame={level="14",addr="0x0401e759",func="QCoreApplication::notifyInternal",from="/usr/lib/libQtCore.so.4"},frame={level="15",addr="0x052c3d03",func="QApplicationPrivate::sendMouseEvent",from="/usr/lib/libQtGui.so.4"},frame={level="16",addr="0x0532dada",func="??",from="/usr/lib/libQtGui.so.4"},frame={level="17",addr="0x0532c380",func="QApplication::x11ProcessEvent",from="/usr/lib/libQtGui.so.4"},frame={level="18",addr="0x05354034",f
unc="??",from="/usr/lib/libQtGui.so.4"},frame={level="19",addr="0x0023f1ac",func="g_main_context_dispatch",from="/lib/libglib-2.0.so.0"},frame={level="20",addr="0x002425ef",func="??",from="/lib/libglib-2.0.so.0"},frame={level="21",addr="0x00242b55",func="g_main_context_iteration",from="/lib/libglib-2.0.so.0"},frame={level="22",addr="0x04049e0e",func="QEventDispatcherGlib::processEvents",from="/usr/lib/libQtCore.so.4"},frame={level="23",addr="0x05353de5",func="??",from="/usr/lib/libQtGui.so.4"},frame={level="24",addr="0x0401d9ed",func="QEventLoop::processEvents",from="/usr/lib/libQtCore.so.4"},frame={level="25",addr="0x0401db7d",func="QEventLoop::exec",from="/usr/lib/libQtCore.so.4"},frame={level="26",addr="0x0401fb4d",func="QCoreApplication::exec",from="/usr/lib/libQtCore.so.4"},frame={level="27",addr="0x052c0e97",func="QApplication::exec",from="/usr/lib/libQtGui.so.4"},frame={level="28",addr="0x08071305",func="main",file="src/main.cpp",fullname [...] <cut off>
stdout:(gdb)
stdout:
input:[16:18:18.529] 74-var-delete "local.index"
input:[16:18:18.529] 75-var-create "local.index" * "index"
16:18:18.680
stdout:&"Variable object not found\n"
stdout:74^error,msg="Variable object not found"
stdout:(gdb)
stdout:75^done,name="local.index",numchild="1",type="const QModelIndex &"
stdout:(gdb)
stdout:
input:[16:18:18.680] 76-var-evaluate-expression "local.index"
status:Finished retrieving data.
status:Finished retrieving data.
status:Finished retrieving data.
16:18:18.711
stdout:76^done,value="{...}"
stdout:(gdb)
stdout:
input:[16:18:18.711] <Rebuild Watchmodel>
input:[16:18:18.712] <Rebuild Watchmodel>
input:[16:18:18.715] <Rebuild Watchmodel>
input:[16:18:27.250] 77-var-delete "tooltip"
input:[16:18:27.250] 78-var-create "tooltip" * "raise"
16:18:27.258
stdout:&"Variable object not found\n"
stdout:77^error,msg="Variable object not found"
stdout:(gdb)
stdout:
16:18:27.273
stdout:78^done,name="tooltip",numchild="0",type="<text variable, no debug info>"
stdout:(gdb)
stdout:
input:[16:18:27.273] 79-var-evaluate-expression "tooltip"
status:Finished retrieving data.
16:18:27.282
stdout:79^done,value="{<text variable, no debug info>} 0xaf6850 <raise>"
stdout:(gdb)
stdout:
input:[16:18:27.282] <Rebuild Watchmodel>
Gdb left tab after hover (crash):
[16:20:47.547] 80-var-delete "tooltip"
[16:20:47.547] 81-var-create "tooltip" * "Edit_call_dialog"
[16:21:04.941] 82kill
[16:21:04.942] 83-gdb-exit
[16:21:24.943] <Rebuild Watchmodel>
[16:21:24.950] <Rebuild Watchmodel>
[16:21:24.954] <Rebuild Watchmodel>
[16:21:24.956] <Rebuild Watchmodel>
Gdb right tab after hover:
input:[16:20:47.547] 80-var-delete "tooltip"
input:[16:20:47.547] 81-var-create "tooltip" * "Edit_call_dialog"
16:20:47.550
stdout:80^done,ndeleted="1"
stdout:(gdb)
stdout:
status:The Gdb process crashed some time after starting successfully.
status:Finished retrieving data.
status:Finished retrieving data.
status:Finished retrieving data.
status:Finished retrieving data.
input:[16:21:04.941] 82kill
input:[16:21:04.942] 83-gdb-exit
input:[16:21:24.943] <Rebuild Watchmodel>
input:[16:21:24.950] <Rebuild Watchmodel>
input:[16:21:24.954] <Rebuild Watchmodel>
input:[16:21:24.956] <Rebuild Watchmodel>
--------------------------
uname -a
Linux nostromo 2.6.26.6-49.fc8 #1 SMP Fri Oct 17 15:59:36 EDT 2008 i686 i686 i386 GNU/Linux
gdb --version
GNU gdb Red Hat Linux (6.6-45.fc8rh)
This GDB was configured as "i386-redhat-linux-gnu".
ldd /usr/bin/gdb
linux-gate.so.1 => (0x00110000)
libreadline.so.5 => /lib/libreadline.so.5 (0x0069e000)
libncurses.so.5 => /lib/libncurses.so.5 (0x0400c000)
libm.so.6 => /lib/libm.so.6 (0x00ab7000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00c58000)
librpm-4.4.so => /usr/lib/librpm-4.4.so (0x00558000)
libdl.so.2 => /lib/libdl.so.2 (0x00ae2000)
libc.so.6 => /lib/libc.so.6 (0x0095c000)
libtinfo.so.5 => /lib/libtinfo.so.5 (0x03ff2000)
librpmdb-4.4.so => /usr/lib/librpmdb-4.4.so (0x0077e000)
/lib/ld-linux.so.2 (0x0093d000)
librpmio-4.4.so => /usr/lib/librpmio-4.4.so (0x00409000)
libpopt.so.0 => /lib/libpopt.so.0 (0x00773000)
libselinux.so.1 => /lib/libselinux.so.1 (0x003ec000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00609000)
libelf.so.1 => /usr/lib/libelf.so.1 (0x0053f000)
libbeecrypt.so.6 => /usr/lib/libbeecrypt.so.6 (0x00308000)
libz.so.1 => /lib/libz.so.1 (0x00b04000)
librt.so.1 => /lib/librt.so.1 (0x00de4000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00ae9000)
libbz2.so.1 => /lib/libbz2.so.1 (0x00370000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00d99000)
-----------------------------------------
ЗАО "Русская компания"
Турнаев Евгений Викторович
тел.: + 7(3452)399-701 ; 8 906 875 09 43 ;
01110011 01100101 01110010 01100101 01101110
01101001 01110100 01111001 01101001 01101110
01100011 01101000 01100001 01101111 01110011
More information about the Qt-creator-old
mailing list