ports/104885: Hangs when logging out of X11 terminals

Coleman Kane cokane at FreeBSD.org
Sat Oct 28 17:50:34 UTC 2006


>Number:         104885
>Category:       ports
>Synopsis:       Hangs when logging out of X11 terminals
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 28 17:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Coleman Kane
>Release:        FreeBSD 7.0-CURRENT amd64
>Organization:
FreeBSD Committers
>Environment:
FreeBSD erwin 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Tue Oct 24 14:26:11 EDT
2006     root at erwin:/usr/obj/usr/src/sys/ERWIN  amd64

GNOME 2.16.1 (from ports)
X.org 6.9.0 (from ports)
>Description:
   Whenever I log out of a terminal session (xterm or gnome-terminal) using
CTRL-D or 'logout', the session hangs (blocking for something) and the
window is not closed. Event if I kill X.org (three finger salute), the
process is still left running in the background (Defunct or Zombie). In
addition, when this occurrs I can no longer start up either a new xterm,
nor a new gnome-terminal (depending upon which one is hung). I also cannot
"Log Out" of X. I can kill terminals by clicking the "close" box in the WM
however.

Below is a stack trace of an xterm that is hung:
#0  0x0000000801847a7c in poll () from /lib/libc.so.7
#1  0x0000000801307b72 in _XtWaitForSomething () from
/usr/X11R6/lib/libXt.so.6
#2  0x0000000801309590 in XtAppPending () from /usr/X11R6/lib/libXt.so.6
#3  0x000000000041226b in ?? ()
#4  0x00000000004126be in ?? ()
#5  0x000000000041eab5 in ?? ()
#6  0x0000000000406ebe in ?? ()
#7  0x000000080056a000 in ?? ()

I ran it in GDB and then killed it with CTRL-C. There is a bunch of junk
addresses (many NULLs) further down the stack trace as well.

>How-To-Repeat:
  For me, start up X.org (running GNOME) and then load up a terminal and
try to log out of the terminal.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list