Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9097

QtCreator crashes in QGtkStyle::drawComplexControl with oxygen-gtk theme

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.7.0
    • All Other Issues
    • None
    • Ubuntu 13.04

    Description

      Putting this into ~/.gtkrc-2.0

      ~/.gtkrc-2.0
      include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
      
      gtk-theme-name="oxygen-gtk"
      

      Makes QtCreator crash when trying to create a new project or opening an old one.

      stacktrace
      Thread 1 (Thread 0x7ffff7fc3780 (LWP 11801)):
      #0  QGtkStyle::drawComplexControl (this=0x0, control=<optimized out>, 
          option=0x7fffffffaa60, painter=0x7fffffffaa40, widget=0x1c5d0f0)
          at styles/qgtkstyle.cpp:1919
      #1  0x00007fffde7fee56 in ManhattanStyle::drawComplexControl (this=0x8e0100, 
          control=QStyle::CC_ComboBox, option=0x7fffffffaa60, painter=0x7fffffffaa40, 
          widget=0x1c5d0f0) at ../../../../src/plugins/coreplugin/manhattanstyle.cpp:983
      #2  0x00007ffff75efc6e in drawComplexControl (opt=..., cc=QStyle::CC_ComboBox, 
          this=0x7fffffffaa40)
          at ../../include/QtWidgets/../../src/widgets/styles/qstylepainter.h:93
      #3  QComboBox::paintEvent (this=0x1c5d0f0) at widgets/qcombobox.cpp:2751
      #4  0x00007ffff751d0b8 in QWidget::event (this=0x1c5d0f0, event=0x7fffffffb2b0)
          at kernel/qwidget.cpp:7986
      #5  0x00007ffff75f2908 in QComboBox::event (this=0x1c5d0f0, event=0x7fffffffb2b0)
          at widgets/qcombobox.cpp:2816
      #6  0x00007ffff74e693c in QApplicationPrivate::notify_helper (this=this@entry=0x61e1e0, 
          receiver=receiver@entry=0x1c5d0f0, e=e@entry=0x7fffffffb2b0)
          at kernel/qapplication.cpp:3394
      #7  0x00007ffff74e8832 in QApplication::notify (this=0x7fffffffdbe0, receiver=0x1c5d0f0, 
          e=0x7fffffffb2b0) at kernel/qapplication.cpp:3359
      #8  0x00007ffff668b2fe in QCoreApplication::notifyInternal (this=0x7fffffffdbe0, 
          receiver=0x1c5d0f0, event=0x7fffffffb2b0) at kernel/qcoreapplication.cpp:767
      #9  0x00007ffff7521775 in sendSpontaneousEvent (event=0x7fffffffb2b0, receiver=0x1c5d0f0)
          at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:206
      #10 QWidgetPrivate::drawWidget (this=this@entry=0x1c5d130, pdev=pdev@entry=0x1ca7270, 
          rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, 
          backingStore=backingStore@entry=0x1c73100) at kernel/qwidget.cpp:5112
      #11 0x00007ffff75221ed in QWidgetPrivate::paintSiblingsRecursive (
          this=this@entry=0x1afcf70, pdev=pdev@entry=0x1ca7270, siblings=..., 
          index=<optimized out>, index@entry=5, rgn=..., offset=..., flags=flags@entry=4, 
          sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1c73100)
          at kernel/qwidget.cpp:5306
      #12 0x00007ffff7522043 in QWidgetPrivate::paintSiblingsRecursive (this=0x1afcf70, 
      ---Type <return> to continue, or q <return> to quit---
          pdev=0x1ca7270, siblings=..., index=5, rgn=..., offset=..., flags=4, 
          sharedPainter=0x0, backingStore=0x1c73100) at kernel/qwidget.cpp:5293
      #13 0x00007ffff75212c8 in QWidgetPrivate::drawWidget (this=0x1afcf70, pdev=0x1ca7270, 
          rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, 
          backingStore=0x1c73100) at kernel/qwidget.cpp:5163
      #14 0x00007ffff74f2b8f in QWidgetBackingStore::sync (this=this@entry=0x1c73100)
          at kernel/qwidgetbackingstore.cpp:1090
      #15 0x00007ffff74f3329 in QWidgetBackingStore::sync (this=0x1c73100, 
          exposedWidget=0x7fffffffc4d0, exposedRegion=...)
          at kernel/qwidgetbackingstore.cpp:922
      #16 0x00007ffff753e513 in QWidgetWindow::event (this=0x1c54410, event=0x7fffffffc040)
          at kernel/qwidgetwindow.cpp:183
      #17 0x00007ffff74e693c in QApplicationPrivate::notify_helper (this=this@entry=0x61e1e0, 
          receiver=receiver@entry=0x1c54410, e=e@entry=0x7fffffffc040)
          at kernel/qapplication.cpp:3394
      #18 0x00007ffff74e8832 in QApplication::notify (this=0x7fffffffdbe0, receiver=0x1c54410, 
          e=0x7fffffffc040) at kernel/qapplication.cpp:3359
      #19 0x00007ffff668b2fe in QCoreApplication::notifyInternal (this=0x7fffffffdbe0, 
          receiver=0x1c54410, event=0x7fffffffc040) at kernel/qcoreapplication.cpp:767
      #20 0x00007ffff6b5e7f5 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
      #21 0x00007ffff6b62c3d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
      #22 0x00007ffff6b523d8 in QWindowSystemInterface::sendWindowSystemEventsImplementation(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
      #23 0x00007fffeee30a90 in ?? ()
         from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
      #24 0x00007ffff5488f05 in g_main_dispatch (context=0x629d10)
          at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
      #25 g_main_context_dispatch (context=context@entry=0x629d10)
          at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
      #26 0x00007ffff5489248 in g_main_context_iterate (context=context@entry=0x629d10, 
          block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
          at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
      #27 0x00007ffff5489304 in g_main_context_iteration (context=0x629d10, may_block=1)
          at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
      #28 0x00007ffff66d367c in QEventDispatcherGlib::processEvents (this=0x629c40, flags=...)
          at kernel/qeventdispatcher_glib.cpp:423
      ---Type <return> to continue, or q <return> to quit---
      #29 0x00007ffff668a24b in QEventLoop::exec (this=0x7fffffffc2f0, flags=...)
          at kernel/qeventloop.cpp:212
      #30 0x00007ffff76c6e3b in QDialog::exec (this=0x7fffffffc4d0) at dialogs/qdialog.cpp:529
      #31 0x00007fffde7d7573 in Core::Internal::NewDialog::showDialog (this=0x7fffffffc4d0)
          at ../../../../src/plugins/coreplugin/dialogs/newdialog.cpp:333
      #32 0x00007fffde790a0c in Core::Internal::MainWindow::showNewItemDialog (
          this=this@entry=0x8b4230, title=..., wizards=..., defaultLocation=..., 
          extraVariables=...) at ../../../../src/plugins/coreplugin/mainwindow.cpp:933
      #33 0x00007fffde790d44 in Core::Internal::MainWindow::newFile (this=0x8b4230)
      #33 0x00007fffde790d44 in Core::Internal::MainWindow::newFile (this=0x8b4230)
          at ../../../../src/plugins/coreplugin/mainwindow.cpp:807
      #34 0x00007fffde85eced in Core::Internal::MainWindow::qt_static_metacall (
          _o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffffffc850)
          at .moc/release-shared/moc_mainwindow.cpp:175
      #35 0x00007ffff66b01fb in QMetaObject::activate (sender=0x920930, 
          signalOffset=<optimized out>, local_signal_index=<optimized out>, 
          argv=0x7fffffffc850) at kernel/qobject.cpp:3441
      #36 0x00007ffff74df422 in QAction::triggered (this=<optimized out>, _t1=false)
          at .moc/release-shared/moc_qaction.cpp:356
      #37 0x00007ffff66b01fb in QMetaObject::activate (sender=0x9351c0, 
          signalOffset=<optimized out>, local_signal_index=<optimized out>, 
          argv=0x7fffffffc9f0) at kernel/qobject.cpp:3441
      #38 0x00007ffff74df422 in QAction::triggered (this=this@entry=0x9351c0, _t1=false)
          at .moc/release-shared/moc_qaction.cpp:356
      #39 0x00007ffff74e12d7 in QAction::activate (this=0x9351c0, event=<optimized out>)
          at kernel/qaction.cpp:1175
      #40 0x00007ffff66b147e in QObject::event (this=0x9351c0, e=<optimized out>)
          at kernel/qobject.cpp:1070
      #41 0x00007ffff74e13c0 in QAction::event (this=<optimized out>, e=<optimized out>)
          at kernel/qaction.cpp:1107
      #42 0x00007ffff74e693c in QApplicationPrivate::notify_helper (this=this@entry=0x61e1e0, 
          receiver=receiver@entry=0x9351c0, e=e@entry=0x1ae5c00)
          at kernel/qapplication.cpp:3394
      #43 0x00007ffff74e8832 in QApplication::notify (this=0x7fffffffdbe0, receiver=0x9351c0, 
          e=0x1ae5c00) at kernel/qapplication.cpp:3359
      #44 0x00007ffff668b2fe in QCoreApplication::notifyInternal (this=0x7fffffffdbe0, 
          receiver=receiver@entry=0x9351c0, event=event@entry=0x1ae5c00)
          at kernel/qcoreapplication.cpp:767
      #45 0x00007ffff668cf86 in sendEvent (event=0x1ae5c00, receiver=0x9351c0)
      ---Type <return> to continue, or q <return> to quit---
          at kernel/qcoreapplication.h:203
      #46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x61e350)
          at kernel/qcoreapplication.cpp:1368
      #47 0x00007ffff66d34f3 in postEventSourceDispatch (s=s@entry=0x629e80)
          at kernel/qeventdispatcher_glib.cpp:278
      #48 0x00007ffff5488f05 in g_main_dispatch (context=0x629d10)
          at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
      #49 g_main_context_dispatch (context=context@entry=0x629d10)
          at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
      #50 0x00007ffff5489248 in g_main_context_iterate (context=context@entry=0x629d10, 
          block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
          at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
      #51 0x00007ffff5489304 in g_main_context_iteration (context=0x629d10, may_block=1)
          at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
      #52 0x00007ffff66d367c in QEventDispatcherGlib::processEvents (this=0x629c40, flags=...)
          at kernel/qeventdispatcher_glib.cpp:423
      #53 0x00007ffff668a24b in QEventLoop::exec (this=0x7fffffffd340, flags=...)
          at kernel/qeventloop.cpp:212
      #54 0x00007ffff668fc7e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1020
      #55 0x0000000000408a53 in main (argc=1, argv=<optimized out>)
          at ../../../src/app/main.cpp:516
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              dt Daniel Teske
              saviq MichaƂ Sawicz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes