Program received signal SIGSEGV, Segmentation fault. 0xf6ba1b46 in QScopedPointer >::operator-> (this=0x4) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:112 112 Q_ASSERT(d); (gdb) bt #0 0xf6ba1b46 in QScopedPointer >::operator-> (this= 0x4) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:112 #1 0xf6ba0c62 in QGLContextPrivate::contextGroup (ctx=0x0) at qgl_p.h:449 #2 0xf6ba930a in QGLFBOGLPaintDevice::context (this=0x8332b84) at qglframebufferobject.cpp:379 #3 0xf6bac90f in QGLPaintDevice::ensureActiveTarget (this=0x8332b84) at qglpaintdevice.cpp:114 #4 0xf6bd546d in QGL2PaintEngineEx::ensureActive (this=0x8184408) at gl2paintengineex/qpaintengineex_opengl2.cpp:2101 #5 0xf6bd2be8 in QGL2PaintEngineEx::drawTextItem (this=0x8184408, p=..., textItem=...) at gl2paintengineex/qpaintengineex_opengl2.cpp:1492 #6 0xf76e704c in QPainter::drawTextItem (this=0xffffb798, p=..., _ti=...) at painting/qpainter.cpp:6680 #7 0xf7808370 in drawMenuText (p=0xffffb798, x=..., y=..., si=..., gf=..., eng=0xffff1ab4, start=4, glyph_start=0) at text/qtextlayout.cpp:2030 #8 0xf780a938 in QTextLine::draw (this=0xffff4430, p=0xffffb798, pos=..., selection=0x0) at text/qtextlayout.cpp:2445 #9 0xf76eaaa1 in qt_format_text (fnt=..., _r=..., tf=134217860, option=0x0, str=..., brect=0x0, tabstops=0, ta= 0x0, tabarraylen=0, painter=0xffffb798) at painting/qpainter.cpp:8254 #10 0xf76e5451 in QPainter::drawText (this=0xffffb798, r=..., flags=132, str=..., br=0x0) at painting/qpainter.cpp:6187 #11 0xf78ad1b2 in QStyle::drawItemText (this=0x81316d0, painter=0xffffb798, rect=..., alignment=132, pal=..., enabled=true, text=..., textRole=QPalette::ButtonText) at styles/qstyle.cpp:540 #12 0xf78c2083 in QCommonStyle::drawControl (this=0x81316d0, element=QStyle::CE_HeaderLabel, opt=0xffff8054, p= 0xffffb798, widget=0x8128930) at styles/qcommonstyle.cpp:1558 #13 0xf797c62c in QWindowsStyle::drawControl (this=0x81316d0, ce=QStyle::CE_HeaderLabel, opt=0xffff8054, p= ---Type to continue, or q to quit--- 0xffffb798, widget=0x8128930) at styles/qwindowsstyle.cpp:2561 #14 0xf7938e3a in QPlastiqueStyle::drawControl (this=0x81316d0, element=QStyle::CE_HeaderLabel, option=0xffff8054, painter=0xffffb798, widget=0x8128930) at styles/qplastiquestyle.cpp:3762 #15 0xf78c60af in QCommonStyle::drawControl (this=0x81316d0, element=QStyle::CE_Header, opt=0xffffb5fc, p= 0xffffb798, widget=0x8128930) at styles/qcommonstyle.cpp:2062 #16 0xf797c62c in QWindowsStyle::drawControl (this=0x81316d0, ce=QStyle::CE_Header, opt=0xffffb5fc, p=0xffffb798, widget=0x8128930) at styles/qwindowsstyle.cpp:2561 #17 0xf7938e3a in QPlastiqueStyle::drawControl (this=0x81316d0, element=QStyle::CE_Header, option=0xffffb5fc, painter=0xffffb798, widget=0x8128930) at styles/qplastiquestyle.cpp:3762 #18 0xf7b496a0 in QHeaderView::paintSection (this=0x8128930, painter=0xffffb798, rect=..., logicalIndex=0) at itemviews/qheaderview.cpp:2528 #19 0xf7b47925 in QHeaderView::paintEvent (this=0x8128930, e=0xffffc184) at itemviews/qheaderview.cpp:2116 #20 0xf75f31ee in QWidget::event (this=0x8128930, event=0xffffc184) at kernel/qwidget.cpp:8494 #21 0xf79e8db3 in QFrame::event (this=0x8128930, e=0xffffc184) at widgets/qframe.cpp:557 #22 0xf7a871ca in QAbstractScrollArea::viewportEvent (this=0x8128930, e=0xffffc184) at widgets/qabstractscrollarea.cpp:1119 #23 0xf7b31b7f in QAbstractItemView::viewportEvent (this=0x8128930, event=0xffffc184) at itemviews/qabstractitemview.cpp:1675 #24 0xf7b48da5 in QHeaderView::viewportEvent (this=0x8128930, e=0xffffc184) at itemviews/qheaderview.cpp:2429 #25 0xf7a87f1e in QAbstractScrollAreaPrivate::viewportEvent (this=0x81341b0, event=0xffffc184) at widgets/qabstractscrollarea_p.h:102 #26 0xf7a87ffd in QAbstractScrollAreaFilter::eventFilter (this=0x813f4c8, o=0x8134f08, e=0xffffc184) at widgets/qabstractscrollarea_p.h:118 ---Type to continue, or q to quit--- #27 0xf720114c in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x804e9c0, receiver=0x8134f08, event=0xffffc184) at kernel/qcoreapplication.cpp:947 #28 0xf759643b in QApplicationPrivate::notify_helper (this=0x804e9c0, receiver=0x8134f08, e=0xffffc184) at kernel/qapplication.cpp:4491 #29 0xf759619d in QApplication::notify (this=0xffffd534, receiver=0x8134f08, e=0xffffc184) at kernel/qapplication.cpp:4460 #30 0xf7200ed9 in QCoreApplication::notifyInternal (this=0xffffd534, receiver=0x8134f08, event=0xffffc184) at kernel/qcoreapplication.cpp:837 #31 0xf7598c26 in QCoreApplication::sendSpontaneousEvent (receiver=0x8134f08, event=0xffffc184) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:235 #32 0xf75ebaca in QWidgetPrivate::drawWidget (this=0x81317f8, pdev=0x817c438, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x813a9d0) at kernel/qwidget.cpp:5575 #33 0xf75ec80c in QWidgetPrivate::paintSiblingsRecursive (this=0x81341b0, pdev=0x817c438, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x813a9d0) at kernel/qwidget.cpp:5784 #34 0xf75ebe3e in QWidgetPrivate::drawWidget (this=0x81341b0, pdev=0x817c438, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x813a9d0) at kernel/qwidget.cpp:5628 #35 0xf75ec80c in QWidgetPrivate::paintSiblingsRecursive (this=0x8132308, pdev=0x817c438, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x813a9d0) at kernel/qwidget.cpp:5784 #36 0xf75ec6d8 in QWidgetPrivate::paintSiblingsRecursive (this=0x8132308, pdev=0x817c438, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x813a9d0) at kernel/qwidget.cpp:5771 #37 0xf75ebe3e in QWidgetPrivate::drawWidget (this=0x8132308, pdev=0x817c438, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x813a9d0) at kernel/qwidget.cpp:5628 #38 0xf75ec80c in QWidgetPrivate::paintSiblingsRecursive (this=0x81351d8, pdev=0x817c438, siblings=..., index=2, ---Type to continue, or q to quit--- #39 0xf75ebe3e in QWidgetPrivate::drawWidget (this=0x81351d8, pdev=0x817c438, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x813a9d0) at kernel/qwidget.cpp:5628 #40 0xf77b48f4 in QWidgetBackingStore::sync (this=0x813a9d0) at painting/qbackingstore.cpp:1373 #41 0xf75e3449 in QWidgetPrivate::syncBackingStore (this=0x81351d8) at kernel/qwidget.cpp:1892 #42 0xf75f36b1 in QWidget::event (this=0xffffd520, event=0x813be00) at kernel/qwidget.cpp:8641 #43 0xf759645f in QApplicationPrivate::notify_helper (this=0x804e9c0, receiver=0xffffd520, e=0x813be00) at kernel/qapplication.cpp:4495 #44 0xf759619d in QApplication::notify (this=0xffffd534, receiver=0xffffd520, e=0x813be00) at kernel/qapplication.cpp:4460 #45 0xf7200ed9 in QCoreApplication::notifyInternal (this=0xffffd534, receiver=0xffffd520, event=0x813be00) at kernel/qcoreapplication.cpp:837 #46 0xf7588764 in QCoreApplication::sendEvent (receiver=0xffffd520, event=0x813be00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:232 #47 0xf7201db7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804ea80) at kernel/qcoreapplication.cpp:1461 #48 0xf7201aac in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1354 #49 0xf76218d9 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237 #50 0xf7237786 in postEventSourceDispatch (s=0x8051738) at kernel/qeventdispatcher_glib.cpp:279 #51 0x44f1994e in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #52 0x44f19f72 in ?? () from /lib/libglib-2.0.so.0 ---Type to continue, or q to quit--- #53 0x44f1a135 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #54 0xf7237f57 in QEventDispatcherGlib::processEvents (this=0x804f488, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #55 0xf7628846 in QPAEventDispatcherGlib::processEvents (this=0x804f488, flags=...) at kernel/qeventdispatcher_glib_qpa.cpp:144 #56 0xf71fe8a1 in QEventLoop::processEvents (this=0xffffd45c, flags=...) at kernel/qeventloop.cpp:149 #57 0xf71fea14 in QEventLoop::exec (this=0xffffd45c, flags=...) at kernel/qeventloop.cpp:204 #58 0xf7201567 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1109 #59 0xf7593b05 in QApplication::exec () at kernel/qapplication.cpp:3756 #60 0x08049ded in main (argc=1, argv=0xffffd6d4) at main.cpp:54 (gdb) q