Devuan bug report logs - #637
xpdf crashes the window manager

Package: xpdf; Reported by: David Haworth <dh@thelancashireman.org>; Keywords: debian invalid; Done: Mark Hindley <mark@hindley.org.uk>; Maintainer for xpdf is (unknown).

Message received at 637-done@bugs.devuan.org:


Received: (at 637-done) by bugs.devuan.org; 30 Nov 2021 16:16:36 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 30 Nov 2021 16:16:36 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 40D29F609FF;
	Tue, 30 Nov 2021 17:16:26 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1ms5ns-0004kj-MC; Tue, 30 Nov 2021 16:16:24 +0000
Received: (nullmailer pid 7185 invoked by uid 1000);
	Tue, 30 Nov 2021 16:16:23 -0000
Date: Tue, 30 Nov 2021 16:16:23 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 637@bugs.devuan.org, 637-done@bugs.devuan.org
Subject: Re: bug#637: xpdf crashes the window manager
Message-ID: <YaZOV6DgT2VyjI3K@hindley.org.uk>
References: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <YaSte/uClXVafFET@hindley.org.uk>
 <y2abl2230p8.fsf@offog.org>
 <YaZEqbtoLN2RBjIJ@thelancashireman.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YaZEqbtoLN2RBjIJ@thelancashireman.org>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 invalid

David,

On Tue, Nov 30, 2021 at 04:35:05PM +0100, David Haworth wrote:
> Hi Adam,
> 
> You're right - it is indeed the X server that crashes.
> 
> I've only noticed the problem recently, but that doesn't necessarily mean
> that it's a new problem.
> 
> Changing the font as you suggested doesn't have any effect, so I
> don't think it's the font rendering. The backtrace from Xorg.0.log
> shows
> 
> [ 10759.847] (EE) Backtrace:
> [ 10759.860] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x135) [0x55662f3b7e05]
> [ 10759.861] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fe2d501b8e0]
> [ 10759.861] (EE) 2: ? (?+0x0) [0x7fe2c169003a]
> [ 10759.861] (EE)
> [ 10759.861] (EE) Segmentation fault at address 0x7fe2c28be000
> 
> I guess I'd better re-report the bug. This report can be closed.

Closing as requested.

Thanks.

Mark

Message received at 637-done@bugs.devuan.org:


Received: (at 637-done) by bugs.devuan.org; 30 Nov 2021 16:16:35 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 30 Nov 2021 16:16:35 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 40D29F609FF;
	Tue, 30 Nov 2021 17:16:26 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1ms5ns-0004kj-MC; Tue, 30 Nov 2021 16:16:24 +0000
Received: (nullmailer pid 7185 invoked by uid 1000);
	Tue, 30 Nov 2021 16:16:23 -0000
Date: Tue, 30 Nov 2021 16:16:23 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 637@bugs.devuan.org, 637-done@bugs.devuan.org
Subject: Re: bug#637: xpdf crashes the window manager
Message-ID: <YaZOV6DgT2VyjI3K@hindley.org.uk>
References: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <YaSte/uClXVafFET@hindley.org.uk>
 <y2abl2230p8.fsf@offog.org>
 <YaZEqbtoLN2RBjIJ@thelancashireman.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YaZEqbtoLN2RBjIJ@thelancashireman.org>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 invalid

David,

On Tue, Nov 30, 2021 at 04:35:05PM +0100, David Haworth wrote:
> Hi Adam,
> 
> You're right - it is indeed the X server that crashes.
> 
> I've only noticed the problem recently, but that doesn't necessarily mean
> that it's a new problem.
> 
> Changing the font as you suggested doesn't have any effect, so I
> don't think it's the font rendering. The backtrace from Xorg.0.log
> shows
> 
> [ 10759.847] (EE) Backtrace:
> [ 10759.860] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x135) [0x55662f3b7e05]
> [ 10759.861] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fe2d501b8e0]
> [ 10759.861] (EE) 2: ? (?+0x0) [0x7fe2c169003a]
> [ 10759.861] (EE)
> [ 10759.861] (EE) Segmentation fault at address 0x7fe2c28be000
> 
> I guess I'd better re-report the bug. This report can be closed.

Closing as requested.

Thanks.

Mark

Notification sent to David Haworth <dh@thelancashireman.org>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. Full text available.

Message received at 637@bugs.devuan.org:


Received: (at 637) by bugs.devuan.org; 30 Nov 2021 16:16:36 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 30 Nov 2021 16:16:36 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 40D29F609FF;
	Tue, 30 Nov 2021 17:16:26 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1ms5ns-0004kj-MC; Tue, 30 Nov 2021 16:16:24 +0000
Received: (nullmailer pid 7185 invoked by uid 1000);
	Tue, 30 Nov 2021 16:16:23 -0000
Date: Tue, 30 Nov 2021 16:16:23 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 637@bugs.devuan.org, 637-done@bugs.devuan.org
Subject: Re: bug#637: xpdf crashes the window manager
Message-ID: <YaZOV6DgT2VyjI3K@hindley.org.uk>
References: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <YaSte/uClXVafFET@hindley.org.uk>
 <y2abl2230p8.fsf@offog.org>
 <YaZEqbtoLN2RBjIJ@thelancashireman.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YaZEqbtoLN2RBjIJ@thelancashireman.org>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 invalid

David,

On Tue, Nov 30, 2021 at 04:35:05PM +0100, David Haworth wrote:
> Hi Adam,
> 
> You're right - it is indeed the X server that crashes.
> 
> I've only noticed the problem recently, but that doesn't necessarily mean
> that it's a new problem.
> 
> Changing the font as you suggested doesn't have any effect, so I
> don't think it's the font rendering. The backtrace from Xorg.0.log
> shows
> 
> [ 10759.847] (EE) Backtrace:
> [ 10759.860] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x135) [0x55662f3b7e05]
> [ 10759.861] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fe2d501b8e0]
> [ 10759.861] (EE) 2: ? (?+0x0) [0x7fe2c169003a]
> [ 10759.861] (EE)
> [ 10759.861] (EE) Segmentation fault at address 0x7fe2c28be000
> 
> I guess I'd better re-report the bug. This report can be closed.

Closing as requested.

Thanks.

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#637; Package xpdf. Full text available.
Added tag(s) invalid. Request was from Mark Hindley <mark@hindley.org.uk> to 637-submit@bugs.devuan.org. Full text available.

Message received at 637@bugs.devuan.org:


Received: (at 637) by bugs.devuan.org; 30 Nov 2021 16:16:35 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 30 Nov 2021 16:16:35 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 40D29F609FF;
	Tue, 30 Nov 2021 17:16:26 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1ms5ns-0004kj-MC; Tue, 30 Nov 2021 16:16:24 +0000
Received: (nullmailer pid 7185 invoked by uid 1000);
	Tue, 30 Nov 2021 16:16:23 -0000
Date: Tue, 30 Nov 2021 16:16:23 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 637@bugs.devuan.org, 637-done@bugs.devuan.org
Subject: Re: bug#637: xpdf crashes the window manager
Message-ID: <YaZOV6DgT2VyjI3K@hindley.org.uk>
References: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <YaSte/uClXVafFET@hindley.org.uk>
 <y2abl2230p8.fsf@offog.org>
 <YaZEqbtoLN2RBjIJ@thelancashireman.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YaZEqbtoLN2RBjIJ@thelancashireman.org>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 invalid

David,

On Tue, Nov 30, 2021 at 04:35:05PM +0100, David Haworth wrote:
> Hi Adam,
> 
> You're right - it is indeed the X server that crashes.
> 
> I've only noticed the problem recently, but that doesn't necessarily mean
> that it's a new problem.
> 
> Changing the font as you suggested doesn't have any effect, so I
> don't think it's the font rendering. The backtrace from Xorg.0.log
> shows
> 
> [ 10759.847] (EE) Backtrace:
> [ 10759.860] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x135) [0x55662f3b7e05]
> [ 10759.861] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fe2d501b8e0]
> [ 10759.861] (EE) 2: ? (?+0x0) [0x7fe2c169003a]
> [ 10759.861] (EE)
> [ 10759.861] (EE) Segmentation fault at address 0x7fe2c28be000
> 
> I guess I'd better re-report the bug. This report can be closed.

Closing as requested.

Thanks.

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#637; Package xpdf. Full text available.

Message received at 637@bugs.devuan.org:


Received: (at 637) by bugs.devuan.org; 30 Nov 2021 15:48:14 +0000
Return-Path: <dh@thelancashireman.org>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 30 Nov 2021 15:48:14 +0000 (UTC)
Received: from mail2.runhosting.com (mail2.runhosting.com [185.176.40.12])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 3BD77F609DB
	for <637@bugs.devuan.org>; Tue, 30 Nov 2021 16:35:20 +0100 (CET)
Received: from mail2.runhosting.com (out2.runhosting.com [185.176.40.21])
	by mail2.runhosting.com (Postfix) with ESMTP id 158EE2C8A03A7;
	Tue, 30 Nov 2021 15:35:18 +0000 (UTC)
Received: from thelancashireman.org (p2e551a3c.dip0.t-ipconnect.de [46.85.26.60])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail2.runhosting.com (Postfix) with ESMTPSA id BCECC2C89EBFC;
	Tue, 30 Nov 2021 15:35:07 +0000 (UTC)
Date: Tue, 30 Nov 2021 16:35:05 +0100
From: David Haworth <dh@thelancashireman.org>
To: Adam Sampson <ats@offog.org>
Cc: Mark Hindley <mark@hindley.org.uk>,
	David Haworth <dh@thelancashireman.org>, 637@bugs.devuan.org,
	devuan developers internal list <devuan-dev@lists.dyne.org>
Subject: Re: [devuan-dev] bug#637: xpdf crashes the window manager
Message-ID: <YaZEqbtoLN2RBjIJ@thelancashireman.org>
References: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
 <YaSte/uClXVafFET@hindley.org.uk>
 <y2abl2230p8.fsf@offog.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <y2abl2230p8.fsf@offog.org>
X-Virus-Scanned: ClamAV using ClamSMTP (out2.defender.mail(185.176.40.21), client: 185.176.40.12)
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Hi Adam,

You're right - it is indeed the X server that crashes.

I've only noticed the problem recently, but that doesn't necessarily mean
that it's a new problem.

Changing the font as you suggested doesn't have any effect, so I
don't think it's the font rendering. The backtrace from Xorg.0.log
shows

[ 10759.847] (EE) Backtrace:
[ 10759.860] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x135) [0x55662f3b7e05]
[ 10759.861] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fe2d501b8e0]
[ 10759.861] (EE) 2: ? (?+0x0) [0x7fe2c169003a]
[ 10759.861] (EE)
[ 10759.861] (EE) Segmentation fault at address 0x7fe2c28be000

I guess I'd better re-report the bug. This report can be closed.

Thanks for the tip about changing the fonts, though. The new default
fonts are too large for my liking so I'll play around and find a suitable
smaller typeface. The fixed fonts are missing some characters.

All the best,
Dave


On 2021-11-30 01:13:23 +0000, Adam Sampson wrote:
> Mark Hindley <mark@hindley.org.uk> writes:
> 
> > Thanks. Notwithstanding this, you should report this issue directly to
> > Debian. Devuan uses Debian's xpdf packages directly without
> > recompilation.
> 
> (I'm the maintainer of xpopple, which is the upstream source for
> Debian's xpdf these days.)
> 
> The problem reported here is not that xpdf crashes, it's that the window
> manager crashes. That shouldn't happen regardless of what client
> programs do, so this isn't a fault in xpdf itself.
> 
> Are you certain that it's the window manager crashing, and not the X
> server? The latter seems more likely -- when you're scrolling the table
> of contents, it's not changing any properties of the window (which would
> cause the WM to do something), but it is doing lots of X drawing
> operations to scroll the list and render new text. It'd be worth having
> a look at the X server log after a crash (/var/log/Xorg.0.log.old).
> 
> If it's only just started doing this, one change we've made recently in
> xpdf is to enable Xft font support by default. You could try setting the
> following X resource (with xrdb):
> 
> Xpdf*font: fixed
> 
> This should make it use a bitmap font for the interface instead, which
> will be rendered using X's core font support rather than alpha
> blending. If that fixes it, then it could be a problem with your
> graphics driver's implementation of the RENDER extension.
> 
> Thanks,
> 
> -- 
> Adam Sampson <ats@offog.org>                         <http://offog.org/>

Acknowledgement sent to David Haworth <dh@thelancashireman.org>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#637; Package xpdf. Full text available.

Message received at 637@bugs.devuan.org:


Received: (at 637) by bugs.devuan.org; 30 Nov 2021 01:15:05 +0000
Return-Path: <ats@offog.org>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 30 Nov 2021 01:15:05 +0000 (UTC)
Received: from b-painless.mh.aa.net.uk (b-painless.mh.aa.net.uk [81.187.30.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id BB75BF60848
	for <637@bugs.devuan.org>; Tue, 30 Nov 2021 02:13:33 +0100 (CET)
Received: from cartman.offog.org ([2001:8b0:83b:b53f::a])
	by painless-b.tch.aa.net.uk with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.94.2)
	(envelope-from <ats@offog.org>)
	id 1mrri9-006ibC-6S; Tue, 30 Nov 2021 01:13:33 +0000
Received: from ats by cartman.offog.org with local (Exim 4.95)
	(envelope-from <ats@offog.org>)
	id 1mrrhz-0001q2-OM;
	Tue, 30 Nov 2021 01:13:23 +0000
From: Adam Sampson <ats@offog.org>
To: Mark Hindley <mark@hindley.org.uk>
Cc: David Haworth <dh@thelancashireman.org>,  637@bugs.devuan.org,  devuan
 developers internal list <devuan-dev@lists.dyne.org>
Subject: Re: [devuan-dev] bug#637: xpdf crashes the window manager
References: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
	<163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
	<YaSte/uClXVafFET@hindley.org.uk>
Date: Tue, 30 Nov 2021 01:13:23 +0000
In-Reply-To: <YaSte/uClXVafFET@hindley.org.uk> (Mark Hindley's message of
	"Mon, 29 Nov 2021 10:37:47 +0000")
Message-ID: <y2abl2230p8.fsf@offog.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Mark Hindley <mark@hindley.org.uk> writes:

> Thanks. Notwithstanding this, you should report this issue directly to
> Debian. Devuan uses Debian's xpdf packages directly without
> recompilation.

(I'm the maintainer of xpopple, which is the upstream source for
Debian's xpdf these days.)

The problem reported here is not that xpdf crashes, it's that the window
manager crashes. That shouldn't happen regardless of what client
programs do, so this isn't a fault in xpdf itself.

Are you certain that it's the window manager crashing, and not the X
server? The latter seems more likely -- when you're scrolling the table
of contents, it's not changing any properties of the window (which would
cause the WM to do something), but it is doing lots of X drawing
operations to scroll the list and render new text. It'd be worth having
a look at the X server log after a crash (/var/log/Xorg.0.log.old).

If it's only just started doing this, one change we've made recently in
xpdf is to enable Xft font support by default. You could try setting the
following X resource (with xrdb):

Xpdf*font: fixed

This should make it use a bitmap font for the interface instead, which
will be rendered using X's core font support rather than alpha
blending. If that fixes it, then it could be a problem with your
graphics driver's implementation of the RENDER extension.

Thanks,

-- 
Adam Sampson <ats@offog.org>                         <http://offog.org/>

Acknowledgement sent to Adam Sampson <ats@offog.org>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#637; Package xpdf. Full text available.
Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 637-submit@bugs.devuan.org. Full text available.

Message received at 637@bugs.devuan.org:


Received: (at 637) by bugs.devuan.org; 29 Nov 2021 10:39:09 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 29 Nov 2021 10:39:09 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id A1DF4F60A39
	for <637@bugs.devuan.org>; Mon, 29 Nov 2021 11:37:50 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1mre2e-0004DN-ML; Mon, 29 Nov 2021 10:37:48 +0000
Received: (nullmailer pid 15859 invoked by uid 1000);
	Mon, 29 Nov 2021 10:37:48 -0000
Date: Mon, 29 Nov 2021 10:37:47 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: David Haworth <dh@thelancashireman.org>, 637@bugs.devuan.org
Subject: Re: bug#637: xpdf crashes the window manager
Message-ID: <YaSte/uClXVafFET@hindley.org.uk>
References: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian

David,

On Sun, Nov 28, 2021 at 08:23:55AM +0100, David Haworth wrote:
> Package: xpdf
> Version: 3.04+git20211021-1
> Severity: normal
> 
> Dear Maintainer,
> 
> xpdf crashes the window manager when trying to scroll the table of contents
> in the left-hand pane. The crash happens both when dragging the slider
> and when using the scroll wheel of the mouse.
> 
> The crash happens with both of my window managers: blackbox and xfce.
> 
> The crash seems to be related to the content of the PDF file, or
> maybe the size. The RP2040 reference manual is the file where I
> discovered the problem, but there may be others:
> 
> https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf
> 
> I've tried to reproduce the problem on my company laptop running
> debian unstable, also with both xfce and blackbox, but the crash
> doesn't happen there.

Thanks. Notwithstanding this, you should report this issue directly to
Debian. Devuan uses Debian's xpdf packages directly without recompilation.

A quick look at Debian's BTS shows both #996903 and #996832 which might be
similar.

I suggest you try to get a gdb trace and see if either of those bugs are related
and add you contribution there.

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#637; Package xpdf. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 28 Nov 2021 07:25:39 +0000
Return-Path: <dh@thelancashireman.org>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 28 Nov 2021 07:25:39 +0000 (UTC)
Received: from mail2.runhosting.com (mail2.runhosting.com [185.176.40.12])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 964DCF609CF
	for <submit@bugs.devuan.org>; Sun, 28 Nov 2021 08:24:11 +0100 (CET)
Received: from mail2.runhosting.com (out2.runhosting.com [185.176.40.21])
	by mail2.runhosting.com (Postfix) with ESMTP id C0BCB281F18D8;
	Sun, 28 Nov 2021 07:24:09 +0000 (UTC)
Received: from fionn.haworth.lan (p4fff2b6c.dip0.t-ipconnect.de [79.255.43.108])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail2.runhosting.com (Postfix) with ESMTPSA id A17BE281F0BE8;
	Sun, 28 Nov 2021 07:24:06 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: David Haworth <dh@thelancashireman.org>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: xpdf crashes the window manager
Message-ID: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
Date: Sun, 28 Nov 2021 08:23:55 +0100
X-Virus-Scanned: ClamAV using ClamSMTP (out2.defender.mail(185.176.40.21), client: 185.176.40.12)
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: xpdf
Version: 3.04+git20211021-1
Severity: normal

Dear Maintainer,

xpdf crashes the window manager when trying to scroll the table of contents
in the left-hand pane. The crash happens both when dragging the slider
and when using the scroll wheel of the mouse.

The crash happens with both of my window managers: blackbox and xfce.

The crash seems to be related to the content of the PDF file, or
maybe the size. The RP2040 reference manual is the file where I
discovered the problem, but there may be others:

https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf

I've tried to reproduce the problem on my company laptop running
debian unstable, also with both xfce and blackbox, but the crash
doesn't happen there.

All the best,
Dave


-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus/ceres)
Release:	5
Codename:	daedalus ceres
Architecture: x86_64

Kernel: Linux 5.14.0-4-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages xpdf depends on:
ii  libc6          2.32-4
ii  libgcc-s1      11.2.0-12
ii  libpaper1      1.1.28+b1
ii  libpoppler102  20.09.0-3.1
ii  libstdc++6     11.2.0-12
ii  libx11-6       2:1.7.2-2+b1
ii  libxm4         2.3.8-3
ii  libxt6         1:1.2.0-1

Versions of packages xpdf recommends:
ii  cups-bsd        2.3.3op2-7
ii  gsfonts-x11     0.28
ii  poppler-data    0.4.11-1
ii  poppler-utils   20.09.0-3.1
ii  sensible-utils  0.0.17

xpdf suggests no packages.

-- no debconf information

Acknowledgement sent to David Haworth <dh@thelancashireman.org>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#637; Package xpdf. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu, 19 May 2022 10:39:02 UTC