Bug 181090 - crash while installing new theme for KDM
Summary: crash while installing new theme for KDM
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kdm (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-17 19:35 UTC by m.wege
Modified: 2009-03-26 04:08 UTC (History)
1 user (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 m.wege 2009-01-17 19:35:32 UTC
Version:            (using Devel)
Installed from:    Compiled sources

I want to install new themes via KHOTNEWSTUFF, pressing install button on the themes did not work (no reaction), when I closed the dialoge, I got the following crash.
Anwendung: KDE Control Module (kcmshell4), Signal SIGABRT
[Current thread is 0 (LWP 20250)]

Thread 2 (Thread 0xb3f0cb90 (LWP 20968)):
#0  0xb8016430 in __kernel_vsyscall ()
#1  0xb6c3bc01 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb785b150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb778b6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb64ef50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6c437ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb60cc6c0 (LWP 20250)):
[KCrash Handler]
#6  0xb8016430 in __kernel_vsyscall ()
#7  0xb6b8d880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6b8f248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7783795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7783872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb77838cc in qt_assert_x () from /usr/lib/libQtCore.so.4
#12 0xb4505262 in KDMThemeWidget::getNewStuff (this=0x9170570) at /usr/include/qt4/QtCore/qlist.h:387
#13 0xb45087ab in KDMThemeWidget::qt_metacall (this=0x9170570, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe1707c)
    at /build/buildd/kdebase-workspace-4.1.96/obj-i486-linux-gnu/kcontrol/kdm/kdm-theme.moc:77
#14 0xb7890a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7890e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb750de61 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#17 0xb7261199 in ?? () from /usr/lib/libQtGui.so.4
#18 0xb7262d94 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb7263026 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#20 0xb6f77962 in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0xb726103e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#22 0xb7307910 in QPushButton::event () from /usr/lib/libQtGui.so.4
#23 0xb6f1f8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0xb6f280e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0xb7dce04d in KApplication::notify (this=0xbfe1802c, receiver=0x917d628, event=0xbfe17658) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#26 0xb787be61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0xb6f2736e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#28 0xb6f91656 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb6f909e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#30 0xb6fba7aa in ?? () from /usr/lib/libQtGui.so.4
#31 0xb653b6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb653eda3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb653ef61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb78a6478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb6fb9ea5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb787a52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb787a6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0xb738c987 in QDialog::exec () from /usr/lib/libQtGui.so.4
#39 0xb7fdaa35 in kdemain (_argc=4, _argv=0xbfe18384) at /build/buildd/kdebase-runtime-4.1.96/kcmshell/main.cpp:275
#40 0x08048642 in main (argc=) at /build/buildd/kdebase-runtime-4.1.96/obj-i486-linux-gnu/kcmshell/kcmshell4_dummy.cpp:3
Comment 1 Oswald Buddenhagen 2009-01-18 19:03:24 UTC
i can confirm that when trying to install themes with a bogus download location (e.g., OxySlack) just nothing happens. we definitely need better error handling here.
however, i cannot reproduce the crash. your backtrace is a bit useless, as you compiled with too much optimization (also use -fno-reorder-blocks -fno-schedule-insns -fno-inline if you need -O at all).
fwiw, you did not state what version/revision you are using.
Comment 2 m.wege 2009-01-18 19:21:52 UTC
I did not compile myself. I use Kubuntu packages for RC1. So I only will be able to give a better backtrace if the RC2 packages are better.
Comment 3 Jonathan Thomas 2009-03-09 20:12:40 UTC
We have a downstream report of this crash happening with KDE 4.2.0: https://launchpad.net/bugs/326064
Comment 4 Christoph Feck 2009-03-26 04:06:54 UTC
SVN commit 944767 by cfeck:

Do not access empty file list

BUG: 178853
BUG: 181090


 M  +4 -2      kdm-theme.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944767
Comment 5 Christoph Feck 2009-03-26 04:08:53 UTC
SVN commit 944768 by cfeck:

Do not access empty file list (backport r944767)

CCBUG: 178853
CCBUG: 181090


 M  +4 -2      kdm-theme.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944768