Bug 361885 - Kalarm crashes when closing main woindow
Summary: Kalarm crashes when closing main woindow
Status: RESOLVED UPSTREAM
Alias: None
Product: Breeze
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-17 09:31 UTC by Ian Proudler
Modified: 2016-04-21 15:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Proudler 2016-04-17 09:31:56 UTC
Application: kalarm (2.11.2-5ak)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-35-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed: Just started machine. Kalarm main window and a reminder were automatically opened/ I close the reminer window by clicking on the X (top right of window). I closed the main window by right-clicking on the task bar entry and choosing 'close'. This casue the bug reporter start.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KAlarm (kalarm), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  QHashNode<QPair<QObject*, QByteArray>, QPropertyAnimation*>::same_key (key0=..., h0=2774901507, this=0x322e6f732e) at ../../include/QtCore/../../src/corelib/tools/qhash.h:206
#7  QHash<QPair<QObject*, QByteArray>, QPropertyAnimation*>::findNode (this=this@entry=0x7f01b2025038 <QPropertyAnimation::updateState(QAbstractAnimation::State, QAbstractAnimation::State)::hash>, akey=..., ahp=ahp@entry=0x0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:919
#8  0x00007f01b1bf101b in QHash<QPair<QObject*, QByteArray>, QPropertyAnimation*>::value (akey=..., this=0x7f01b2025038 <QPropertyAnimation::updateState(QAbstractAnimation::State, QAbstractAnimation::State)::hash>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:618
#9  QPropertyAnimation::updateState (this=0x194cf40, newState=QAbstractAnimation::Stopped, oldState=QAbstractAnimation::Running) at animation/qpropertyanimation.cpp:296
#10 0x00007f01b1be9349 in QAbstractAnimationPrivate::setState (newState=QAbstractAnimation::Stopped, this=0x194d580) at animation/qabstractanimation.cpp:987
#11 QAbstractAnimation::stop (this=<optimized out>) at animation/qabstractanimation.cpp:1376
#12 0x00007f01b1bf01d7 in QPropertyAnimation::~QPropertyAnimation (this=0x194cf40, __in_chrg=<optimized out>) at animation/qpropertyanimation.cpp:169
#13 0x00007f0196e04513 in Breeze::Animation::~Animation (this=0x194cf40, __in_chrg=<optimized out>) at ../../kstyle/animations/breezeanimation.h:47
#14 Breeze::Animation::~Animation (this=0x194cf40, __in_chrg=<optimized out>) at ../../kstyle/animations/breezeanimation.h:47
#15 0x00007f01b1e1dd2b in QObjectPrivate::deleteChildren (this=this@entry=0x194d500) at kernel/qobject.cpp:1950
#16 0x00007f01b1e27620 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#17 0x00007f0196e05725 in Breeze::BaseEngine::~BaseEngine (this=0x194d490, __in_chrg=<optimized out>) at ../../kstyle/animations/breezebaseengine.h:51
#18 Breeze::BusyIndicatorEngine::~BusyIndicatorEngine (this=0x194d490, __in_chrg=<optimized out>) at ../../kstyle/animations/breezebusyindicatorengine.h:47
#19 Breeze::BusyIndicatorEngine::~BusyIndicatorEngine (this=0x194d490, __in_chrg=<optimized out>) at ../../kstyle/animations/breezebusyindicatorengine.h:47
#20 0x00007f01b1e1dd2b in QObjectPrivate::deleteChildren (this=this@entry=0x194d2b0) at kernel/qobject.cpp:1950
#21 0x00007f01b1e27620 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#22 0x00007f0196e054e0 in Breeze::Animations::~Animations (this=0x194d220, __in_chrg=<optimized out>) at ../../kstyle/animations/breezeanimations.h:52
#23 Breeze::Animations::~Animations (this=0x194d220, __in_chrg=<optimized out>) at ../../kstyle/animations/breezeanimations.h:52
#24 0x00007f01b1e1dd2b in QObjectPrivate::deleteChildren (this=this@entry=0x1949c00) at kernel/qobject.cpp:1950
#25 0x00007f01b1e27620 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#26 0x00007f0196de1829 in Breeze::Style::~Style (this=0x1948480, __in_chrg=<optimized out>) at ../../kstyle/breezestyle.cpp:206
#27 0x00007f01b1e1f617 in QtPrivate::QSlotObjectBase::call (a=0x7ffd083c56b0, r=0x1948480, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#28 QMetaObject::activate (sender=sender@entry=0x192d090, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd083c56b0) at kernel/qobject.cpp:3702
#29 0x00007f01b1e1ff87 in QMetaObject::activate (sender=sender@entry=0x192d090, m=m@entry=0x7f01b201c0e0 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd083c56b0) at kernel/qobject.cpp:3582
#30 0x00007f01b1e2002f in QObject::destroyed (this=this@entry=0x192d090, _t1=_t1@entry=0x192d090) at .moc/moc_qobject.cpp:206
#31 0x00007f01b1e2719a in QObject::~QObject (this=0x192d090, __in_chrg=<optimized out>) at kernel/qobject.cpp:903
#32 0x00007f0196df7d27 in Breeze::StylePlugin::~StylePlugin (this=0x192d090, __in_chrg=<optimized out>) at ../../kstyle/breezestyleplugin.cpp:52
#33 Breeze::StylePlugin::~StylePlugin (this=0x192d090, __in_chrg=<optimized out>) at ../../kstyle/breezestyleplugin.cpp:54
#34 0x00007f01b1de2d37 in QLibraryPrivate::unload (this=this@entry=0x19486f0, flag=flag@entry=QLibraryPrivate::UnloadSys) at plugin/qlibrary.cpp:548
#35 0x00007f01b1ddae32 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate (this=0x1936780, __in_chrg=<optimized out>) at plugin/qfactoryloader.cpp:78
#36 0x00007f01b1ddb059 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate (this=0x1936780, __in_chrg=<optimized out>) at plugin/qfactoryloader.cpp:81
#37 0x00007f01b1e27668 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#38 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x7f01b2d35a48 <(anonymous namespace)::Q_QGS_loader::innerFunction()::holder+8>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#39 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#40 0x00007f01b1dd9fd0 in QFactoryLoader::~QFactoryLoader (this=0x7f01b2d35a40 <(anonymous namespace)::Q_QGS_loader::innerFunction()::holder>, __in_chrg=<optimized out>) at plugin/qfactoryloader.cpp:216
#41 0x00007f01b2875589 in (anonymous namespace)::Q_QGS_loader::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at styles/qstylefactory.cpp:70
#42 0x00007f01b1243d32 in __run_exit_handlers (status=0, listp=0x7f01b15ce698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#43 0x00007f01b1243d85 in __GI_exit (status=<optimized out>) at exit.c:104
#44 0x00007f01b122aa47 in __libc_start_main (main=0x4a5420 <main(int, char**)>, argc=3, argv=0x7ffd083c5a78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd083c5a68) at libc-start.c:323
#45 0x00000000004a8489 in _start () at ../../kalarm/main.cpp:48

Reported using DrKonqi
Comment 1 David Jarvie 2016-04-20 21:48:32 UTC
The crash is in the Breeze style code. Reassigning to Breeze.
Comment 2 Aleix Pol 2016-04-20 23:01:37 UTC
That's the bug, it's fixed in Qt, just need to wait for Qt 5.6.1.

https://bugreports.qt.io/browse/QTBUG-51648
Comment 3 Weng Xuetian 2016-04-21 15:08:11 UTC
(In reply to Aleix Pol from comment #2)
> That's the bug, it's fixed in Qt, just need to wait for Qt 5.6.1.
> 
> https://bugreports.qt.io/browse/QTBUG-51648

I don't think this is the right bug. The new dbus implementation is only introduced in qt 5.6, while the reporter is using Qt 5.4.