Comment 0 for bug 330052

Revision history for this message
Adam Dickmeiss (adam-indexdata) wrote : Xvfb crashes with SIGSEGV

Binary package hint: xvfb

adam@durum:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"
adam@durum:~$ apt-cache policy xvfb
xvfb:
  Installed: 2:1.5.2-2ubuntu3
  Candidate: 2:1.5.2-2ubuntu3
  Version table:
 *** 2:1.5.2-2ubuntu3 0
        500 http://dk.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

adam@durum:~$ echo localhost >hosts
adam@durum:~$ Xvfb :1 -auth hosts
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
Segmentation fault
adam@durum:~$

The crash happens when an X client is shut down.. For example, when xeyes is shut down with Control-C.

adam@durum:~$ xeyes -display :1
^C

GDB session:

Starting program: /usr/bin/Xvfb :1 -auth hosts
(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)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0x7f677e5d06f0 (LWP 32363)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed

Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread 0x7f677e5d06f0 (LWP 32363)]
0x0000000000507665 in FreeColormap ()
(gdb) bt
#0 0x0000000000507665 in FreeColormap ()
#1 0x000000000052a1cb in FreeClientResources ()
#2 0x000000000052a2b4 in FreeAllResources ()
#3 0x0000000000526adb in main ()
(gdb)