Bug 358625 - kalarm crashed when opening from systray
Summary: kalarm crashed when opening from systray
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-knotifications
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Klapetek
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-27 07:58 UTC by Vit Pelcak
Modified: 2018-11-02 22:36 UTC (History)
3 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 Vit Pelcak 2016-01-27 07:58:44 UTC
Application: kalarm (2.11.3-5ak)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-1-default x86_64
Distribution: "openSUSE Tumbleweed (20160121) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I had Kalarm in systray and when I clicked on its icon, I got segfault.
Now when I want to reproduce it, kalarm won't create icon in systray.

-- Backtrace:
Application: KAlarm (kalarm), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb178831940 (LWP 2657))]

Thread 4 (Thread 0x7fb157577700 (LWP 2658)):
#0  0x00007fb16fed424d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb16a2d3432 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fb157576b80) at /usr/include/bits/poll2.h:46
#2  0x00007fb16a2d3432 in _xcb_conn_wait (c=c@entry=0x2118b40, cond=cond@entry=0x2118b80, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007fb16a2d5007 in xcb_wait_for_event (c=0x2118b40) at xcb_in.c:693
#4  0x00007fb15929fe29 in QXcbEventReader::run() (this=0x2123200) at qxcbconnection.cpp:1229
#5  0x00007fb1707dc94f in QThreadPrivate::start(void*) (arg=0x2123200) at thread/qthread_unix.cpp:331
#6  0x00007fb16a4f04a4 in start_thread (arg=0x7fb157577700) at pthread_create.c:334
#7  0x00007fb16fedcbdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fb15568c700 (LWP 2659)):
#0  0x00007fb16fed424d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb169baf264 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb148003020, timeout=<optimized out>, context=0x7fb148000990) at gmain.c:4135
#2  0x00007fb169baf264 in g_main_context_iterate (context=context@entry=0x7fb148000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007fb169baf36c in g_main_context_iteration (context=0x7fb148000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007fb170a0152b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fb1480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fb1709ab63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fb15568bc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fb1707d7b1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fb1707dc94f in QThreadPrivate::start(void*) (arg=0x21f6e90) at thread/qthread_unix.cpp:331
#8  0x00007fb16a4f04a4 in start_thread (arg=0x7fb15568c700) at pthread_create.c:334
#9  0x00007fb16fedcbdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb154e8b700 (LWP 23572)):
#0  0x00007fb16fed424d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb169baf264 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb14c002e50, timeout=<optimized out>, context=0x7fb14c002cb0) at gmain.c:4135
#2  0x00007fb169baf264 in g_main_context_iterate (context=context@entry=0x7fb14c002cb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007fb169baf36c in g_main_context_iteration (context=0x7fb14c002cb0, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007fb170a0152b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fb14c003f10, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fb1709ab63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fb154e8ac90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fb1707d7b1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fb1707dc94f in QThreadPrivate::start(void*) (arg=0x2626cb0) at thread/qthread_unix.cpp:331
#8  0x00007fb16a4f04a4 in start_thread (arg=0x7fb154e8b700) at pthread_create.c:334
#9  0x00007fb16fedcbdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb178831940 (LWP 2657)):
[KCrash Handler]
#6  0x00007fb170192b98 in main_arena () at /lib64/libc.so.6
#7  0x00007fb1592b5329 in QXcbWindow::mapToNative(QRect const&, QXcbScreen const*) const (this=<optimized out>, rect=..., screen=0x2125b80) at qxcbwindow.cpp:203
#8  0x00007fb1592bbab3 in QXcbWindow::setGeometry(QRect const&) (this=0x25f3960, rect=...) at qxcbwindow.cpp:732
#9  0x00007fb171c91032 in QWidgetPrivate::show_sys() (this=this@entry=0x2221880) at kernel/qwidget.cpp:7889
#10 0x00007fb171c99ee6 in QWidgetPrivate::show_helper() (this=this@entry=0x2221880) at kernel/qwidget.cpp:7827
#11 0x00007fb171c9c845 in QWidget::setVisible(bool) (this=0x2295ce0, visible=<optimized out>) at kernel/qwidget.cpp:8111
#12 0x00007fb171c99c18 in QWidgetPrivate::showChildren(bool) (this=this@entry=0x22b61d0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8194
#13 0x00007fb171c99c7f in QWidgetPrivate::show_helper() (this=this@entry=0x22b61d0) at kernel/qwidget.cpp:7772
#14 0x00007fb171c9c845 in QWidget::setVisible(bool) (this=0x2295b20, visible=<optimized out>) at kernel/qwidget.cpp:8111
#15 0x00007fb176063778 in KStatusNotifierItemPrivate::minimizeRestore(bool) (this=this@entry=0x2585250, show=show@entry=true) at /usr/src/debug/knotifications-5.18.0/src/kstatusnotifieritem.cpp:933
#16 0x00007fb176063a93 in KStatusNotifierItemPrivate::checkVisibility(QPoint, bool) (this=0x2585250, pos=..., perform=perform@entry=true) at /usr/src/debug/knotifications-5.18.0/src/kstatusnotifieritem.cpp:580
#17 0x00007fb176063d83 in KStatusNotifierItem::activate(QPoint const&) (this=0x22a62f0, pos=...) at /usr/src/debug/knotifications-5.18.0/src/kstatusnotifieritem.cpp:549
#18 0x00007fb176069902 in KStatusNotifierItemDBus::Activate(int, int) (this=<optimized out>, x=<optimized out>, y=<optimized out>) at /usr/src/debug/knotifications-5.18.0/src/kstatusnotifieritemdbus_p.cpp:300
#19 0x00007fb1760793b9 in StatusNotifierItemAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (y=<optimized out>, x=<optimized out>, this=0x25859a0) at /usr/src/debug/knotifications-5.18.0/build/src/statusnotifieritemadaptor.cpp:135
#20 0x00007fb1760793b9 in StatusNotifierItemAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x25859a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7ffd5348ad40) at /usr/src/debug/knotifications-5.18.0/build/src/statusnotifieritemadaptor.moc:205
#21 0x00007fb176079c40 in StatusNotifierItemAdaptor::qt_metacall(QMetaObject::Call, int, void**) (this=0x25859a0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffd5348ad40) at /usr/src/debug/knotifications-5.18.0/build/src/statusnotifieritemadaptor.moc:318
#22 0x00007fb171168433 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=this@entry=0x25853f0, object=object@entry=0x25859a0, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:978
#23 0x00007fb17116bfd0 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (this=this@entry=0x25853f0, object=0x25859a0, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:885
#24 0x00007fb17116ca93 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) (this=0x25853f0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1462
#25 0x00007fb17116dbbe in QDBusActivateObjectEvent::placeMetaCall(QObject*) (this=0x2623cc0) at qdbusintegrator.cpp:1580
#26 0x00007fb1709dbd79 in QObject::event(QEvent*) (this=0x228c370, e=<optimized out>) at kernel/qobject.cpp:1239
#27 0x00007fb171c5c8cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x21047c0, receiver=receiver@entry=0x228c370, e=e@entry=0x2623cc0) at kernel/qapplication.cpp:3716
#28 0x00007fb171c619d6 in QApplication::notify(QObject*, QEvent*) (this=0x2103780, receiver=0x228c370, e=0x2623cc0) at kernel/qapplication.cpp:3499
#29 0x00007fb1709adcf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x2103780, receiver=0x228c370, event=event@entry=0x2623cc0) at kernel/qcoreapplication.cpp:965
#30 0x00007fb1709b0016 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x2623cc0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#31 0x00007fb1709b0016 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x20daa20) at kernel/qcoreapplication.cpp:1593
#32 0x00007fb1709b04f8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#33 0x00007fb170a01103 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x214df50) at kernel/qeventdispatcher_glib.cpp:271
#34 0x00007fb169baf097 in g_main_context_dispatch (context=0x7fb1500016f0) at gmain.c:3154
#35 0x00007fb169baf097 in g_main_context_dispatch (context=context@entry=0x7fb1500016f0) at gmain.c:3769
#36 0x00007fb169baf2c8 in g_main_context_iterate (context=context@entry=0x7fb1500016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#37 0x00007fb169baf36c in g_main_context_iteration (context=0x7fb1500016f0, may_block=may_block@entry=1) at gmain.c:3901
#38 0x00007fb170a0150f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x21505d0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#39 0x00007fb1709ab63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd5348b470, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#40 0x00007fb1709b32fd in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#41 0x00007fb1714b453c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1527
#42 0x00007fb171c58f75 in QApplication::exec() () at kernel/qapplication.cpp:2976
#43 0x00000000004b6710 in main(int, char**) (argc=2, argv=0x7ffd5348bfb8) at /usr/src/debug/kdepim-15.12.0/kalarm/main.cpp:137

Reported using DrKonqi
Comment 1 David Jarvie 2016-01-28 20:26:09 UTC
Which desktop are you using? KDE Plasma, or what?
Comment 2 David Jarvie 2016-01-30 14:53:05 UTC
This looks like a bug in KStatusNotifierItem, so reassigning to frameworks-knotifications.
Comment 3 Andrew Crouthamel 2018-11-01 13:46:26 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Vit Pelcak 2018-11-02 08:30:41 UTC
Hello.

I no longer encounter this issue.
Comment 5 Andrew Crouthamel 2018-11-02 22:36:33 UTC
Thanks for the update!