Bug#278724: [Sarge]: xserver-xfree86 freeze on errors from gv|xmms|lopster
Package: xserver-xfree86, Version: 4.3.0.dfsg.1-8
with libc6, Version: 2.3.2.ds1-18
Using: Debian GNU/Linux testing (Sarge)
Linux deby 2.4.27-1-386 #1 Fri Sep 3 06:24:46 UTC 2004 i686 GNU/Linux
-------------------
Hello!
I searched Debian Bugs but could not find any previous posts resembling
my problem ...
I've just installed the base packages of Sarge (k. 2.4.27) and am
progressively adding new packages so as to have the same facilities I
had in Woody.
While testing a few packages running under X I experienced a total
freeze of by box: as this happened with xmms, lopster and - today - with
gv, the doubt is coming out that it might depend on the X Window System,
although I cannot tell for sure. What is more, and unlike my past very few
(two or three times in 2 years) similar experiences with Woody - when I
could recover from the error either by switching to a different console and
killing the 'culprit' process or connecting from another PC and do the
killing - on these occasions I was only left with the possibility to
reboot from the remote connection!
In the case I'm reporting, I was using 'gv' in an attempt to read a file (err_pg)
containing escape formatting codes: a window appeared with the warning:
"Error: /undefinedGPL Ghostscript 8.01: Unrecoverable errorm exit code 1"
and everything froze!
I couldn't switch to any other console neither could I resolve
ssh-ing to the PC from my second PC. What I could do from the latter was
taking the output of ps and then reboot.
-----------------------------------
# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1492 504 ? S 10:49 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 10:49 0:06 [keventd]
root 3 0.0 0.0 0 0 ? SN 10:49 0:00 [ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? S 10:49 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? S 10:49 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? S 10:49 0:01 [kupdated]
root 212 0.0 0.0 0 0 ? S 10:50 0:00 [kcopyd]
daemon 346 0.0 0.0 1600 436 ? Ss 10:50 0:00 /sbin/portmap
root 504 0.1 0.1 1540 616 ? Ss 10:50 0:38 /sbin/syslogd
root 507 0.0 0.2 2204 1364 ? Ss 10:50 0:00 /sbin/klogd -c 4
dictd 520 0.0 0.1 1792 828 ? S 10:50 0:00 dictd 1.9.14: 0/0
root 527 0.0 0.0 1520 520 ? Ss 10:50 0:00 /usr/sbin/inetd
root 631 0.0 0.2 3388 1440 ? Ss 10:50 0:00 /usr/sbin/sshd
root 5939 0.0 0.2 6128 1780 ? Ss 19:36 0:00 \_ sshd: ennio [priv]
ennio 5942 0.0 0.3 6136 1888 ? S 19:37 0:00 \_ sshd: ennio@pts/2
ennio 5943 0.0 0.2 2908 1516 pts/2 Ss 19:37 0:00 \_ -bash
root 5948 0.1 0.2 3108 1720 pts/2 S 19:37 0:00 \_ -su
root 5953 0.0 0.1 2480 848 pts/2 R+ 19:38 0:00 \_ ps auxfwww aux
root 5954 0.0 0.2 3108 1720 pts/2 R+ 19:38 0:00 \_ -su
proxy 647 0.0 0.1 2412 920 ? S 10:50 0:00 /usr/sbin/wwwoffled -c /etc/wwwoffle/wwwoffle.conf
root 659 0.0 0.5 4764 3316 ? Ss 10:50 0:00 /usr/bin/X11/xfs -daemon
root 730 0.0 0.2 2716 1460 ? S 10:50 0:00 /bin/bash /etc/rc2.d/S20xprint posix_sh_forced start
root 732 0.0 0.2 2716 1460 ? S 10:50 0:00 \_ /bin/bash /etc/rc2.d/S20xprint posix_sh_forced start
root 737 0.0 0.4 8936 2676 ? S 10:50 0:00 | \_ /usr/bin/Xprt -ac -pn -nolisten tcp -audit 4 -fp /usr/X11R6/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/misc :64
root 733 0.0 0.2 2716 1464 ? S 10:50 0:00 \_ /bin/bash /etc/rc2.d/S20xprint posix_sh_forced start
root 746 0.0 0.1 1756 800 ? Ss 10:50 0:00 /usr/sbin/cron
root 811 0.0 0.6 9680 4088 ? S 10:50 0:00 /usr/sbin/apache
www-data 825 0.0 0.6 9680 4096 ? S 10:50 0:00 \_ /usr/sbin/apache
www-data 826 0.0 0.6 9680 4096 ? S 10:50 0:00 \_ /usr/sbin/apache
www-data 827 0.0 0.6 9680 4096 ? S 10:50 0:00 \_ /usr/sbin/apache
www-data 828 0.0 0.6 9680 4096 ? S 10:50 0:00 \_ /usr/sbin/apache
www-data 829 0.0 0.6 9680 4096 ? S 10:50 0:00 \_ /usr/sbin/apache
root 819 0.0 0.2 3128 1740 tty1 Ss+ 10:50 0:05 -bash
ennio 820 0.0 0.2 2924 1532 tty2 Ss 10:50 0:03 -bash
root 5483 0.0 0.2 3112 1724 tty2 S+ 19:08 0:00 \_ -su
ennio 821 0.0 0.2 2908 1516 tty3 Ss+ 10:50 0:00 -bash
root 822 0.0 0.0 1484 468 tty4 Ss+ 10:50 0:00 /sbin/getty 38400 tty4
root 823 0.0 0.0 1484 468 tty5 Ss+ 10:50 0:00 /sbin/getty 38400 tty5
ennio 824 0.0 0.2 2908 1516 tty6 Ss 10:50 0:00 -bash
root 5909 0.0 0.2 3112 1724 tty6 S 19:33 0:00 \_ -su
root 5912 0.0 0.1 2284 1052 tty6 S+ 19:33 0:00 \_ /bin/sh /usr/X11R6/bin/startx
root 5924 0.0 0.1 2364 616 tty6 S+ 19:33 0:00 \_ xinit /root/.xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc
root 5925 85.3 1.9 54464 11816 ? R< 19:33 4:06 \_ /usr/bin/X11/X -dpi 100 -nolisten tcp
root 5928 0.0 0.1 2272 1020 tty6 S 19:33 0:00 \_ /bin/sh /root/.xinitrc
root 5929 0.0 0.4 5380 2496 tty6 S 19:33 0:00 \_ xterm -bg black -fg green -ls
root 5933 0.0 0.2 3092 1704 pts/1 Ss 19:33 0:00 | \_ -bash
root 5937 0.0 0.3 4056 2324 pts/1 S+ 19:34 0:00 | \_ gv err_pg
root 5931 0.1 0.3 3936 2136 tty6 S 19:33 0:00 \_ blackbox
root 1055 0.0 0.1 2312 1116 tty1 S 10:58 0:00 /bin/sh /usr/sbin/adsl-connect
root 1096 0.0 0.1 3296 1224 ? Ss 10:58 0:00 \_ /usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -m 1412 noipdefault noauth default-asyncmap defaultroute hide-password nodetach mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user enniannu lcp-echo-interval 20 lcp-echo-failure 3
root 1098 0.0 0.0 1500 488 ? S 10:58 0:06 \_ /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -m 1412
root 4586 0.0 0.1 2952 1140 ? Ss 18:54 0:00 /usr/lib/postfix/master
postfix 4589 0.0 0.1 2960 1156 ? S 18:54 0:00 \_ pickup -l -t fifo -u -c
postfix 4590 0.0 0.1 2992 1192 ? S 18:54 0:00 \_ qmgr -l -t fifo -u -c
-------------------
After reboot (this time with no framebuffer) I repeated the attempt:
# gv err_pg
and got a richer error warning from gv:
Error: /undefinedGPL Ghostscript 8.01: Unrecoverable error, exit code 1
in Stopping
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval--
--nostringval-- ......
Dictionary stack:
--dict:1048/1123(ro) (G)-- --dict:0/20(G)--
--dict:69/200(L)--
Current allocation mode is local
Current file position is 9
-------------------
Here follows some additional information:
# lspci -v:
0000:00:00.0 Host bridge: ALi Corporation M1621 (rev 04)
Flags: bus master, slow devsel, latency 0
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [b0] AGP version 1.0
Capabilities: [a4] Power Management version 1
0000:00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: dde00000-dfefffff
Prefetchable memory behind bridge: c9c00000-cdcfffff
0000:00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at dffff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2
0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] (rev c3)
Flags: bus master, medium devsel, latency 0
0000:00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at d800 [size=256]
Capabilities: [c0] Power Management version 2
0000:00:0c.1 Communication controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: C-Media Electronics Inc CM8738
Flags: medium devsel, IRQ 9
I/O ports at dc00 [size=64]
Capabilities: [40] Power Management version 2
0000:00:0e.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 02)
Flags: bus master, medium devsel, latency 64, IRQ 3
I/O ports at d400 [size=256]
Memory at dfffe000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at dffc0000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
0000:00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c2) (prog-if fa)
Subsystem: ALi Corporation M5229 IDE
Flags: bus master, medium devsel, latency 32, IRQ 14
I/O ports at ffa0 [size=16]
Capabilities: [60] Power Management version 2
0000:00:14.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 3
I/O ports at d000 [size=256]
Memory at dfffdf00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
0000:01:00.0 VGA compatible controller: nVidia Corporation NV5 [Aladdin TNT2] (rev 20) (prog-if 00 [VGA])
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at ca000000 (32-bit, prefetchable) [size=32M]
Expansion ROM at dfef0000 [disabled] [size=64K]
Capabilities: [60] Power Management version 1
Capabilities: [44] AGP version 1.0
------------------------
# less /etc/X11/XF86Config-4:
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV5 [Aladdin TNT2]"
Driver "nv"
EndSection
Section "Monitor"
Identifier "Monitor Generico"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV5 [Aladdin TNT2]"
Monitor "Monitor Generico"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
---------------------
I'm abstaining from sending the original file err_pg as it is full of escape
codes and quite huge (32253k): it is reported as being of type 'data'; I
obtained it from the command:
# dpkg-reconfigure postgresql > err_pg 2>&1
which I run on a first console, and followed it running a 'tail err_pg'
from another console, so as to be able to answer the questions as they
were posed. Its cleaned version (ASCII text) is:
-------------------
Stopping PostgreSQL database server: postmasterpg_ctl: could not find /var/lib/postgres/data/postmaster.pid
Is postmaster running?
.
Configuring postgresql
During a database upgrade, a new flat file dump will be created to save all the
your databases. It will contain every record from all your databases and is the
potentially very large, though it will not be as large as the database structure
themselves.
You must specify the pathname of a directory or tape device which will have the
receive this dump file. If you specify a tape device, it may involve manual int
change tapes, if the tape capacity is less than what is required.
If you specify a directory, the dump will be created in that directory as a file
db.out. The directory you name must be writable by the user 'postgres' (not 'ro
Where should the flat file dump be created during an upgrade?
/var/lib/postgres/______________________________________________________________
Debian Configuration
Configuring postgresql
During a database upgrade, the existing database will first be copied to a separ
directory location so that you are able to go back to the previous version of Po
case of upgrade problems. This directory must be able to hold all of the conten
PostgreSQL database directory. It must not be under the PostgreSQL database dire
Any files referenced from the database directory by symbolic links will not be c
links will be preserved unchanged. The directory you name must be writable by t
'postgres' (not 'root').
Where should the existing database be preserved during an upgrade?
/var/lib/postgres/preserve______________________________________________________
Attempting PostgreSQL database upgrade; the time taken will depend on the
size of your database(s).
/root/.tmp/pg.1XKBkf: /root/.tmp/pg.1XKBkf: Permission denied
Sorry; the automatic database upgrade failed.
--------------------------------
In case you need any additional info I could obtain (which I'm not aware
of at the moment) please feel free to ask.
May I add, however, that the same type of freeze happened with lopster
(when I tried to use something not available) and with xmms, clicking on
'play' before choosing a file to play, so it should not be too hard to
reproduce the error.
Thanks for your attention.
Regards,
Ennio.
Reply to: