Bug 208649 - crash on loading emoticon kcm in system-settings [QListWidgetItem::text, EmoticonList::canEditTheme, EmoticonList::updateButton]
Summary: crash on loading emoticon kcm in system-settings [QListWidgetItem::text, Emot...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_emoticons (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Carlo Segato
URL:
Keywords:
: 209373 212357 214296 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-26 23:54 UTC by Geoffray Levasseur
Modified: 2009-11-13 15:16 UTC (History)
5 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 Geoffray Levasseur 2009-09-26 23:54:58 UTC
Application: systemsettings (1.0)
KDE Version: 4.3.69 (KDE 4.3.69 (KDE 4.4 >= 20090923)) (Compiled from sources)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Opposite to the possible duplicate report I have artwork installed. I can always reproduce the bug.

 -- Backtrace:
Application: Configuration du système (systemsettings), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f61a3e944e1 in QListWidgetItem::text (this=0x0) at /usr/include/qt4/QtGui/qlistwidget.h:90
#6  0x00007f61a3e8edbf in EmoticonList::canEditTheme (this=0x1cdf570) at /home/jeff/src/c/kde/KDE/kdebase/runtime/kcontrol/emoticons/emoticonslist.cpp:471
#7  0x00007f61a3e8fe8d in EmoticonList::updateButton (this=0x1cdf570) at /home/jeff/src/c/kde/KDE/kdebase/runtime/kcontrol/emoticons/emoticonslist.cpp:197
#8  0x00007f61a3e906ee in EmoticonList::load (this=0x1cdf570) at /home/jeff/src/c/kde/KDE/kdebase/runtime/kcontrol/emoticons/emoticonslist.cpp:165
#9  0x00007f61bd34ac1d in KCModule::qt_metacall (this=0x1cdf570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1bd5620)
    at /home/jeff/src/c/kde/build/KDE/kdelibs/kdeui/kcmodule.moc:83
#10 0x00007f61a3e8ea11 in EmoticonList::qt_metacall (this=0x1cdf570, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0x1bd5620)
    at /home/jeff/src/c/kde/build/KDE/kdebase/runtime/kcontrol/emoticons/moc_emoticonslist.cpp:132
#11 0x00007f61bb810f68 in QObject::event (this=0x1cdf570, e=0x1c74a00) at kernel/qobject.cpp:1110
#12 0x00007f61bc4263bd in QWidget::event (this=0x1cdf570, event=0x1c74a00) at kernel/qwidget.cpp:7946
#13 0x00007f61bc3d680d in QApplicationPrivate::notify_helper (this=0x12a2800, receiver=0x1cdf570, e=0x1c74a00) at kernel/qapplication.cpp:4056
#14 0x00007f61bc3de86a in QApplication::notify (this=0x7fff3b0aab40, receiver=0x1cdf570, e=0x1c74a00) at kernel/qapplication.cpp:4021
#15 0x00007f61bd29a18b in KApplication::notify (this=0x7fff3b0aab40, receiver=0x1cdf570, event=0x1c74a00) at /home/jeff/src/c/kde/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#16 0x00007f61bb80151c in QCoreApplication::notifyInternal (this=0x7fff3b0aab40, receiver=0x1cdf570, event=0x1c74a00) at kernel/qcoreapplication.cpp:610
#17 0x00007f61bb802164 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x126f6c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x126f6c0) at kernel/qcoreapplication.cpp:1247
#19 0x00007f61bb829f73 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#20 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#21 0x00007f61b729612a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f61b7299988 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f61b7299b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007f61bb829bff in QEventDispatcherGlib::processEvents (this=0x126f0a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#25 0x00007f61bc46d64f in QGuiEventDispatcherGlib::processEvents (this=0x7fff3b0a9e90, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007f61bb7ffde2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f61bb8001b4 in QEventLoop::exec (this=0x7fff3b0aaab0, flags=...) at kernel/qeventloop.cpp:201
#28 0x00007f61bb802424 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x000000000040ff44 in main (argc=5, argv=0x7fff3b0aade8) at /home/jeff/src/c/kde/KDE/kdebase/workspace/systemsettings/app/main.cpp:49

This bug may be a duplicate of or related to bug 207663.

Reported using DrKonqi
Comment 1 Christoph Feck 2009-10-02 04:37:55 UTC
The default emoticons are not in artwork, but in kdesupport/oxygen. Please install oxygen icons and check if you can reproduce.
Comment 2 Geoffray Levasseur 2009-10-02 11:54:52 UTC
I have kdesupport from trunk installed and weekly updated. No problem with kcm_emoticons before the new compilation I've done on 23/09/2009 leading to this bug.
Comment 3 Carlo Segato 2009-10-02 12:21:53 UTC
does it crash as soon as you open it or did you do something to make it crash?
Comment 4 Carlo Segato 2009-10-02 12:30:36 UTC
SVN commit 1030454 by segato:

don't crash if no theme is selected
BUG:208649


 M  +4 -0      emoticonslist.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1030454
Comment 5 Carlo Segato 2009-10-02 12:31:55 UTC
SVN commit 1030455 by segato:

backport r1030454
don't crash if no theme is selected
CCBUG:208649


 M  +4 -0      emoticonslist.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1030455
Comment 6 Geoffray Levasseur 2009-10-02 13:49:22 UTC
(In reply to comment #3)
> does it crash as soon as you open it or did you do something to make it crash?

As soon as I open it. No action at all possible.
Comment 7 Dario Andres 2009-10-04 19:50:40 UTC
*** Bug 209373 has been marked as a duplicate of this bug. ***
Comment 8 Carlo Segato 2009-10-31 01:44:47 UTC
*** Bug 212357 has been marked as a duplicate of this bug. ***
Comment 9 Carlo Segato 2009-11-12 23:09:11 UTC
*** Bug 214296 has been marked as a duplicate of this bug. ***