Your message dated Wed, 09 Feb 2011 19:21:19 +0100
with message-id <1297275679.27728.30.camel@oban>
and subject line Re: [Pkg-xfce-devel] Bug#612504: xfce4-session: Attempted
suspend causes logout and segfault
has caused the Debian Bug report #612504,
regarding xfce4-session: Attempted suspend causes logout and segfault
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
612504: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612504
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xfce4-session
Version: 4.6.2-3
Severity: normal
After upgrading to wheezy, the suspend functionality from the logout
menu no longer works. Instead it seems I am logged out of my session and
presented with the 'slim' login screen.
In /var/log/messages I see the following line:
Feb 8 13:06:29 jberryman kernel: [70830.865667]
x-session-manag[2055]: segfault at 0 ip 0805b05d sp bf9b23d0 error 4
in xfce4-session[8048000+1c000]
I would be happy to help resolve this issue and grateful for any ideas
on work-arounds.
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xfce4-session depends on:
ii fortune-mod 1:1.99.1-4 provides fortune cookies on demand
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.24-4 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2.1 simple interprocess messaging syst
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib
ii libglade2-0 1:2.6.4-1 library to load .glade files at ru
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libice6 2:1.0.7-1 X11 Inter-Client Exchange library
ii libpango1.0-0 1.28.3-1+squeeze1 Layout and rendering of internatio
ii libsm6 2:1.2.0-1 X11 Session Management library
ii libwnck22 2.30.4-2 Window Navigator Construction Kit
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxfce4util4 4.6.2-1 Utility functions library for Xfce
ii libxfcegui4-4 4.6.4-1 Basic GUI C functions for Xfce4
ii libxfconf-0-2 4.6.2-1 Client library for Xfce4 configure
ii xfce4-settings 4.6.5-2 graphical application for managing
ii xfconf 4.6.2-1 utilities for managing settings in
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages xfce4-session recommends:
ii consolekit 0.4.3-2 framework for defining and trackin
ii dbus-x11 1.2.24-4 simple interprocess messaging syst
ii hal 0.5.14-3 Hardware Abstraction Layer
ii x11-xserver-utils 7.5+2 X server utilities
ii xfce4-panel 4.6.4-1 The Xfce4 desktop environment pane
ii xfce4-utils 4.6.2-1 Various tools for Xfce
ii xfdesktop4 4.6.2-1+b1 xfce desktop background, icons and
ii xfwm4 4.6.2-1 window manager of the Xfce project
Versions of packages xfce4-session suggests:
ii sudo 1.7.4p4-6 Provide limited super user privile
-- no debconf information
--- End Message ---
--- Begin Message ---
On mer., 2011-02-09 at 13:05 -0500, Brandon Simmons wrote:
> On Wed, Feb 9, 2011 at 11:19 AM, Yves-Alexis Perez <[email protected]> wrote:
> > On mer., 2011-02-09 at 10:54 -0500, Brandon Simmons wrote:
> >> On Wed, Feb 9, 2011 at 1:11 AM, Yves-Alexis Perez <[email protected]>
> >> wrote:
> >> > On mar., 2011-02-08 at 18:56 -0500, Brandon Simmons wrote:
> >> >> As for the backtrace, I'll need some hints on how to do that. I
> >> >> re-built the 'xfce4-session' package with debugging symbols and
> >> >> attempted to get a backtrace of "xfce4-session-logout --suspend" per
> >> >> these instructions:
> >> >>
> >> >> http://wiki.debian.org/HowToGetABacktrace
> >> >>
> >> >> but I was instantly logged out of my session. I also tried to dump a
> >> >> backtrace to a file using this trick:
> >> >
> >> > xfce4-session-logout doesn't segfaults, it's xfce4-session. Try to
> >> > attach it using gdb -p $(pid xfce4-session). You should do it from a
> >> > console or from ssh since when it'll be killed the session might be
> >> > frozen.
> >>
> >> I had gdb running in a separate TTY with:
> >>
> >> $ gdb x-session-manager $(pidof x-session-manager)
> >>
> >> And when I ran in TTY 7
> >>
> >> $ xfce4-session-logout --suspend
> >>
> >> I got the message "Failed to receive a reply from the session
> >> manager".
> >
> > I'd say this is because it was stuck in gdb on tty1.
> >
> >> However, after quitting gdb the system immediately suspended
> >> successfully (and when it came back up it went into suspend again,
> >> presumably because I had tried the suspend command above twice).
> >
> > As xfce4-session had segfaulted but not yet quitted (stuck in gdb) its
> > children weren't killed and in particular the suspend order was
> > correctly processed. At least that's how I see it.
> >>
> >> At this point suspend seems to be working normally for whatever
> >> reason. I'm sure it is unrelated to the debugging I just did, but I
> >> thought I would mention the process I went through, since I haven't
> >> done anything else with it in the meantime.
> >
> > Do you mean that it now works even without any gdb debugging?
>
> Yes. Sorry to be unclear.
>
> >>
> >> One final thing to mention: when suspend stopped working, I was asked
> >> for my password when I tried to suspend from the GUI logout screen;
> >> this never happened before. After entering it I was logged out.
> >
> > That looks like a Consolekit/Policykit issue.
> >>
> >> Anyway thanks for the help in trying to resolve this.
> >
> > So what's the status right now?
>
> Seems to be working. I did a restart yesterday, and I assume it had
> been working since then, but I hadn't tested it again until trying to
> do the debugging today.
Uh, weird. I'm closing it, if you manage to reproduce we can always
reopen it later.
Regards,
--
Yves-Alexis
--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel