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


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#637: [devuan-dev] bug#637: xpdf crashes the window manager
Reply-To: David Haworth <dh@thelancashireman.org>, 637@bugs.devuan.org
Resent-From: David Haworth <dh@thelancashireman.org>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Tue, 30 Nov 2021 15:50:02 +0000
Resent-Message-ID: <handler.637.B637.163828729431644@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 637
X-Devuan-PR-Package: xpdf
X-Devuan-PR-Keywords: debian
References: <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan> <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan> <YaSte/uClXVafFET@hindley.org.uk> <y2abl2230p8.fsf@offog.org> <163808423533.18485.5663603741949018400.reportbug@fionn.haworth.lan>
Received: via spool by 637-submit@bugs.devuan.org id=B637.163828729431644
          (code B ref 637); Tue, 30 Nov 2021 15:50:02 +0000
Received: (at 637) by bugs.devuan.org; 30 Nov 2021 15:48:14 +0000
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>
Message-ID: <YaZEqbtoLN2RBjIJ@thelancashireman.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/>

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 08:52:06 2024;