Bug 178052 - Crash in System Settings/Appearance when downloading icon sets
Summary: Crash in System Settings/Appearance when downloading icon sets
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_icons (show other bugs)
Version: 4.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Marie Loise Nolden
URL:
Keywords:
: 183775 186832 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-18 12:09 UTC by Benjamin P. McKenna
Modified: 2009-03-26 04:04 UTC (History)
9 users (show)

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


Attachments
Crash backtrace (4.27 KB, application/octet-stream)
2009-02-18 18:48 UTC, BRULE Herman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin P. McKenna 2008-12-18 12:09:10 UTC
Version:            (using Devel)
Compiler:           Kubuntu compiled packages.
OS:                Linux
Installed from:    Compiled sources

Opened System Settings, opened Appearance Menu. Clicked "Icons", then "Get New Icons". Sorted by "Most Downloads", and hit Install on the first Item listed ("Crystal GT") several times fast, until the "Busy" cursor comes up. Once this happens, click "Close" on the top Window. Reproduced three times.

Crash Log:
Application: System Settings (systemsettings), signal SIGABRT
[Current thread is 0 (LWP 18474)]

Thread 3 (Thread 0xb4500b90 (LWP 18502)):
#0  0xb806b424 in __kernel_vsyscall ()
#1  0xb68e4c01 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7504150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb74346ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb653f50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb68ec7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb3623b90 (LWP 18831)):
#0  0xb806b424 in __kernel_vsyscall ()
#1  0xb65433a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb68faa44 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb74356cc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb742a886 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb74346ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb653f50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb68ec7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb613b6c0 (LWP 18474)):
[KCrash Handler]
#6  0xb806b424 in __kernel_vsyscall ()
#7  0xb6836880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6838248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb742c795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb742c872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb742c8cc in qt_assert_x () from /usr/lib/libQtCore.so.4
#12 0xad6b9e52 in ?? () from /usr/lib/kde4/kcm_icons.so
#13 0xad6bccc3 in ?? () from /usr/lib/kde4/kcm_icons.so
#14 0xb7539a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7539e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb71b5e61 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#17 0xb6f09199 in ?? () from /usr/lib/libQtGui.so.4
#18 0xb6f0ad94 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb6f0b026 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#20 0xb6c1f962 in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0xb6f0903e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#22 0xb6faf910 in QPushButton::event () from /usr/lib/libQtGui.so.4
#23 0xb6bc78ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0xb6bd00e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0xb7a74d3d in KApplication::notify () from /usr/lib/libkdeui.so.5
#26 0xb7524e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0xb6bcf36e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#28 0xb6c39656 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb6c389e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#30 0xb6c627aa in ?? () from /usr/lib/libQtGui.so.4
#31 0xb64726f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb6475da3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb6475f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb754f478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb6c61ea5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb752352a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb75236ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0xb7525da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#39 0xb6bc7767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#40 0x0805714b in _start ()
Comment 1 Benjamin P. McKenna 2008-12-18 12:11:56 UTC
Just to add, the Kubuntu 8.10 kernel used is the Array.org eeepc kernel, not the stock one.
Comment 2 Michael Leupold 2008-12-18 12:29:38 UTC
I can confirm this bug on trunk r897922.

Backtrace:
Application: System Settings (systemsettings), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007fac3eab61a1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 10070)]

Thread 2 (Thread 0x41299950 (LWP 10075)):
#0  0x00007fac404bcfcd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fac407442b3 in QWaitConditionPrivate::wait (this=0xaa2d10, time=30000) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:80
#2  0x00007fac40743e28 in QWaitCondition::wait (this=0xa9da48, mutex=0xa9da40, time=30000) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:154
#3  0x00007fac40734b35 in QThreadPoolThread::run (this=0xcf2ac0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/concurrent/qthreadpool.cpp:135
#4  0x00007fac40743823 in QThreadPrivate::start (arg=0xcf2ac0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0x00007fac404b8fe7 in start_thread () from /lib/libpthread.so.0
#6  0x00007fac3eae66ed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fac4263c7a0 (LWP 10070)):
[KCrash Handler]
#5  0x00007fac3ea49145 in raise () from /lib/libc.so.6
#6  0x00007fac3ea4a663 in abort () from /lib/libc.so.6
#7  0x00007fac40737736 in qt_message_output (msgType=QtFatalMsg, 
    buf=0x7fff4a7a7290 "ASSERT failure in QList<T>::at: \"index out of range\", file /home/lemma/kde/trunk/build/debug/include/QtCore/qlist.h, line 387")
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/global/qglobal.cpp:2102
#8  0x00007fac40737845 in qFatal (msg=0x7fac408b2998 "ASSERT failure in %s: \"%s\", file %s, line %d") at /home/lemma/kde/trunk/source/qt-copy/src/corelib/global/qglobal.cpp:2303
#9  0x00007fac40737882 in qt_assert_x (where=0x7fac370e493c "QList<T>::at", what=0x7fac370e4929 "index out of range", file=0x7fac370e48f0 "/home/lemma/kde/trunk/build/debug/include/QtCore/qlist.h", 
    line=387) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/global/qglobal.cpp:1880
#10 0x00007fac370dadee in QList<QString>::at (this=0x7fff4a7a9430, i=0) at /home/lemma/kde/trunk/build/debug/include/QtCore/qlist.h:387
#11 0x00007fac370d79b8 in IconThemesConfig::getNewTheme (this=0x87dc60) at /home/lemma/kde/trunk/source/KDE/kdebase/runtime/kcontrol/icons/iconthemes.cpp:326
#12 0x00007fac370d8101 in IconThemesConfig::qt_metacall (this=0x87dc60, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff4a7a9660)
    at /home/lemma/kde/trunk/build/debug/build/KDE/kdebase/runtime/kcontrol/icons/iconthemes.moc:73
#13 0x00007fac408678e5 in QMetaObject::activate (sender=0xa70da0, from_signal_index=29, to_signal_index=30, argv=0x7fff4a7a9660)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#14 0x00007fac40867bf9 in QMetaObject::activate (sender=0xa70da0, m=0x7fac4022a240, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fff4a7a9660)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3121
#15 0x00007fac3fdae79f in QAbstractButton::clicked (this=0xa70da0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185
#16 0x00007fac3faba334 in QAbstractButtonPrivate::emitClicked (this=0xcba110) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:538
#17 0x00007fac3fabb61b in QAbstractButtonPrivate::click (this=0xcba110) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:531
#18 0x00007fac3fabb8c2 in QAbstractButton::mouseReleaseEvent (this=0xa70da0, e=0x7fff4a7aa200) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1110
#19 0x00007fac3f75ad76 in QWidget::event (this=0xa70da0, event=0x7fff4a7aa200) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:7163
#20 0x00007fac3faba2dd in QAbstractButton::event (this=0xa70da0, e=0x7fff4a7aa200) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1072
#21 0x00007fac3fb7baf7 in QPushButton::event (this=0xa70da0, e=0x7fff4a7aa200) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qpushbutton.cpp:652
#22 0x00007fac3f6f4643 in QApplicationPrivate::notify_helper (this=0x644f50, receiver=0xa70da0, e=0x7fff4a7aa200) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3803
#23 0x00007fac3f6f5262 in QApplication::notify (this=0x7fff4a7ab170, receiver=0xa70da0, e=0x7fff4a7aa200) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3528
#24 0x00007fac414a214c in KApplication::notify (this=0x7fff4a7ab170, receiver=0xa70da0, event=0x7fff4a7aa200) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#25 0x00007fac4084f66c in QCoreApplication::notifyInternal (this=0x7fff4a7ab170, receiver=0xa70da0, event=0x7fff4a7aa200)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#26 0x00007fac3f7027a3 in QCoreApplication::sendSpontaneousEvent (receiver=0xa70da0, event=0x7fff4a7aa200)
    at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:212
#27 0x00007fac3f6f97bb in QApplicationPrivate::sendMouseEvent (receiver=0xa70da0, event=0x7fff4a7aa200, alienWidget=0x0, nativeWidget=0xa70da0, buttonDown=0x7fac402444e8, 
    lastMouseReceiver=@0x7fac402444f0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:2793
#28 0x00007fac3f780495 in QETWidget::translateMouseEvent (this=0xa70da0, event=0x7fff4a7aad10) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4044
#29 0x00007fac3f77dce9 in QApplication::x11ProcessEvent (this=0x7fff4a7ab170, event=0x7fff4a7aad10) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3040
#30 0x00007fac3f7ad469 in x11EventSourceDispatch (s=0x648660, callback=0, user_data=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#31 0x00007fac3c28f0f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007fac3c292396 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007fac3c29282f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007fac408846cc in QEventDispatcherGlib::processEvents (this=0x63df70, flags=@0x7fff4a7aafb0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#35 0x00007fac3f7acb4f in QGuiEventDispatcherGlib::processEvents (this=0x63df70, flags=@0x7fff4a7ab010) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#36 0x00007fac4084c084 in QEventLoop::processEvents (this=0x7fff4a7ab0c0, flags=@0x7fff4a7ab070) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#37 0x00007fac4084c280 in QEventLoop::exec (this=0x7fff4a7ab0c0, flags=@0x7fff4a7ab0d0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:194
#38 0x00007fac4085006f in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#39 0x00007fac3f6f43a4 in QApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3331
#40 0x00000000004129d7 in main (argc=5, argv=0x7fff4a7ab488) at /home/lemma/kde/trunk/source/KDE/kdebase/workspace/systemsettings/main.cpp:67
Comment 3 Dario Andres 2008-12-18 18:27:25 UTC
The backtrace is the same as the one in bug 173320. (However bug 173320 is marked as duplicate of an unrelated bug (I'll try to fix that))
Comment 4 Nicolas L. 2008-12-18 23:04:38 UTC
*** Bug 173320 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas L. 2008-12-28 19:50:53 UTC
still valid on kde 4.2 Beta2
Comment 6 Nicolas L. 2008-12-28 20:46:04 UTC
can someone tell me if i can submit this patch ? it works for me


Index: runtime/kcontrol/icons/iconthemes.cpp
===================================================================
--- runtime/kcontrol/icons/iconthemes.cpp       (revision 902611)
+++ runtime/kcontrol/icons/iconthemes.cpp       (working copy)
@@ -322,7 +322,7 @@
     KNS::Entry::List entries = engine.downloadDialogModal(this);

     for(int i = 0; i < entries.size(); i ++) {
-        if(entries.at(i)->status() == KNS::Entry::Installed) {
+        if( entries.at(i) && ( entries.at(i)->status() == KNS::Entry::Installed ) ) {
             const QString themeTmpFile = entries.at(i)->installedFiles().at(0);
             const QString name = entries.at(i)->installedFiles().at(0).section('/', -2, -2);
             kDebug()<<"IconThemesConfig::getNewTheme() themeTmpFile="<<themeTmpFile<<"name="<<name;
Comment 7 FiNeX 2008-12-29 00:13:09 UTC
I've tried the patch... but it crash the same
Comment 8 FiNeX 2008-12-29 00:16:22 UTC
quick clicking on install... say 20 times, and after clicking to close, will crash the dialog:


Application: KDE Control Module (kcmshell4), signal SIGABRT
0x00007f436d957001 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 13663)]

Thread 2 (Thread 0x7f436215d950 (LWP 13668)):
#0  0x00007f436f032fed in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f436f2a0ae7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f436f2981f9 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f436f29fd79 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f436f02efc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f436d9875dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4370872750 (LWP 13663)):
[KCrash Handler]
#5  0x00007f436d8ea0c5 in raise () from /lib/libc.so.6
#6  0x00007f436d8eb5e3 in abort () from /lib/libc.so.6
#7  0x00007f436f2990a5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007f436f2991c7 in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007f43625e1d6f in IconThemesConfig::getNewTheme (this=0x24b01c0) at /usr/include/QtCore/qlist.h:387
#10 0x00007f43625e4708 in IconThemesConfig::qt_metacall (this=0x24b01c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff789add90)
    at /home/test/KDE4/src/build/kdebase/runtime/kcontrol/icons/iconthemes.moc:73
#11 0x00007f436f382d00 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0x00007f436ea4d9b7 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#13 0x00007f436e80de7b in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007f436e80ec52 in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007f436e80ee85 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#16 0x00007f436e59559c in QWidget::event () from /usr/lib/libQtGui.so.4
#17 0x00007f436e5484dd in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0x00007f436e54f0ee in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00007f436ff3a6bb in KApplication::notify (this=0x7fff789af530, receiver=0x24a0fc0, event=0x7fff789ae6b0) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#20 0x00007f436f3713d1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0x00007f436e550498 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#22 0x00007f436e5a6b1c in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f436e5a5c99 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#24 0x00007f436e5c9744 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f436a924aa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007f436a92821d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#27 0x00007f436a9283db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007f436f39589f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00007f436e5c8fff in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f436f36fd42 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0x00007f436f36fed5 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0x00007f436e903a6f in QDialog::exec () from /usr/lib/libQtGui.so.4
#33 0x00007f4370591b0f in kdemain (_argc=2, _argv=0x7fff789afc48) at /home/test/KDE4/src/kdebase/runtime/kcmshell/main.cpp:275
#34 0x00007f436d8d6546 in __libc_start_main () from /lib/libc.so.6
#35 0x0000000000400709 in _start ()

Comment 9 Nicolas L. 2008-12-29 07:41:05 UTC
strange i really can't reproduce here :/
Comment 10 SlashDevDsp 2009-01-19 14:11:08 UTC
I can still reproduce this bug with trunk (compiled about 2hrs ago with,
qt-copy:913424, kdelibs:913429, kdebase: 913429

Almost the same bt as comment #8 but do take a look:

Application: System Settings (systemsettings), signal SIGABRT
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[New Thread -1237964592 (LWP 9412)]
[New Thread -1286182000 (LWP 9446)]
[Current thread is 0 (LWP 9412)]

Thread 2 (Thread -1286182000 (LWP 9446)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a102a1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb74b3adf in QProcessManager::run (this=0x8082e28) at /home/kde-devel/kdesvn/qt-copy/src/corelib/io/qprocess_unix.cpp:301
#3  0xb73f62f3 in QThreadPrivate::start (arg=0x8082e28) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#4  0xb736f46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6a176de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1237964592 (LWP 9412)):
[KCrash Handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb696e875 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6970201 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb73eefb5 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfac95fc "ASSERT failure in QList<T>::at: \"index out of range\", file /home/kde-devel/kdesvn/build/qt-copy/include/QtCore/../../../../qt-copy/src/corelib/tools/qlist.h, line 387")
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:2102
#10 0xb73ef068 in qFatal (msg=0xb75194a8 "ASSERT failure in %s: \"%s\", file %s, line %d") at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:2303
#11 0xb73ef0cc in qt_assert_x (where=0xb47b5d12 "QList<T>::at", what=0xb47b5cff "index out of range", 
    file=0xb47b59a0 "/home/kde-devel/kdesvn/build/qt-copy/include/QtCore/../../../../qt-copy/src/corelib/tools/qlist.h", line=387)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:1880
#12 0xb47a9001 in IconThemesConfig::getNewTheme (this=0x820e188) at /home/kde-devel/kdesvn/build/qt-copy/include/QtCore/../../../../qt-copy/src/corelib/tools/qlist.h:387
#13 0xb47a992d in IconThemesConfig::qt_metacall (this=0x820e188, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfacb7bc)
    at /home/kde-devel/kdesvn/build/kdebase/runtime/kcontrol/icons/iconthemes.moc:73
#14 0xb74df85a in QMetaObject::activate (sender=0x81c0470, from_signal_index=<value optimized out>, to_signal_index=30, argv=<value optimized out>)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3028
#15 0xb74dfb60 in QMetaObject::activate (sender=0x81c0470, m=0xb731fcc4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfacb7bc)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3121
#16 0xb7256e01 in QAbstractButton::clicked (this=0x81c0470, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#17 0xb6ff39a9 in QAbstractButtonPrivate::emitClicked (this=0x83ff5d8) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:538
#18 0xb6ff51c0 in QAbstractButtonPrivate::click (this=0x83ff5d8) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:531
#19 0xb6ff53f0 in QAbstractButton::mouseReleaseEvent (this=0x81c0470, e=0xbfacbdac) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1110
#20 0xb6d35f43 in QWidget::event (this=0x81c0470, event=0xbfacbdac) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7163
#21 0xb6ff45a3 in QAbstractButton::event (this=0x81c0470, e=0xbfacbdac) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1072
#22 0xb7088d72 in QPushButton::event (this=0x81c0470, e=0xbfacbdac) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qpushbutton.cpp:652
#23 0xb6ceb77f in QApplicationPrivate::notify_helper (this=0x807cea0, receiver=0x81c0470, e=0xbfacbdac) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#24 0xb6cf23d1 in QApplication::notify (this=0xbfacc558, receiver=0x81c0470, e=0xbfacbdac) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3528
#25 0xb79f5a8a in KApplication::notify (this=0xbfacc558, receiver=0x81c0470, event=0xbfacbdac) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#26 0xb74cf119 in QCoreApplication::notifyInternal (this=0xbfacc558, receiver=0x81c0470, event=0xbfacbdac) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#27 0xb6cf19d0 in QApplicationPrivate::sendMouseEvent (receiver=0x81c0470, event=0xbfacbdac, alienWidget=0x0, nativeWidget=0x81c0470, buttonDown=0xb732bc90, lastMouseReceiver=@0xb732bc94)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212
#28 0xb6d4dd5c in QETWidget::translateMouseEvent (this=0x81c0470, event=0xbfacc268) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4044
#29 0xb6d4d226 in QApplication::x11ProcessEvent (this=0xbfacc558, event=0xbfacc268) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3040
#30 0xb6d725c4 in x11EventSourceDispatch (s=0x8082b88, callback=0, user_data=0x0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#31 0xb65dd11c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb65e055f in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x08081e98 in ?? ()
#34 0x00000000 in ?? ()

Comment 11 Pino Toscano 2009-02-09 14:33:10 UTC
*** Bug 183775 has been marked as a duplicate of this bug. ***
Comment 12 Etienne Hilson 2009-02-16 23:55:11 UTC
No trace at all (system told me that the trace was unusable) but some additional steps to help you to reproduce the bug :

Here are the differents points I noticed :

1) A very small amount of themes install correctly. These themes are very slower to download (bigger ?)
Themes tested and working for me are Tangoish KDE and ACUN Simgeleri.
Tangoish took around 20 seconds and ACUN more than one minute.
When these themes are installed, the button changes to Uninstall.
When we click on Uninstall, these buttons change very quickly back to Install.

2) The themes that don't install correctly are very fast to download (between 1 and 4 seconds), and for some, we don't even see the progress bar running (only the busy cursor). When these themes are (normally) installed, the button keeps to be Install.
When we click on them, these buttons change very quickly back to Install (I mean that we see exactely the same behaviour than point 1, the busy cursor appears but very quickly, tens of a second)
For odd clicks, the (install ?) time is always greater than the even clicks (uninstall ?), but buttons remain the same.

3) To make the system crash, follow these steps (no need to click quickly as told in previous comments) :
a) click to install on a theme from point 2 (the busy cursor is displayed for more than 1 second and button remains Install)
b) click on the same Install button (lightspeed busy cursor, button always Install)
c) click on install again (and again the busy cursor is displayed for more than one second and button remains Install)
[You can repeat steps b and c, but you must end with step c to make the system crash. Terminating with step b won't make the system crashing]
d) click on close
The systemsettings crashes immediately.
Comment 13 BRULE Herman 2009-02-18 18:48:25 UTC
Created attachment 31443 [details]
Crash backtrace
Comment 14 BRULE Herman 2009-02-18 18:50:31 UTC
All themes crash for me. Progress bar d'ont change, same if I re click on install.
Comment 15 Christoph Feck 2009-03-26 03:13:57 UTC
SVN commit 944756 by cfeck:

Do not access empty file list

BUG: 178052


 M  +2 -1      iconthemes.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944756
Comment 16 Christoph Feck 2009-03-26 03:20:31 UTC
SVN commit 944757 by cfeck:

Do not access empty file list (backport r944756)

CCBUG: 178052


 M  +2 -1      iconthemes.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944757
Comment 17 Christoph Feck 2009-03-26 04:04:45 UTC
*** Bug 186832 has been marked as a duplicate of this bug. ***