[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#278724: [(fwd): Bug#278724: [Sarge]: xserver-xfree86 freeze on errors from gv|xmms|lopster]



tag 278724 + moreinfo
thanks

On Tue, Jan 25, 2005 at 01:44:42AM +0100, Ennio-Sr wrote:
> Hi Branden!
> I'm following up after some time to my previous answer on your last
> message.

Likewise.  I'm sorry it's taken a while to get back to you.

> Finally I was again in a position to try again what you suggested, but
> to no avail: whatever I did from my note book, the screen on my PC
> remained well fixed on that frozen page showing the error I reported
> before. PC's keyboard was of course completely frozen and the only
> command which would be felt through the ssh connection was 'reboot' !
> 
> For what is worth I'm reporting the commands I gave:
> 
> On my PC's XF86Config-4 I put again the value 'DefaultDepth  24'
> then I gave the command from root:
> # startx $/which x-terminal-emulator)
> and when X came on I gave the fatal
> # gv pippo
> The error window came out and the PC was frozen.
> I connected from a notebook and killed one after another all the
> processes relating to the gv command, i.e.:
> 
> # kill -QUIT proc.no. ## gv pippo
> # kill -ABRT    "     ## xterm -class UxTerm -title uxterm -u8
> # kill -ABRT    "     ## usr/bin/X11*X -dpi 100 -nolisten tcp
> # kill -QUIT    "     ## bash (which will not disappear from ps aux
>                       ## list as the previous processes did)
> 
> This is the full list of what I did from my notebook:
[snip]

You don't want to mess with the client (gv); the client may be buggy, but
the problem that hangs your session is (probably) the fault of the X
server.

The process you want to look for is XFree86-debug.  If it's still running,
which it appears to be, you can use GDB to attach to the running process
and ask for a backtrace.

E.g., here's a partial transcript of me performing this procedure with an
XFree86-debug X server running in its normal event loop (where it is when
it has nothing else to do).  I expect the results of your backtrace will
look a bit different.

  505 {0} root@sisyphus:~# ps -fC XFree86-debug
  UID        PID  PPID  C STIME TTY          TIME CMD
  root     32410 32406  4 13:12 ?        00:00:00 XFree86-debug :1 vt10
  506 {0} root@sisyphus:~# gdb $(which XFree86-debug) 32410
  GNU gdb 6.3-debian
  Copyright 2004 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you are
  welcome to change it and/or distribute copies of it under certain conditions.
  Type "show copying" to see the conditions.
  There is absolutely no warranty for GDB.  Type "show warranty" for details.
  This GDB was configured as "powerpc-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

  Attaching to program: /usr/X11R6/bin/XFree86-debug, process 32410
  Reading symbols from /usr/lib/libfreetype.so.6...done.
  Loaded symbols for /usr/lib/libfreetype.so.6
  Reading symbols from /usr/lib/libz.so.1...done.
[SNIP]
  (gdb) bt
  #0  0x0fe14f10 in select () from /lib/libc.so.6
  #1  0x1051a774 in WaitForSomething (pClientsReady=0x7fffeba0) at WaitFor.c:350
  #2  0x104d1848 in Dispatch () at dispatch.c:379
  #3  0x104f397c in main (argc=3, argv=0x7ffff084, envp=0x7ffff094) at main.c:469
  (gdb)

Can you try the above procedure, please?

-- 
G. Branden Robinson                |    Freedom is kind of a hobby with me,
Debian GNU/Linux                   |    and I have disposable income that
branden@debian.org                 |    I'll spend to find out how to get
http://people.debian.org/~branden/ |    people more of it. -- Penn Jillette

Attachment: signature.asc
Description: Digital signature


Reply to: