Bug 173320 - crashed during icon theme downloading and installation
Summary: crashed during icon theme downloading and installation
Status: RESOLVED DUPLICATE of bug 171991
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 4.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 173155 174521 174836 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-22 19:23 UTC by Sabine Gabriel
Modified: 2009-02-21 22:30 UTC (History)
8 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 Sabine Gabriel 2008-10-22 19:23:10 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

Durin Icon Theme Installation and downloading a new theme from look-kde. As I press Button "Install" Program crashes with 6
Comment 1 Dario Andres 2008-10-29 02:37:13 UTC
Can you reproduce this bug again? If you can, the crash occurs when downloading a specific icon theme from kde-look or any of them crashes SystemSettings? :)
Comment 2 Dario Andres 2008-10-29 12:47:10 UTC
Here:

Qt: 4.4.3
KDE: 4.1.2 (KDE 4.1.2)
System Settings: 4.1.2 (KDE 4.1.2)
KDEMOD in ArchLinux i686:

I can reproduce this bug.

Steps to reproduce:

- Open System Settings, go to Appearance, go to Icons
- Select "Get New Themes"
- Search for the "Nuvox" theme (actually the third last item in the list) (Maybe using another broken desktop theme you can trigger this bug too)
- Click Install
(without downloading a great amount of data, the DUninstall button appears)
- Click Uninstall
- Click Install again
Then, click Close, to close the GHNS window.
System Setting crash

Some useful shell output (when downloading the icon theme):

systemsettings(3154)/knewstuff (api) KNS::CoreEngine::downloadPayload: Downloading payload ' KUrl("http://linux.softpedia.com/progDownload/nuvoX-Download-14368.html") ' to ' KUrl("file:///tmp/kde-dario/60RvGzCx1o") '
systemsettings(3154)/kio (Slave) KIO::Slave::createSlave: createSlave "http" for KUrl("http://linux.softpedia.com/progDownload/nuvoX-Download-14368.html")
systemsettings(3154)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dario/systemsettingsyx3154.slave-socket"
systemsettings(3154)/knewstuff (api) KNS::CoreEngine::install: installdir:  "/home/dario/.kde4/share/icons//"
systemsettings(3154)/knewstuff (api): Could not determine type of archive file ' "/tmp/kde-dario/60RvGzCx1o" 

Assert:

ASSERT failure in QList<T>::at: "index out of range", file /usr/include/QtCore/qlist.h, line 393


Backtrace:

Aplicación: Preferencias del sistema (systemsettings), señal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb61b0b70 (LWP 3154)]
[KCrash handler]
#6  0xb7f37424 in __kernel_vsyscall ()
#7  0xb66cf720 in raise () from /lib/libc.so.6
#8  0xb66d1058 in abort () from /lib/libc.so.6
#9  0xb7db3965 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7db3a17 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7db3a5d in qt_assert_x () from /usr/lib/libQtCore.so.4
#12 0xb472a01a in IconThemesConfig::getNewTheme (this=0x992cb18)
    at /usr/include/QtCore/qlist.h:393
#13 0xb472ceab in IconThemesConfig::qt_metacall (this=0x992cb18, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa529fc)
    at /home/jan/Dev/packages/kdemod-core/work/kdebase-runtime/src/kdebase-runtime-4.1.2/kcontrol/icons/iconthemes.moc:73
#14 0xb7ea8b03 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7ea8dd1 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb6f8d6d2 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#17 0xb6d1a8ca in ?? () from /usr/lib/libQtGui.so.4
#18 0x09932300 in ?? ()
#19 0x00000000 in ?? ()
#0  0xb7f37424 in __kernel_vsyscall ()
Comment 3 FiNeX 2008-11-11 11:43:09 UTC
*** Bug 173155 has been marked as a duplicate of this bug. ***
Comment 4 FiNeX 2008-11-11 11:47:27 UTC
Ok, thanks to the Dario explanation I've reproduced a crash, but a bit different: when I've looked for "nuvox" theme, I've used the filter textbox. I've clicked on the "install" button, and after I've cleaned the filter textbox. I've had this backtrace:





Application: System Settings (systemsettings), signal SIGSEGV
 [?1034h[Thread debugging using libthread_db enabled]
0x00007f427679a261 in nanosleep () from /lib64/libc.so.6
[Current thread is 0 (LWP 4719)]

Thread 2 (Thread 0x40e0a950 (LWP 4766)):
#0  0x00007f427c0e705d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f427c353467 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f427c34a27a in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f427c352764 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f427c0e3040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f42767cb0cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f427c8ce700 (LWP 4719)):
[KCrash Handler]
#5  0x00007f427b855611 in KWidgetItemDelegatePool::findWidgets (this=0x1986600, idx=@0x7fff84902990, option=@0x7fff84902820, updateWidgets=KWidgetItemDelegatePool::UpdateWidgets)
    at /home/test/KDE4/src/kdelibs/kdeui/itemviews/kwidgetitemdelegatepool.cpp:119
#6  0x00007f427b853bc4 in KWidgetItemDelegatePrivate::updateRowRange (this=0xb16670, parent=@0x7fff84902b60, start=<value optimized out>, end=2, isRemoving=false)
    at /home/test/KDE4/src/kdelibs/kdeui/itemviews/kwidgetitemdelegate.cpp:115
#7  0x00007f427b853e09 in KWidgetItemDelegate::qt_metacall (this=0x6cfa90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff84902b30)
    at /home/test/KDE4/src/build/kdelibs/kdeui/kwidgetitemdelegate.moc:73
#8  0x00007f426f7f4f75 in KNS::ItemsViewDelegate::qt_metacall (this=0x18aeb40, _c=QMetaObject::ReadProperty, _id=11121496, _a=0x1a01500)
    at /home/test/KDE4/src/build/kdelibs/knewstuff/knewstuff2/moc_itemsviewdelegate.cpp:69
#9  0x00007f427c4354e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#10 0x00007f427c465594 in QAbstractItemModel::rowsInserted () from /usr/lib64/libQtCore.so.4
#11 0x00007f427c41ba24 in QAbstractItemModel::endInsertRows () from /usr/lib64/libQtCore.so.4
#12 0x00007f42777d3140 in ?? () from /usr/lib64/libQtGui.so.4
#13 0x00007f42777d7875 in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007f42777d796b in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007f426f81dd1b in KNS::DownloadDialog::slotUpdateSearch (this=0x18aade0) at /home/test/KDE4/src/kdelibs/knewstuff/knewstuff2/ui/downloaddialog.cpp:363
#16 0x00007f426f822bcc in KNS::DownloadDialog::qt_metacall (this=0x18aade0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff84902ef0)
    at /home/test/KDE4/src/build/kdelibs/knewstuff/knewstuff2/downloaddialog.moc:121
#17 0x00007f427c4354e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#18 0x00007f427c4316e3 in QObject::event () from /usr/lib64/libQtCore.so.4
#19 0x00007f427735c92d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#20 0x00007f4277362cfa in QApplication::notify () from /usr/lib64/libQtGui.so.4
#21 0x00007f427b862d8b in KApplication::notify (this=0x7fff84905310, receiver=0x19a33c0, event=0x7fff849035b0) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#22 0x00007f427c423e9c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#23 0x00007f427c44a3c6 in ?? () from /usr/lib64/libQtCore.so.4
#24 0x00007f427c44a678 in QEventDispatcherUNIX::processEvents () from /usr/lib64/libQtCore.so.4
#25 0x00007f42773dd46a in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007f427c4227f2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#27 0x00007f427c422985 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#28 0x00007f426f82fa34 in KNS::EnginePrivate::workflow (this=0xc5e1d0) at /home/test/KDE4/src/kdelibs/knewstuff/knewstuff2/engine.cpp:138
#29 0x00007f426f82fbc3 in KNS::Engine::downloadDialogModal (this=0x1) at /home/test/KDE4/src/kdelibs/knewstuff/knewstuff2/engine.cpp:185
#30 0x00007f426f5c48a3 in IconThemesConfig::getNewTheme (this=0x9269e0) at /home/test/KDE4/src/kdebase/runtime/kcontrol/icons/iconthemes.cpp:322
#31 0x00007f426f5c7858 in IconThemesConfig::qt_metacall (this=0x9269e0, _c=QMetaObject::InvokeMetaMethod, _id=26794048, _a=0x7fff84903dd0)
    at /home/test/KDE4/src/build/kdebase/runtime/kcontrol/icons/iconthemes.moc:73
#32 0x00007f427c4354e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#33 0x00007f427785c937 in QAbstractButton::clicked () from /usr/lib64/libQtGui.so.4
#34 0x00007f427761dd8b in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007f427761eae2 in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007f427761ed15 in QAbstractButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#37 0x00007f42773a9484 in QWidget::event () from /usr/lib64/libQtGui.so.4
#38 0x00007f427735c92d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#39 0x00007f4277363566 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#40 0x00007f427b862d8b in KApplication::notify (this=0x7fff84905310, receiver=0xa83530, event=0x7fff84904580) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#41 0x00007f427c423e9c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#42 0x00007f4277364838 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#43 0x00007f42773ba9fc in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007f42773b9541 in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#45 0x00007f42773dd69c in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007f427c4227f2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#47 0x00007f427c422985 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#48 0x00007f427c424a25 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#49 0x0000000000411827 in main (argc=1, argv=0x7fff84905638) at /home/test/KDE4/src/kdebase/workspace/systemsettings/main.cpp:67


Comment 5 Dario Andres 2008-11-11 11:52:57 UTC
The bug in comment 4 seems to be bug 171991 
Comment 6 FiNeX 2008-11-11 12:13:17 UTC
Yes, probably it is.
Comment 7 FiNeX 2008-11-11 12:16:20 UTC
*** Bug 174521 has been marked as a duplicate of this bug. ***
Comment 8 FiNeX 2008-11-11 12:16:38 UTC
*** Bug 174836 has been marked as a duplicate of this bug. ***
Comment 9 Rafael Fernández López 2008-11-12 00:09:20 UTC
I say the same as on comment 5 in bug #171991.

This could be a GHNS KWidgetItemDelegate misusage... if it isn't, I would fix it if I get a test case that makes it crash... since I am not familiar with GHNS code.

*** This bug has been marked as a duplicate of bug 171991 ***
Comment 10 Dario Andres 2008-12-18 18:27:29 UTC
Bug 178052 is a duplicate of this (the original) bug report on KDE svn. So I suppose this is not a duplicate of bug 171991.
Comment 11 Nicolas L. 2008-12-18 23:04:38 UTC

*** This bug has been marked as a duplicate of bug 178052 ***
Comment 12 FiNeX 2008-12-18 23:10:37 UTC
@Dario: This is a dup of bug #171991, watch your comment #2 and my backtrace on comment #4. The BT is the same of bug #171991. The BT on bug #178052 is different
Comment 13 Nicolas L. 2008-12-18 23:14:36 UTC

*** This bug has been marked as a duplicate of bug 171991 ***
Comment 14 tuxlopez 2009-02-21 22:19:52 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Fedora 9 Packages

Durin Icon Theme Installation and downloading a new theme from kde-look. As I
press Button "Install" the cursor waits for one time and if i close the window systemsettings crashes with the signal 11 (SIGSSEV)

This is the description

Aplicación: Preferencias del sistema (systemsettings), señal SIGSEGV
[Current thread is 1 (Thread 0xb802b770 (LWP 3203))]

Thread 2 (Thread 0xb6633b90 (LWP 3205)):
#0  0x0065e416 in __kernel_vsyscall ()
#1  0x00686432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0338e77c in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x03383946 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0338d75e in ?? () from /usr/lib/libQtCore.so.4
#5  0x0068251f in start_thread () from /lib/libpthread.so.0
#6  0x005b804e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb802b770 (LWP 3203)):
[KCrash Handler]
#6  0x07730d6a in QProgressBar::minimum () from /usr/lib/libQtGui.so.4
#7  0x0348d8cf in QObject::event () from /usr/lib/libQtCore.so.4
#8  0x0734d68c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#9  0x073554ce in QApplication::notify () from /usr/lib/libQtGui.so.4
#10 0x02f06fdd in KApplication::notify () from /usr/lib/libkdeui.so.5
#11 0x0347e1c1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#12 0x034ac081 in ?? () from /usr/lib/libQtCore.so.4
#13 0x034a88a0 in ?? () from /usr/lib/libQtCore.so.4
#14 0x00703238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#15 0x007068e3 in ?? () from /lib/libglib-2.0.so.0
#16 0x00706aa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x034a87f8 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#18 0x073e6515 in ?? () from /usr/lib/libQtGui.so.4
#19 0x0347c88a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#20 0x0347ca4a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#21 0x0347f105 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#22 0x0734d507 in QApplication::exec () from /usr/lib/libQtGui.so.4
#23 0x08055f1b in _start ()
Comment 15 Dario Andres 2009-02-21 22:30:21 UTC
@tuxlopez@yahoo.es: your crash is a different one, already reported. Thanks