Bug#385966: xprint: Seg-fault when printing from firefox

2006-09-10 Thread Drew Parsons
On Mon, 2006-09-04 at 13:57 +0200, Anders Boström wrote:

 The amd64 version of xprint don't work any more. It seg-faults every
 time I try to print from firefox, and also leads to a firefox
 crash. xphelloworld also leads to seg-fault, with similar strace.
..
 write(2, \nFatal server error:\n, 21) = 21
 write(2, PS DDX internal error while conv..., 117) = 117

I think this is one of the things fixed in the version in experimental.
It's due to reach unstable soon once the X11R7.1 transition is ready to
go, so I'll check in with you again after that.

Drew



Bug#385966: xprint: Seg-fault when printing from firefox

2006-09-04 Thread Anders Boström
Package: xprint
Version: 1:1.0.2-1
Severity: grave

The amd64 version of xprint don't work any more. It seg-faults every
time I try to print from firefox, and also leads to a firefox
crash. xphelloworld also leads to seg-fault, with similar strace.

Firefox (and mozilla) is the only major application using xprint,
motivating the high severity.

At least pre-xorg 7.0 versions of xprint worked fine under
amd64. Also, the 32-bit x86 version is still working, but with ugly
results.

strace from Xprt when xphelloworld is executed is attached.

/ Anders

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (51, 
'testing-proposed-updates'), (50, 'unstable'), (40, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.11
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to sv_SE)

Versions of packages xprint depends on:
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libfreetype6 2.2.1-2 FreeType 2 font engine, shared lib
ii  libx11-6 2:1.0.0-8   X11 client-side library
ii  libxau6  1:1.0.0-4   X11 authorisation library
ii  libxdmcp61:1.0.0-4   X11 Display Manager Control Protoc
ii  libxfont11:1.2.0-2   X11 font rasterisation library
ii  xprint-common1:1.0.2-1   Xprint - the X11 print system (con
ii  zlib1g   1:1.2.3-13  compression library - runtime

Versions of packages xprint recommends:
ii  xprint-utils 7.0.0+cvs20040414-5 utilities for Xprint, the X11 prin

-- no debconf information
select(256, [0], NULL, NULL, NULL)  = 1 (in [0])
accept(0, {sa_family=AF_FILE, path=§bÿ}, [59071846317817858]) = 1
fcntl(1, F_GETFL)   = 0x2 (flags O_RDWR)
fcntl(1, F_SETFL, O_RDWR|O_NONBLOCK)= 0
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, l\0\v\0\0\0\0\0\0\0\0\0, 4092) = 12
open(/etc/localtime, O_RDONLY)= 3
fstat(3, {st_mode=S_IFREG|0644, st_size=675, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=675, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2afe492ef000
read(3, TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0..., 4096) = 675
close(3)= 0
munmap(0x2afe492ef000, 4096)= 0
write(2, AUDIT: Mon Sep  4 13:49:46 2006:..., 80) = 80
writev(1, [{\1\0\v\0\0\0s\0\200\35,\4\0\0 \0\377\377\37\0\0\1\0\0\24..., 
468}], 1) = 468
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, 7\0\6\0\0\0 \0005\0\0\0\f\0\0\0\1\0\0\0\0\0\0\0b\0\5\0..., 4096) = 68
writev(1, [{\1\20\2\0\0\0\0\0\1\203\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 64}], 
1) = 64
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, \203\0\1\0, 4096) = 4
writev(1, [{\1\20\4\0\0\0\0\0\377\377\177\0\0\0\0\0\0\0\0\0\0\0\0\0..., 32}], 
1) = 32
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, b\0\5\0\t\0 \0XKEYBOARD\0\0\0, 4096) = 20
writev(1, [{\1\20\5\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 32}], 
1) = 32
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, b\0\5\0\v\0 \0XpExtension\0, 4096) = 20
writev(1, [{\1\20\6\0\0\0\0\0\1\212D\206\0\0\0\0\0\0\0\0\0\0\0\0\0..., 32}], 
1) = 32
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, \212\0\1\0, 4096) = 4
writev(1, [{\1\20\7\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 32}], 
1) = 32
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, \212\1\f\0\36\0\0\0\1\0\0\0xp_ps_spooldir_HOME_..., 4096) = 48
writev(1, [{\1r\10\0\25\0\0\0\1\0\0\0\376*\0\0/[EMAIL PROTECTED]..., 116}], 
1) = 116
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, \1\2\0\0\0 \0+\0\1\0, 4096)  = 12
writev(1, [{\1\0\n\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 32}], 
1) = 32
select(256, [0 1], NULL, NULL, NULL)= 2 (in [0 1])
read(1, , 4096)   = 0
shutdown(1, 2 /* send and receive */)   = 0
close(1)= 0
write(2, AUDIT: Mon Sep  4 13:49:46 2006:..., 67) = 67
accept(0, {sa_family=AF_FILE, path=ient 1 disconnected
}, [59071846317817858]) = 1
fcntl(1, F_GETFL)   = 0x2 (flags O_RDWR)
fcntl(1, F_SETFL, O_RDWR|O_NONBLOCK)= 0
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, l\0\v\0\0\0\0\0\0\0\0\0, 4092) = 12
write(2, AUDIT: Mon Sep  4 13:49:46 2006:..., 80) = 80
writev(1, [{\1\0\v\0\0\0s\0\200\35,\4\0\0 \0\377\377\37\0\0\1\0\0\24..., 
468}], 1) = 468
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, 7\0\6\0\0\0 \0005\0\0\0\f\0\0\0\1\0\0\0\0\0\0\0b\0\5\0..., 4096) = 68
writev(1, [{\1\20\2\0\0\0\0\0\1\203\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 64}], 
1) = 64
select(256, [0 1], NULL, NULL, NULL)= 1 (in [1])
read(1, \203\0\1\0, 4096) = 4
writev(1,