Bug 332102

Summary: opensuse 10.3: kded crash during logout/restart/shutdown
Product: [openSUSE] openSUSE 10.3 Reporter: ronald artos <ronartos>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: jcea, kames, kees.bakker
Version: Final   
Target Milestone: ---   
Hardware: i386   
OS: openSUSE 10.3   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: .xsession-errors after the kded crash
debug file

Description ronald artos 2007-10-09 10:02:01 UTC
[?1034h(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6a006d0 (LWP 17251)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb6fa78f5 in raise () from /lib/libc.so.6
#8  0xb6fa91e1 in abort () from /lib/libc.so.6
#9  0xb642ff25 in ?? () from /lib/libdbus-1.so.3
#10 0xb6438227 in ?? () from /lib/libdbus-1.so.3
#11 0xb6fd5043 in fflush () from /lib/libc.so.6
#12 0xb642bec6 in ?? () from /lib/libdbus-1.so.3
#13 0xb70ad580 in ?? () from /lib/libc.so.6
#14 0x00000001 in ?? ()
#15 0xb6437920 in ?? () from /lib/libdbus-1.so.3
#16 0xbfdf9f34 in ?? ()
#17 0x0000003a in ?? ()
#18 0x00000042 in ?? ()
#19 0x0000003b in ?? ()
#20 0xbfdf9f34 in ?? ()
#21 0xb6439ff4 in ?? () from /lib/libdbus-1.so.3
#22 0xb64a046e in ?? () from /opt/kde3/lib/kde3/kded_mediamanager.so
#23 0xbfdf9f68 in ?? ()
#24 0xb6420c74 in dbus_message_new_method_call () from /lib/libdbus-1.so.3
Backtrace stopped: frame did not save the PC
Comment 1 ronald artos 2007-10-09 10:07:24 UTC
After each session, when logging out, or restart/shutdown. Kded always crash before going to login screen or continuing the shutdown process.
Comment 2 Lubos Lunak 2007-10-10 12:41:13 UTC
Is there anything at the end of your ~/.xsession-errors? What is the output of running 'mount' ?
Comment 3 ronald artos 2007-10-11 00:11:40 UTC
mount display mounted partitions

/dev/sda1   /boot
/dev/sda3   /
/dev/sda4   /home



And during boot at STARTING DBUS.. nex line to it shows:

User 'gdm' not exist ...

By the way I'm using KDE opensuse 10.3
Comment 4 Lubos Lunak 2007-10-11 11:17:36 UTC
- note there is a checkbox below for resetting NEEDINFO
- when several questions are asked, it is expected all of them will be answered, not just one of them
- please install matching debuginfo packages for kdebase3,kdelibs3,qt3 and dbus-1 and provide the backtrace again
Comment 6 Bastian Kames 2007-10-15 14:07:56 UTC
Yes,

I have the same problem. And it is a very critical problem by using freenx because  the sessions will not ending.
Comment 7 Kees Bakker 2007-10-15 19:27:36 UTC
This bug identical to #304640. Interestingly the status of that one is RESOLVED, but the reality is that the bug is still present in openSUSE 10.3.
Dirk Mueller suggests that it should be fixed in kdelibs3 3.5.7-72, but it is not.

It seems to me that this bug does not show up for everyone otherwise it would have been noticed by Dirk. The question is what triggers the bug.

Well, I guess I have to install the debug packages of kdebase3, kdelibs3, qt3 and dbus-1. Let's see how that goes. Later.
Comment 8 ronald artos 2007-10-16 02:35:49 UTC
I got a temporary fix for this problem:


1. Delete the profile of gnome's gdm in the /etc/dbus-1/system.d/Consolekit.conf

Look's like this:

 <policy context="gdm">
    <allow send_interface="org.freedesktop.ConsoleKit.Manager"/>
    <allow send_interface="org.freedesktop.ConsoleKit.Seat"/>
    <allow send_interface="org.freedesktop.ConsoleKit.Session"/>

    <deny send_interface="org.freedesktop.ConsoleKit.Manager"
          send_member="OpenSessionWithParameters"/>
    <deny send_interface="org.freedesktop.ConsoleKit.Session"
          send_member="Lock"/>
    <deny send_interface="org.freedesktop.ConsoleKit.Session"
          send_member="Unlock"/>
    <deny send_destination="org.freedesktop.ConsoleKit"
          send_interface="org.freedesktop.DBus.Properties" />
  </policy>


2. Then roll back your gtk2 package from 2.12 to 2.10 which is available in GNOME:/Stable repos.


Well at least all those GTK2 and DBUS bugs are now gone by doing this. I've tested i several times and it works.



Comment 9 Bastian Kames 2007-10-16 09:57:10 UTC
Hi,

that don`t work on an 64bit System. Same Problem ..
Comment 10 Lubos Lunak 2007-10-16 13:09:42 UTC
- This is not the same bug like #304640.
- "Yes" is not an answer to my questions.

Comment 11 Kees Bakker 2007-10-16 19:37:14 UTC
Created attachment 178841 [details]
.xsession-errors after the kded crash
Comment 12 Kees Bakker 2007-10-16 19:39:36 UTC
So Lubos is saying he needs the info. I can give my .xsession-errors (see attachment). (Should I check the checkbox if only half of the NEEDINFO is given?)

Can anyone give me a hint as to how to make the backtrace? I've installed the debug packages of kdebase3, kdelibs3, qt3 and dbus-1, but still the KCrash windows is only visible for about one second and pressing the "Backtrace" tab doesn't help much.

If I attach gdb to the kded process, then the crash does not happen. Neither does it happen if I do a "KDE_DEBUG=1 startkde" from a failsafe session.
Comment 13 Bastian Kames 2007-10-23 06:35:38 UTC
Is that bug not interesting enough ? I think this bug is a very high bug, because opensuse 10.3 can not realy work ...
Comment 14 Kees Bakker 2007-10-23 19:13:35 UTC
Can someone at least have a look at the .xsession-errors that I attached to this bug? And also, can someone give me a hint as to how to make a backtrace. Have a look at my previous comment where I explain what I already did. It's not a trivial RTFM issue.
Comment 15 Bastian Kames 2007-10-24 07:49:00 UTC
It is possible that the bug is in the RC2 already ?

Bug 304640 
https://bugzilla.novell.com/show_bug.cgi?id=304640
Comment 16 Lubos Lunak 2007-10-24 09:56:32 UTC
Comment #12: Your problem is unrelated to the reporter's problem (at least according to the information provided by the reporter) and we already have a patch for that, it'll be handled shortly.

Setting back to NEEDINFO as information from original reporter is still needed.
Comment 17 Stephan Binner 2007-10-25 08:27:18 UTC
*** Bug 336627 has been marked as a duplicate of this bug. ***
Comment 18 Kees Bakker 2007-10-25 08:58:17 UTC
Stephan, perhaps you should get it touch with Lubos, because he doesn't agree (according to comment #16).

And even if it is the same, we're somewhat in a deadlock, because Lubos wants more info, and I am unable to give the backtrace.
Comment 19 Kees Bakker 2007-10-27 12:56:55 UTC
After doing a bit of experimenting I get the impression that it is related to NFS mounts. There are two mounts on my system via NFS. If I remove those two, then I am not able to get the crashing KDED anymore. (Well, so far anyway.)

Not hard evidence but still a strong suspicion.

Can anyone else confirm this? Lubos, was that the reason you wanted to see the output of 'mount'?
Comment 20 Bastian Kames 2007-10-30 07:33:31 UTC
Yes I can confirm it. Simple mount with rw

/server /home nfs rw
Comment 21 Bastian Kames 2007-10-30 09:06:55 UTC
Okay I found the error.


Just remove /etc/init.d/dbus

It works for me. Can anybody confirm that ?
Comment 22 Bastian Kames 2007-10-30 09:24:21 UTC
Sorry not remove. Change

/etc/init.d/rc5.d/S01dbus to S199dbus
Comment 23 Bastian Kames 2007-10-30 09:30:54 UTC
Sorry ..... to S05dbus
Comment 24 Dirk Mueller 2007-10-30 10:16:04 UTC
ok, but then the bug is still not fixed, right?
Comment 25 Bastian Kames 2007-10-30 13:14:27 UTC
Right. 
Comment 26 Lubos Lunak 2007-10-30 16:12:08 UTC
See comment #16 (or, alternatively, just ignore everything following comment #4).
Comment 27 Bastian Kames 2007-10-31 15:46:11 UTC
Created attachment 181508 [details]
debug file

Okay here is the debug file

I do it with
startx 2>&1 | tee startx.log
Comment 28 Lubos Lunak 2007-10-31 16:58:41 UTC
See comment #16 (and, everybody who's not the original reporter, go to bug #336627).
Comment 29 Stephan Binner 2007-11-22 15:26:36 UTC
Seems the original reporter disappeared and is not answering questions.