Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6897

Application crash after menu hiding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.6.0
    • GUI: Window management
    • None

    Description

      In the MainWindow of my application I show the menu bar. After calling hide menu bar a crash appears. Under Qt 4.5.3 I had no crash.

      Program received signal SIGSEGV, Segmentation fault.
      0x003080ae in QVector<QPair<double, QVariant> >::end (this=0x8405eb8)
      at ../../include/QtCore/../../src/corelib/tools/qvector.h:237
      237 inline const_iterator end() const

      { return p->array + d->size; }

      (gdb) where
      #0 0x003080ae in QVector<QPair<double, QVariant> >::end (this=0x8405eb8)
      at ../../include/QtCore/../../src/corelib/tools/qvector.h:237
      #1 0x00305bf2 in QVariantAnimationPrivate::valueAt (this=0x8405e00, step=0) at animation/qvariantanimation.cpp:291
      #2 0x003066eb in QVariantAnimation::keyValueAt (this=0x8454a20, step=0) at animation/qvariantanimation.cpp:538
      #3 0x00306601 in QVariantAnimation::startValue (this=0x8454a20) at animation/qvariantanimation.cpp:502
      #4 0x0030a876 in QPropertyAnimation::updateState (this=0x8454a20, newState=QAbstractAnimation::Running,
      oldState=QAbstractAnimation::Stopped) at animation/qpropertyanimation.cpp:282
      #5 0x00302a40 in QAbstractAnimationPrivate::setState (this=0x8768770, newState=QAbstractAnimation::Running)
      at animation/qabstractanimation.cpp:370
      #6 0x003034e9 in QAbstractAnimation::start (this=0x8454a20, policy=QAbstractAnimation::DeleteWhenStopped)
      at animation/qabstractanimation.cpp:739
      #7 0x00e8dfba in QWidgetAnimator::animate (this=0x8260d88, widget=0x83569d8, _final_geometry=..., animate=false)
      at widgets/qwidgetanimator.cpp:102
      #8 0x00dc7a58 in QDockAreaLayout::apply (this=0x82609b4, animate=false) at widgets/qdockarealayout.cpp:3081
      #9 0x00df2187 in QMainWindowLayoutState::apply (this=0x8260908, animated=false) at widgets/qmainwindowlayout.cpp:235
      #10 0x00df82d2 in QMainWindowLayout::applyState (this=0x82608f8, newState=..., animate=false)
      at widgets/qmainwindowlayout.cpp:1924
      #11 0x00df57bc in QMainWindowLayout::setGeometry (this=0x82608f8, _r=...) at widgets/qmainwindowlayout.cpp:1473
      #12 0x009544e1 in QLayoutPrivate::doResize (this=0x8260580, r=...) at kernel/qlayout.cpp:681
      #13 0x009561d3 in QLayout::activate (this=0x82608f8) at kernel/qlayout.cpp:1259
      #14 0x00954631 in QLayout::widgetEvent (this=0x82608f8, e=0x87688e0) at kernel/qlayout.cpp:752
      #15 0x009238dd in QApplicationPrivate::notify_helper (this=0x8218c08, receiver=0x8260e18, e=0x87688e0)
      at kernel/qapplication.cpp:4233
      #16 0x0092378e in QApplication::notify (this=0xbffff30c, receiver=0x8260e18, e=0x87688e0)
      at kernel/qapplication.cpp:4207
      #17 0x0043b92f in QCoreApplication::notifyInternal (this=0xbffff30c, receiver=0x8260e18, event=0x87688e0)
      at kernel/qcoreapplication.cpp:704
      #18 0x009144c1 in QCoreApplication::sendEvent (receiver=0x8260e18, event=0x87688e0)
      at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
      #19 0x0043c93f in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8218cd0)
      at kernel/qcoreapplication.cpp:1345
      #20 0x0043c631 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
      #21 0x080d22b0 in QCoreApplication::sendPostedEvents () at /opt/qt4.6.0/include/QtCore/qcoreapplication.h:220
      #22 0x00470fd8 in postEventSourceDispatch (s=0x8220b90) at kernel/qeventdispatcher_glib.cpp:276
      #23 0x05c5be78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #24 0x05c5f720 in ?? () from /lib/libglib-2.0.so.0
      #25 0x05c5f853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #26 0x00471fd4 in QEventDispatcherGlib::processEvents (this=0x821f030, flags=...)
      at kernel/qeventdispatcher_glib.cpp:407
      #27 0x009f24e4 in QGuiEventDispatcherGlib::processEvents (this=0x821f030, flags=...)
      at kernel/qguieventdispatcher_glib.cpp:202
      #28 0x00438d3b in QEventLoop::processEvents (this=0xbffff28c, flags=...) at kernel/qeventloop.cpp:149
      #29 0x00438e80 in QEventLoop::exec (this=0xbffff28c, flags=...) at kernel/qeventloop.cpp:201
      #30 0x0043bfa1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
      #31 0x00921234 in QApplication::exec () at kernel/qapplication.cpp:3570
      #32 0x080c634b in main (argc=1, argv=0xbffff454) at main.cpp:184
      (gdb)

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            discus-axel Axel Pauli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes