Xorg crash on Compaq Presario
On the forum, a tester reported that Easy Excalibur does not work on an old PC; Xorg failed to start.
So far, I've been testing Excalibur on fairly modern computers, so I
booted the latest build, 6.118, on my old Compaq Presario, which has 2GB
RAM, Intel Core-2 Duo CPU E7300 and Intel GMA 3100 GPU.
Get to a desktop, test various apps, they work. However, there is a
specific action that crashes Xorg then get a black screen, requiring
long press of the power-button. In QuickSetup, make just one change, to
select "Australia -> Perth" timezone, then click OK button, then when
the "XKB Configuration Manager" window comes up, click "exit" button
...Xorg crash.
I want to collect information at that crash, so inserted the
USB-drive in my desktop PC; let's say it is /dev/sdc, then mounted the
second partition so it is /mnt/sdc2
Went to /mnt/sdc2/easyos, and changed ROX to see hidden files, then
went to /mnt/sdc2/easyos/.session/usr/bin, copied 'xwin' from the host
EasyOS, and edited line 319:
/usr/bin/xinit /root/.xinitrc -- -br -nolisten tcp -nolisten local > /mnt/wkg/xerrs.log 2>&1
Then went to /mnt/sdc2/easyos/.session/etc/init.d and copied in '00sys_logger' and edited it:
#!/bin/sh
case $1 in
start)
syslogd -O /mnt/wkg/syslogd.log
klogd
;;
stop)
killall klogd
killall syslogd
;;
esac
Then went to /mnt/sdc2/easyos/.session/etc/rc.d and copied in 'rc.sysinit' and edited line 356:
[ ! "$LOGLEVEL" ] && exec 1>/mnt/wkg/bootsysinit.log 2>&1
Finally, did this:
# touch /mnt/sdc2/easyos/Xorg.0.log # ln -s /mnt/wkg/Xorg.0.log /mnt/sdc2/easyos/.session/var/log/Xorg.0.log
Then booted the USB-drive on the Compaq. After getting the Xorg crash, waited few minutes, then hard-powered off, then plugged the drive into my main PC and mounted /dev/sdc2. It now has these files in /mnt/sdc2/easyos:
bootsysinit.log syslogd.log xerrs.log Xorg.0.log
Do any of these show what has caused the crash?
Xorg.0.log and xerrs.log both show that Xorg has crashed. From the latter:
(EE) Backtrace:
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 0: /usr/lib/xorg/Xorg (?+0x0) [0x55718cb361ed]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f34d7e85df0]
(EE) 2: /lib/x86_64-linux-gnu/libpciaccess.so.0 (pci_device_vgaarb_set_target+0x113) [0x7f34d82829b3]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 3: /usr/lib/xorg/Xorg (?+0x0) [0x55718ca16a80]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 4: /usr/lib/xorg/Xorg (?+0x0) [0x55718c9f9b18]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 5: /usr/lib/xorg/Xorg (?+0x0) [0x55718ca6eb96]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 6: /usr/lib/xorg/Xorg (?+0x0) [0x55718ca6ecf2]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 7: /usr/lib/xorg/Xorg (?+0x0) [0x55718c9b9b4b]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 8: /usr/lib/xorg/Xorg (?+0x0) [0x55718c9bdc14]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f34d7e6fca8]
(EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7f34d7e6fd65]
(EE) 11: /usr/lib/xorg/Xorg (_start+0x21) [0x55718c9a65a1]
(EE)
(EE) Segmentation fault at address 0x30
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
The kernel and sys log, 'syslogd.log', has this at last 4 lines:
Jul 29 17:08:59 EASYPC32181 user.err pulseaudio[11981]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
Jul 29 17:09:36 EASYPC32181 user.warn pulseaudio[11981]: [pulseaudio] x11wrap.c: X11 I/O error handler called
Jul 29 17:09:36 EASYPC32181 user.warn pulseaudio[11981]: [pulseaudio] x11wrap.c: X11 I/O error exit handler called, preparing to tear down X11 modules
Jul 29 17:12:15 EASYPC32181 daemon.notice acpid: client 9690[0:0] has disconnected
Before we start blaming pulseaudio, I did test audio when got the
desktop. Clicked on an audio file in /usr/share/audio, and it played OK.
So, haven't narrowed it down enough. Next, need to put logs into
/usr/sbin/quicksetup, try to find exactly where the crash is
happening.
EDIT 2025-07-30:
Fixed, see next post:
https://bkhome.org/news/202507/found-cause-crash-compaq-presario.html
Tags: easy