Bug 321971 - Crash in unregisterWidget
Summary: Crash in unregisterWidget
Status: RESOLVED WORKSFORME
Alias: None
Product: Oxygen
Classification: Plasma
Component: style (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 21:46 UTC by Hrvoje Senjan
Modified: 2014-03-31 01:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hrvoje Senjan 2013-07-04 21:46:28 UTC
Crash is 100% when one quits bangarang

Reproducible: Always

Steps to Reproduce:
1. Open bangarang, use it, quit it
Actual Results:  
Crash -> DrKonqi appears

Expected Results:  
Shouldn't crash

Backtrace:

Application: Bangarang (bangarang), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f16cafea780 (LWP 29588))]

Thread 8 (Thread 0x7f16b289c700 (LWP 29591)):
#0  0x00007f16ca73e964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f16b500e019 in ?? () from /usr/lib64/libvlccore.so.5
#2  0x00007f16ca73ae0e in start_thread () from /lib64/libpthread.so.0
#3  0x00007f16c564db9d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f16ae10d700 (LWP 29592)):
#0  0x00007f16c56469f3 in select () from /lib64/libc.so.6
#1  0x00007f16caaac5f2 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f16ca9d0d0c in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f16ca73ae0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f16c564db9d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f16ad33d700 (LWP 29595)):
#0  0x00007f16c5644c4d in poll () from /lib64/libc.so.6
#1  0x00007f16c4e9805c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f16c4e98184 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f16caafc0c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f16caacc80f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f16caacca98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f16ca9ce500 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00000000004cd04f in DeviceManager::run (this=0x25d9070) at /home/hrvoje/Src/local/bangarang/src/platform/devicemanager.cpp:97
#8  0x00007f16ca9d0d0c in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f16ca73ae0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f16c564db9d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f16acb3c700 (LWP 29596)):
#0  0x00007f16c5644c4d in poll () from /lib64/libc.so.6
#1  0x00007f16c4e9805c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f16c4e98184 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f16caafc0e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f16caacc80f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f16caacca98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f16ca9ce500 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f16caaae39f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f16ca9d0d0c in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f16ca73ae0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f16c564db9d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f16aa0c3700 (LWP 30866)):
#0  0x00007f16ca74139d in write () from /lib64/libpthread.so.0
#1  0x00007f16c4ed713f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f16caad0d3a in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /usr/lib64/libQtCore.so.4
#3  0x00007f16caad5c25 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /usr/lib64/libQtCore.so.4
#4  0x00007f16caad7e2c in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib64/libQtCore.so.4
#5  0x00007f16b52f0fbb in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#6  0x00007f16b4dd1ae7 in ?? () from /usr/lib64/libvlc.so.5
#7  0x00007f16b4dd3e46 in ?? () from /usr/lib64/libvlc.so.5
#8  0x00007f16b5079863 in ?? () from /usr/lib64/libvlccore.so.5
#9  0x00007f16b507a56f in var_SetChecked () from /usr/lib64/libvlccore.so.5
#10 0x00007f16b502e8b8 in ?? () from /usr/lib64/libvlccore.so.5
#11 0x00007f16b502ea37 in ?? () from /usr/lib64/libvlccore.so.5
#12 0x00007f16b502a862 in ?? () from /usr/lib64/libvlccore.so.5
#13 0x00007f16b502c22c in ?? () from /usr/lib64/libvlccore.so.5
#14 0x00007f16b502e036 in ?? () from /usr/lib64/libvlccore.so.5
#15 0x00007f16b502f6ec in ?? () from /usr/lib64/libvlccore.so.5
#16 0x00007f16b50350b9 in ?? () from /usr/lib64/libvlccore.so.5
#17 0x00007f16b5035a55 in ?? () from /usr/lib64/libvlccore.so.5
#18 0x00007f16ca73ae0e in start_thread () from /lib64/libpthread.so.0
#19 0x00007f16c564db9d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f16a31b8700 (LWP 30867)):
#0  0x00007f16ca73e964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f16b5062c9e in block_FifoGet () from /usr/lib64/libvlccore.so.5
#2  0x00007f16b5022b85 in ?? () from /usr/lib64/libvlccore.so.5
#3  0x00007f16ca73ae0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f16c564db9d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f16abb3a700 (LWP 30868)):
#0  0x00007f16c5644c4d in poll () from /lib64/libc.so.6
#1  0x00007f16c240618f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f16c23f752c in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f16c23f7b89 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f16c23f7c40 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f16c240613f in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f16bfaff1e3 in ?? () from /usr/lib64/pulseaudio/libpulsecommon-4.0.so
#7  0x00007f16ca73ae0e in start_thread () from /lib64/libpthread.so.0
#8  0x00007f16c564db9d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f16cafea780 (LWP 29588)):
#0  0x00007f16ca74139d in write () from /lib64/libpthread.so.0
#1  0x00007f16c4ed713f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f16caad0d3a in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /usr/lib64/libQtCore.so.4
#3  0x00007f16babd0b2c in unregisterWidget (key=0x25dbfd0, this=0x218c5d8) at /usr/src/debug/kde-workspace-git/kstyles/oxygen/animations/oxygendatamap.h:103
#4  Oxygen::WidgetStateEngine::unregisterWidget (this=0x218c560, object=0x25dbfd0) at /usr/src/debug/kde-workspace-git/kstyles/oxygen/animations/oxygenwidgetstateengine.h:100
#5  0x00007f16babce4c1 in qt_static_metacall (_a=<optimized out>, _o=<optimized out>, _c=<optimized out>, _id=<optimized out>) at /usr/src/debug/kde-workspace-git/build/kstyles/oxygen/oxygenwidgetstateengine.moc:50
#6  Oxygen::WidgetStateEngine::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-workspace-git/build/kstyles/oxygen/oxygenwidgetstateengine.moc:44
#7  0x00007f16caae205f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#8  0x00007f16caae2adf in QObject::destroyed(QObject*) () from /usr/lib64/libQtCore.so.4
#9  0x00007f16caae69e3 in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#10 0x00007f16c9ca8038 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#11 0x00007f16ca0ad149 in QSplitter::~QSplitter() () from /usr/lib64/libQtGui.so.4
#12 0x00007f16caae01a2 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#13 0x00007f16c9ca7f9c in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#14 0x00007f16c9ca82e9 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#15 0x00007f16caae01a2 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#16 0x00007f16c9ca7f9c in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#17 0x00007f16ca0af219 in QStackedWidget::~QStackedWidget() () from /usr/lib64/libQtGui.so.4
#18 0x00007f16caae01a2 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#19 0x00007f16c9ca7f9c in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#20 0x00007f16c9ca82e9 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#21 0x00007f16caae01a2 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#22 0x00007f16c9ca7f9c in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#23 0x0000000000458617 in MainWindow::~MainWindow (this=0x25d98e0, __in_chrg=<optimized out>) at /home/hrvoje/Src/local/bangarang/src/app/common/mainwindow.cpp:164
#24 0x0000000000458650 in MainWindow::~MainWindow (this=0x25d98e0, __in_chrg=<optimized out>) at /home/hrvoje/Src/local/bangarang/src/app/common/mainwindow.cpp:167
#25 0x000000000044d849 in BangarangApplication::~BangarangApplication (this=0x7fff02e4c5e0, __in_chrg=<optimized out>) at /home/hrvoje/Src/local/bangarang/src/app/common/bangarangapplication.cpp:225
#26 0x000000000043f59e in main (argc=1, argv=0x7fff02e4ca08) at /home/hrvoje/Src/local/bangarang/src/app/main.cpp:65
Comment 1 Hrvoje Senjan 2013-07-04 21:48:46 UTC
Forgot to mention, using master (no such version to mark).
Comment 2 Hugo Pereira Da Costa 2013-07-08 14:18:39 UTC
When was your 'master' last updated ? and if prior to July 1st, can you try update again and see if still happens ? 
The crash is likely due to revision b7836534cb125f9c94f29a039b5dc8597300d321 of kde-workspace, which was "reverted" since then (rev: 9bd69b20f143eae51930f52b871146f45988aec8). In the meanwhile I'll try to reproduce myself also.
Comment 3 Hrvoje Senjan 2013-07-08 14:38:52 UTC
(In reply to comment #2)
> When was your 'master' last updated ? 
My "master" is now at 14e199aba5574b3ae11965a103745620cb42430e, so after the commit, and a revert. Bangarang seems quite crashy now, getting lots of other backtraces, i'll need to validate this one again.
Comment 4 Hugo Pereira Da Costa 2013-07-08 15:42:30 UTC
Can sound stupid: but make sure you have everything in kde properly compiled and installed, in the right order.
On my side, so far, I have not been able to reproduce the crash neither before the reverted commit, nor after. But also, my system is not vanilla master.
Comment 5 Hrvoje Senjan 2014-03-31 01:19:30 UTC
we can close - definitely gone, whatever was the cause