Bug 361539 - KAlarm Crashes on Creation (Add) of New *.ics Calander File
Summary: KAlarm Crashes on Creation (Add) of New *.ics Calander File
Status: CLOSED FIXED
Alias: None
Product: kalarm
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-09 03:34 UTC by kdebugs.anon134
Modified: 2020-08-17 23:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 16.04
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugs.anon134 2016-04-09 03:34:45 UTC
Application: kalarm (2.11.4-5ak)

Qt Version: 5.5.1
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
1)  Clicked the "Add" button in the column labeled "Calendars:.
2)  Clicked the option labeled "KAlarm Calendar File".
3)  Entered "/home/tux/Test 13.ics" in the text field labeled "Filename:".
4)  Entered "Test 13"" in the text field labeled "Name:".
5)  Clicked the button labeled "OK".
6)  KAlarm crashes.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7ff4229ed700 (LWP 20110)):
#0  0x00007ff43ba7abbd in poll () from /lib64/libc.so.6
#1  0x00007ff435dc9422 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007ff435dcb00f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ff424d7e3c9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007ff43c39132f in QThreadPrivate::start (arg=0x2747490) at thread/qthread_unix.cpp:331
#5  0x00007ff435fe60a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff43ba82fed in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff418365700 (LWP 20162)):
#0  0x00007ff4356dbcf9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff4356994b9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff435699d80 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff435699f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff43c5c3d8b in QEventDispatcherGlib::processEvents (this=0x7ff4100008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ff43c56ad53 in QEventLoop::exec (this=this@entry=0x7ff418364d90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff43c38c61a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007ff43c39132f in QThreadPrivate::start (arg=0x2851c50) at thread/qthread_unix.cpp:331
#8  0x00007ff435fe60a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff43ba82fed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff417b64700 (LWP 20164)):
#0  0x00007ff435699628 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff435699d80 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff435699f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff43c5c3d8b in QEventDispatcherGlib::processEvents (this=0x7ff4080008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff43c56ad53 in QEventLoop::exec (this=this@entry=0x7ff417b63d90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff43c38c61a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff43c39132f in QThreadPrivate::start (arg=0x2861ec0) at thread/qthread_unix.cpp:331
#7  0x00007ff435fe60a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ff43ba82fed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff444541840 (LWP 20108)):
[KCrash Handler]
#6  0x00007ff43c534a26 in QSortFilterProxyModel::parent (this=0x2863c90, child=...) at itemmodels/qsortfilterproxymodel.cpp:1874
#7  0x00007ff43c512d63 in parent (this=<optimized out>) at itemmodels/qabstractitemmodel.h:411
#8  QPersistentModelIndex::parent (this=this@entry=0x2bf8768) at itemmodels/qabstractitemmodel.cpp:365
#9  0x00007ff43c5228b8 in isValid (this=0x2bf8760) at itemmodels/qitemselectionmodel.h:123
#10 QItemSelectionModel::isSelected (this=this@entry=0x297c5d0, index=...) at itemmodels/qitemselectionmodel.cpp:1395
#11 0x00007ff43da9dacd in QListView::paintEvent (this=0x2977860, e=<optimized out>) at itemviews/qlistview.cpp:960
#12 0x00007ff43d87252b in QWidget::event (this=this@entry=0x2977860, event=event@entry=0x7fff5b406ef0) at kernel/qwidget.cpp:8833
#13 0x00007ff43d96c43e in QFrame::event (this=0x2977860, e=0x7fff5b406ef0) at widgets/qframe.cpp:540
#14 0x00007ff43da8794b in QAbstractItemView::viewportEvent (this=this@entry=0x2977860, event=event@entry=0x7fff5b406ef0) at itemviews/qabstractitemview.cpp:1685
#15 0x00000000005be229 in CollectionView::viewportEvent (this=0x2977860, e=0x7fff5b406ef0) at /usr/src/debug/kdepim-15.12.3/kalarm/collectionmodel.cpp:639
#16 0x00007ff43c56d0d3 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x2710f50, receiver=receiver@entry=0x2a21540, event=event@entry=0x7fff5b406ef0) at kernel/qcoreapplication.cpp:1072
#17 0x00007ff43d831e5c in QApplicationPrivate::notify_helper (this=this@entry=0x2710f50, receiver=receiver@entry=0x2a21540, e=e@entry=0x7fff5b406ef0) at kernel/qapplication.cpp:3712
#18 0x00007ff43d836cc8 in QApplication::notify (this=0x270f5e0, receiver=0x2a21540, e=0x7fff5b406ef0) at kernel/qapplication.cpp:3499
#19 0x00007ff43c56ce95 in QCoreApplication::notifyInternal (this=0x270f5e0, receiver=receiver@entry=0x2a21540, event=event@entry=0x7fff5b406ef0) at kernel/qcoreapplication.cpp:965
#20 0x00007ff43d86b3e9 in sendSpontaneousEvent (event=0x7fff5b406ef0, receiver=0x2a21540) at ../../src/corelib/kernel/qcoreapplication.h:227
#21 QWidgetPrivate::sendPaintEvent (this=this@entry=0x2a2c380, toBePainted=...) at kernel/qwidget.cpp:5630
#22 0x00007ff43d86b9da in QWidgetPrivate::drawWidget (this=this@entry=0x2a2c380, pdev=0x2ab2ea0, rgn=..., offset=..., flags=36, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2a8e6a0) at kernel/qwidget.cpp:5570
#23 0x00007ff43d83e9e4 in QWidgetBackingStore::doSync (this=this@entry=0x2a8e6a0) at kernel/qwidgetbackingstore.cpp:1220
#24 0x00007ff43d83ec94 in QWidgetBackingStore::sync (this=0x2a8e6a0) at kernel/qwidgetbackingstore.cpp:1032
#25 0x00007ff43d85dd7f in QWidgetPrivate::syncBackingStore (this=this@entry=0x28bb650) at kernel/qwidget.cpp:1907
#26 0x00007ff43d871e94 in QWidget::event (this=this@entry=0x28c0870, event=event@entry=0x2ada180) at kernel/qwidget.cpp:8986
#27 0x00007ff43d98212b in QMainWindow::event (this=this@entry=0x28c0870, event=event@entry=0x2ada180) at widgets/qmainwindow.cpp:1495
#28 0x00007ff4400fb6a7 in KMainWindow::event (this=this@entry=0x28c0870, ev=ev@entry=0x2ada180) at /usr/src/debug/kxmlgui-5.20.0/src/kmainwindow.cpp:867
#29 0x00007ff440135305 in KXmlGuiWindow::event (this=0x28c0870, ev=0x2ada180) at /usr/src/debug/kxmlgui-5.20.0/src/kxmlguiwindow.cpp:118
#30 0x00007ff43d831e7c in QApplicationPrivate::notify_helper (this=this@entry=0x2710f50, receiver=receiver@entry=0x28c0870, e=e@entry=0x2ada180) at kernel/qapplication.cpp:3716
#31 0x00007ff43d836cc8 in QApplication::notify (this=0x270f5e0, receiver=0x28c0870, e=0x2ada180) at kernel/qapplication.cpp:3499
#32 0x00007ff43c56ce95 in QCoreApplication::notifyInternal (this=0x270f5e0, receiver=0x28c0870, event=event@entry=0x2ada180) at kernel/qcoreapplication.cpp:965
#33 0x00007ff43c56f057 in sendEvent (event=0x2ada180, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x26e4e40) at kernel/qcoreapplication.cpp:1593
#35 0x00007ff43c56f608 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#36 0x00007ff43c5c48f3 in postEventSourceDispatch (s=0x2773840) at kernel/qeventdispatcher_glib.cpp:271
#37 0x00007ff435699c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#38 0x00007ff435699ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007ff435699f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#40 0x00007ff43c5c3d6c in QEventDispatcherGlib::processEvents (this=0x276d1c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#41 0x00007ff43c56ad53 in QEventLoop::exec (this=this@entry=0x7fff5b407a20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#42 0x00007ff43c5728f6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#43 0x00000000004b8393 in main (argc=3, argv=0x7fff5b408588) at /usr/src/debug/kdepim-15.12.3/kalarm/main.cpp:137

Possible duplicates by query: bug 326396, bug 307631.

Reported using DrKonqi
Comment 1 David Jarvie 2016-04-12 21:47:11 UTC
I can't reproduce this running under KDE frameworks 5,17.0.

What version of KDE frameworks are you using? (Help -> About KAlarm -> Version will tell you the KDE frameworks version.)
Comment 2 kdebugs.anon134 2016-04-13 13:03:02 UTC
Using:
KDE Frameworks 5.20.0
Qt 5.5.1 (built against 5.5.1)
The xcb windowing system
Comment 3 David Jarvie 2016-04-13 21:16:11 UTC
This is probably fixed for KDE Applications version 16.04 by commit
http://commits.kde.org/kdepim/37373504360a50f94ed73049ddbdfe95f5e04a82

If it happens again after updating to 16.04, please reopen.