Bug 9021

Summary: Segmentation fault in kde daemon on booting, same in rc5 and rc7 kernels
Product: Mageia Reporter: Rick Bailey <artful.codger>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: balcaen.john, gjmcgee, lmenut, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kscreen CVE:
Status comment:

Description Rick Bailey 2013-02-09 21:26:36 CET
Description of problem:
Daemon crashes on boot into gui

Version-Release number of selected component (if applicable):


How reproducible:
every time

Steps to Reproduce:
1.Boot into KDE4
2.
3.
Crash report follows:
Application: kded4 ($Id$)
KDE Platform Version: 4.10.00
Qt Version: 4.8.4
Operating System: Linux 3.8.0-server-0.rc7.1.mga3 x86_64
Distribution: "Mageia 3"

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Dæmon (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9d2cfde780 (LWP 2591))]

Thread 2 (Thread 0x7f9d0eaae700 (LWP 2603)):
#0  0x00007fffca3fe8d2 in clock_gettime ()
#1  0x00007f9d2a63ba6d in clock_gettime () from /lib64/libc.so.6
#2  0x00007f9d2bb7b524 in qt_gettime() () from /lib64/libQtCore.so.4
#3  0x00007f9d2bc50eed in QTimerInfoList::updateCurrentTime() () from /lib64/libQtCore.so.4
#4  0x00007f9d2bc51233 in QTimerInfoList::timerWait(timeval&) () from /lib64/libQtCore.so.4
#5  0x00007f9d2bc4fc9c in timerSourcePrepareHelper(GTimerSource*, int*) () from /lib64/libQtCore.so.4
#6  0x00007f9d2bc4fd45 in timerSourcePrepare(_GSource*, int*) () from /lib64/libQtCore.so.4
#7  0x00007f9d27760238 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#8  0x00007f9d277608cb in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#9  0x00007f9d27760ac4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#10 0x00007f9d2bc505e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#11 0x00007f9d2bc20f5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#12 0x00007f9d2bc211e8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#13 0x00007f9d2bb22610 in QThread::exec() () from /lib64/libQtCore.so.4
#14 0x00007f9d2bc017af in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#15 0x00007f9d2bb255ec in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#16 0x00007f9d2b895d18 in start_thread () from /lib64/libpthread.so.0
#17 0x00007f9d2a62887d in clone () from /lib64/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9d2cfde780 (LWP 2591)):
[KCrash Handler]
#5  0x00007f9d0fdad910 in KScreen::Config::outputs() const () from /lib64/libkscreen.so.0
#6  0x00007f9d0ffbe9d2 in Serializer::currentId() () from /usr/lib64/kde4/kded_kscreen.so
#7  0x00007f9d0ffbedce in Serializer::configExists() () from /usr/lib64/kde4/kded_kscreen.so
#8  0x00007f9d0ffbe291 in KScreenDaemon::applyConfig() () from /usr/lib64/kde4/kded_kscreen.so
#9  0x00007f9d2bc3762f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#10 0x00007f9d2bc3762f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#11 0x00007f9d0ffc6a54 in Device::isLaptopFetched(QDBusPendingCallWatcher*) () from /usr/lib64/kde4/kded_kscreen.so
#12 0x00007f9d2bc3762f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#13 0x00007f9d28c0420f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /lib64/libQtDBus.so.4
#14 0x00007f9d2bc36b0e in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#15 0x00007f9d2adb730c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#16 0x00007f9d2adbb78a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#17 0x00007f9d2c9cec56 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#18 0x00007f9d2bc2220e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#19 0x00007f9d2bc25cc1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#20 0x00007f9d2bc50433 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#21 0x00007f9d277606d5 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007f9d27760a08 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#23 0x00007f9d27760ac4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007f9d2bc505c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#25 0x00007f9d2ae5734e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#26 0x00007f9d2bc20f5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#27 0x00007f9d2bc211e8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#28 0x00007f9d2bc25fd8 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#29 0x00007f9d160ef420 in kdemain () from /usr/lib64/libkdeinit4_kded4.so
#30 0x0000000000408405 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#31 0x0000000000405a01 in main ()
Comment 1 Greg McGee 2013-02-10 10:19:00 CET
Duplicate, 

Possibly related: I recall selecting "kscreen" (v0.0something) vs. the alternative when I ran updates on a fresh install.

CC: (none) => gjmcgee

Comment 2 Greg McGee 2013-02-10 10:21:17 CET
note Fresh install was due to HDD upgrade, not bad MGA behaviour.
Manuel Hiebel 2013-02-10 13:50:52 CET

CC: (none) => balcaen.john, lmenut, nicolas.lecureuil

Comment 3 Nicolas Lécureuil 2013-02-10 14:17:28 CET
Please install kscreen-debuginfo
Comment 4 Greg McGee 2013-02-10 22:20:35 CET
No package named kscreen-debuginfo.

Kscreen MGA current version is shown as 0.0.71...

I'm about to reinstall as I can't figure out what the alternative dependency is, and with kded dead, quite a few things no longer work.
Comment 5 Greg McGee 2013-02-10 22:24:53 CET
Found fix: Missing kscreen configuration library, missing dep:libkscreen
Comment 6 Greg McGee 2013-02-10 22:26:30 CET
No longer crashes kded with libkscreen installed.
(sorry about the multiple posts, working 2 keyboards and coffee deficiency)
Comment 7 Greg McGee 2013-02-10 22:36:04 CET
The update loaded, still works, is the dependancy for libkscreen fixed?

(some comments don't seem to be showing up)
Comment 8 Rick Bailey 2013-02-10 22:41:19 CET
Tried installing kscreen-debuginfo
"[root@fatboy ~]# urpmi kscreen-debuginfo
No package named kscreen-debuginfo
[root@fatboy ~]# urpmi kscreen
Package kscreen-0.0.71-3.mga3.x86_64 is already installed"

However after the latest updates the bug no longer exists, as Greg McGee reports the missing libkscreen has fixed it.
Comment 9 Luc Menut 2013-02-10 22:49:54 CET
(In reply to comment #7)
> The update loaded, still works, is the dependancy for libkscreen fixed?
> 

Yes, it's fixed with kscreen-0.0.71-3.
I added the dependency on libkscreen through '%arch_tagged KSC_XRandR.so' to ensure the install of libkscreen from the same arch as kscreen.

regards,
Luc
Comment 10 Greg McGee 2013-02-10 22:55:09 CET
Cool, this one can probably be closed then.

<1 day bug>fix is not bad at all ;-)
Luc Menut 2013-02-10 23:36:48 CET

Status: NEW => RESOLVED
Hardware: x86_64 => All
Resolution: (none) => FIXED
Source RPM: (none) => kscreen