Bug 331001 - KAlarm crashes on start
Summary: KAlarm crashes on start
Status: RESOLVED INTENTIONAL
Alias: None
Product: Oxygen
Classification: Plasma
Component: style (show other bugs)
Version: 4.11.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-02-11 01:07 UTC by Igor Zhuravlov
Modified: 2014-02-11 23:39 UTC (History)
3 users (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 Igor Zhuravlov 2014-02-11 01:07:14 UTC
Application: kalarm (2.10.6-ak)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.11.10-7-desktop i686
Distribution: "openSUSE 13.1 (Bottle) (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
Just trying to start KAlarm

- Custom settings of the application:
Alarm events are in ~/.local/share/alarms
They was imported successfully from previous version of openSUSE (12.1) into current version (13.1).
Problems with KAlarm began after reboot.

The crash can be reproduced every time.

-- Backtrace:
Application: KAlarm (kalarm), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#7  same_key (key0=<optimized out>, h0=4289401286, this=0xb68) at /usr/include/QtCore/qhash.h:225
#8  QHash<unsigned long long, QCache<unsigned long long, QPixmap>::Node>::findNode (this=this@entry=0x958dbf4, ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/QtCore/qhash.h:887
#9  0xb1f98836 in find (akey=@0xbf96bdb0: 18434871336699474520, this=0x958dbf4) at /usr/include/QtCore/qhash.h:868
#10 relink (key=@0xbf96bdb0: 18434871336699474520, this=0x958dbec) at /usr/include/QtCore/qcache.h:78
#11 object (key=@0xbf96bdb0: 18434871336699474520, this=0x958dbec) at /usr/include/QtCore/qcache.h:148
#12 object (key=@0xbf96bdb0: 18434871336699474520, this=0x958dbec) at /usr/src/debug/kde-workspace-4.11.5/libs/oxygen/oxygenhelper.h:75
#13 Oxygen::Helper::radialGradient (this=0x958daa8, color=..., width=600, height=64) at /usr/src/debug/kde-workspace-4.11.5/libs/oxygen/oxygenhelper.cpp:502
#14 0xb1f9b3b5 in Oxygen::Helper::renderWindowBackground (this=this@entry=0x958daa8, p=p@entry=0xbf96c228, clipRect=..., widget=widget@entry=0x96723a0, window=0x96723a0, color=..., yShift=yShift@entry=-23, gradientHeight=gradientHeight@entry=20) at /usr/src/debug/kde-workspace-4.11.5/libs/oxygen/oxygenhelper.cpp:180
#15 0xb2045b68 in Oxygen::StyleHelper::renderWindowBackground (this=this@entry=0x958daa8, p=p@entry=0xbf96c228, clipRect=..., widget=widget@entry=0x96723a0, color=..., y_shift=y_shift@entry=-23, gradientHeight=gradientHeight@entry=20) at /usr/src/debug/kde-workspace-4.11.5/kstyles/oxygen/oxygenstylehelper.cpp:121
#16 0xb2050229 in Oxygen::Helper::renderWindowBackground (this=0x958daa8, p=0xbf96c228, clipRect=..., widget=0x96723a0, pal=..., y_shift=-23, gradientHeight=20) at /usr/src/debug/kde-workspace-4.11.5/libs/oxygen/oxygenhelper.h:183
#17 0xb2041c90 in Oxygen::Style::drawWidgetPrimitive (this=0x9581a00, option=0xbf96c150, painter=0xbf96c228, widget=0x96723a0) at /usr/src/debug/kde-workspace-4.11.5/kstyles/oxygen/oxygenstyle.cpp:4164
#18 0xb2040c35 in Oxygen::Style::drawPrimitive (this=0x9581a00, element=QStyle::PE_Widget, option=0xbf96c150, painter=0xbf96c228, widget=0x96723a0) at /usr/src/debug/kde-workspace-4.11.5/kstyles/oxygen/oxygenstyle.cpp:1074
#19 0xb56ecfc4 in QWidgetPrivate::paintBackground (this=this@entry=0x96c0be0, painter=0xbf96c228, rgn=..., flags=5) at kernel/qwidget.cpp:2447
#20 0xb56edf11 in QWidgetPrivate::drawWidget (this=0x96c0be0, pdev=0x9826a70, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x984e5c8) at kernel/qwidget.cpp:5577
#21 0xb58d9801 in QWidgetBackingStore::sync (this=this@entry=0x984e5c8) at painting/qbackingstore.cpp:1373
#22 0xb58d9bbb in QWidgetBackingStore::sync (this=0x984e5c8, exposedWidget=0x98ec9d8, exposedRegion=...) at painting/qbackingstore.cpp:1161
#23 0xb56e20ea in QWidgetPrivate::syncBackingStore (this=this@entry=0x9885240, region=...) at kernel/qwidget.cpp:1903
#24 0xb5711e84 in QETWidget::translatePaintEvent (this=this@entry=0x98ec9d8, event=event@entry=0xbf96c6cc) at kernel/qapplication_x11.cpp:5248
#25 0xb571feab in QApplication::x11ProcessEvent (this=0x9531778, event=event@entry=0xbf96c6cc) at kernel/qapplication_x11.cpp:3551
#26 0xb574a464 in x11EventSourceDispatch (s=0x9545820, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0xb45d47de in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb45d4b88 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb45d4c48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb61c05ef in QEventDispatcherGlib::processEvents (this=this@entry=0x94fb810, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#31 0xb574a51e in QGuiEventDispatcherGlib::processEvents (this=0x94fb810, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0xb618fa03 in QEventLoop::processEvents (this=this@entry=0xbf96c988, flags=...) at kernel/qeventloop.cpp:149
#33 0xb618fd29 in QEventLoop::exec (this=this@entry=0xbf96c988, flags=...) at kernel/qeventloop.cpp:204
#34 0xb61954fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#35 0xb5698944 in QApplication::exec () at kernel/qapplication.cpp:3823
#36 0x08089186 in ?? ()
#37 0xb52ac9d3 in __libc_start_main () from /lib/libc.so.6
#38 0x0808ab09 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 232551.

Reported using DrKonqi
Comment 1 Igor Zhuravlov 2014-02-11 01:22:43 UTC
When I'm trying to start KAlarm, the following message appears (my translate from Russian):
"It is impossible to create or change notifications because there is no active calendar available for writing. To fix it select menu View > Show calendars and check/edit calendars state."
Comment 2 David Jarvie 2014-02-11 11:10:23 UTC
The crash has been assigned to the Oxygen style, so as a workaround you could use a different style.

As for the message, if you have managed to start KAlarm, what did View -> Show Calendars show, and did you ensure that you have an enabled active calendar? If your existing calendar does not show in the list, you can use it by clicking the Add button.
Comment 3 Hugo Pereira Da Costa 2014-02-11 11:32:28 UTC
I cannot reproduce.
Also, the crash actually happens in Qt. 
Now, the very same code is used pretty much everywhere (really) in all Qt/KDE applications, to render the window background (see Oxygen::Helper::renderWindowBackground in line #14).

So there must be something specific to kalarm to trigger the crash (otherwise all apps would crash, including KWin)
Comment 4 Hugo Pereira Da Costa 2014-02-11 11:32:55 UTC
(or something that went wrong when updating opensuse)
Comment 5 Hugo Pereira Da Costa 2014-02-11 11:35:22 UTC
... this is also the second crash report we get in a very short time, in QCache, both with OpenSuze 13.1

(see: https://bugs.kde.org/show_bug.cgi?id=330973)
Comment 6 Igor Zhuravlov 2014-02-11 23:30:16 UTC
BTW, before troubles have began, I had executed nepomukcleaner.
Comment 7 Igor Zhuravlov 2014-02-11 23:39:20 UTC
(In reply to comment #2)
> As for the message, if you have managed to start KAlarm, what did View ->
> Show Calendars show, and did you ensure that you have an enabled active
> calendar?

View -> Show Calendars show one item: "Active Calendar" unchecked. When I check it, all my notifications appears in right panel.

So, today KAlarm os OK, and my bug is gone!