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

version graph

Package: xpdf; Maintainer for xpdf is (unknown); Source for xpdf is src:xpdf.

Reported by: David Haworth <dh@thelancashireman.org>

Date: Sun, 28 Nov 2021 07:26:01 UTC

Severity: normal

Tags: debian, invalid

Found in version 3.04+git20211021-1

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

Full log


Message #15 received at 637@bugs.devuan.org (full text, mbox, reply):

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/>

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat May 4 13:31:39 2024;