Bug 18985 - Segfault in libSM
Summary: Segfault in libSM
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnome-core
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-12 18:01 UTC by Tim Waugh
Modified: 2007-04-18 16:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-11-16 18:02:59 UTC
Embargoed:


Attachments (Terms of Use)
Here is a stack trace. (7.93 KB, text/plain)
2000-10-18 19:40 UTC, Tim Waugh
no flags Details

Description Tim Waugh 2000-10-12 18:01:52 UTC
I'm not sure what the correct component for this is.

I have a reproducible crash here.  It happens when I log out from a GNOME
session that was started from a remote X display.  I.e. I have kdm set to
respond to XDMCP, and I have another machine running "X -query
$kdm_machine", which I log in using, and when I log in I use GNOME.

Logging out causes gnome-session to crash, and the stack ends up in libSM.

I can dig up a stack trace if you like.  It would be nice to know if it's
just me or if someone can reproduce it.

Comment 1 Tim Waugh 2000-10-12 18:04:32 UTC
Oh yeah, and it only seems to happen if I use 'Ctrl-Alt-Delete' to logout. 
Logging out via the menus seems to work fine.

Comment 2 Tim Waugh 2000-10-12 20:29:34 UTC
Specifically, it's when I select 'No' or 'Help' when asked if I really want to
log out.

More info: I don't see this problem when I'm using the kdm machine, only when
I'm using a remote X terminal machine (also running Red Hat Linux 7).

Comment 3 Tim Waugh 2000-10-18 19:40:45 UTC
Created attachment 4368 [details]
Here is a stack trace.

Comment 4 Tim Waugh 2000-10-18 20:11:43 UTC
Okay, this looks like a gnome-session bug to me now.

Comment 5 Owen Taylor 2000-11-16 16:53:45 UTC
I'm confused by the references above to both hitting Ctrl-Alt-Backspace
and logging out.... (Ctrl-Alt-Backspace is a rude termination of the
session, not logging out.)

What is the exact sequence of steps that triggers the problem?

Does it happen if you login locally with KDM instead of via XDMCP?
What if you use XDM or GDM instead of KDM?

Comment 6 Tim Waugh 2000-11-16 17:03:05 UTC
Sorry, I meant Ctrl-Alt-Delete.

The exact sequence is:

Login via XDMCP.
Ctrl-Alt-Delete
Hit 'Yes'. (Or 'no', it doesn't actually seem to make a difference..)

When I log in locally, not via XDMCP, this doesn't happen.

Comment 7 Owen Taylor 2000-11-16 17:35:14 UTC
Ah. Asking around ,the binding of Ctrl-Alt-delete to logout was in 
some of our betas but didn't make it into the final 7.0, either inadvertently
or intentionally - its not clear. If you are running 7.0-final,
the binding may have migrated into your ~/.sawfish-custom if you
edited other key bindings.

Anyways, it should work. I guess I'll try setting up KDM for XDMCP
(though not this week) and see if I can reproduce it.

Comment 8 Tim Waugh 2000-11-16 18:02:57 UTC
I just installed a machine with 7.0-i386-respin-disc1, and Ctrl-Alt-Delete is
bound to logout. :-/


Comment 9 Owen Taylor 2001-08-03 20:11:16 UTC
Seems to be fixed since 7.0 - log in (to GDM) via XDCMP,
Ctl-Alt-Del to logout, yes/no work fine.


Note You need to log in before you can comment on or make changes to this bug.