Debian Bug report logs - #1100748
segfault when using get_text() on arm64

version graph

Package: mupdf; Maintainer for mupdf is Kan-Ru Chen (陳侃如) <[email protected]>; Source for mupdf is src:mupdf (PTS, buildd, popcon).

Reported by: Johannes Schauer Marin Rodrigues <[email protected]>

Date: Tue, 18 Mar 2025 06:09:01 UTC

Severity: serious

Tags: patch

Found in version mupdf/1.25.1+ds1-5

Fixed in version mupdf/1.25.1+ds1-6

Done: Daniel Echeverri <[email protected]>

Forwarded to https://github.com/pymupdf/PyMuPDF/issues/4390

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1100748: Acknowledgement (segfault when using get_text() on arm64)
Reply-To: Daniel Echeverri <[email protected]>, [email protected]
Resent-From: Daniel Echeverri <[email protected]>
Resent-To: [email protected]
Resent-CC: Kan-Ru Chen (陳侃如) <[email protected]>
X-Loop: [email protected]
Resent-Date: Mon, 21 Apr 2025 18:57:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 1100748
X-Debian-PR-Package: mupdf
X-Debian-PR-Keywords: patch
References: <174227795019.2664916.6523697654906605842.reportbug@localhost> <[email protected]> <[email protected]> <174227795019.2664916.6523697654906605842.reportbug@localhost>
X-Debian-PR-Source: mupdf
Received: via spool by [email protected] id=B1100748.1745261571633095
          (code B ref 1100748); Mon, 21 Apr 2025 18:57:01 +0000
Received: (at 1100748) by bugs.debian.org; 21 Apr 2025 18:52:51 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-22.2 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_CONTROL,BODY_INCLUDES_CONTROL_REASSIGN,
	FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,
	FROMDEVELOPER,HAS_BUG_NUMBER,HEADER_FROM_DIFFERENT_DOMAINS,
	HTML_MESSAGE,MULTALT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,
	SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 38; hammy, 150; neutral, 133; spammy,
	0. spammytokens: hammytokens:0.000-+--bookworm, 0.000-+--ramacher,
	0.000-+--Ramacher, 0.000-+--H*Ad:U*bage, 0.000-+--Bookworm
Received: from mail-qv1-f44.google.com ([209.85.219.44]:52408)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1u6wGB-002egr-Cd
	for [email protected]; Mon, 21 Apr 2025 18:52:51 +0000
Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-6e8ffa00555so37777866d6.0
        for <[email protected]>; Mon, 21 Apr 2025 11:52:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1745261569; x=1745866369;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=5b0o7h1c3XnNFtSDwaas3OfPCisjud6dwoppJyx4ow4=;
        b=Zu5WiXOzRIwJoNmYE6m5Q9ioKpolFkMkAlVpBaA3gAut8kJqabpzN7e2PyxA7mRRTa
         ffSE92vKcX0O7Sd2ekcs5ulsUeUmHGp9IlRJCT0gYgVRZYr2nJ2afqqMssMNEruEKi/v
         cNGWA8cxU9nJGbSmeDbtzrMSm8+leWdJhzyoam/jqr5y7bvO7DDuId+8NZsfdUliTcSy
         NDuR7x4WcceBX9Nzj4vYQhlaKLxWDIBnTp0GMjYJhNMwHUFUh7i5LSvjZI6tadB6/nzO
         1W4WIW2VA9ph31iEJs5MPD89rCsDjDYP849cDikFeS3Bzum7EBdrvtzz7YcIGE0aoE5H
         YJTA==
X-Gm-Message-State: AOJu0Ywe5DUxzUZD0IWwnSzianaq6GuMGNkHrQcPfWQ+77eKYGzhw/TE
	CVWTO05lr9wFxJIzDDYllmgyTtM1CfXw/ZAtwGnuvj00Nv3fM78aHtLoSJ1i8zU=
X-Gm-Gg: ASbGncswsC+lXohn1L8xKPLZLd/s+IWu6iLP/Njbh7aRvYaRmSleEmU3i59vf006+bV
	YbsmJO/9YkEB0bbzYLnasL2c3dLznYv4htxWXudh8Dp3deV2A0v0Aj8jYELVyTB5UhR+lISt8ZD
	oAfMlOQF7lCqYeJJvaBcht9ekDEi1CMXXF9qbgzgTwtvikXliGcl2nyXQ6hroBppeHCKDbTh/kh
	H1aekLTjqjuBMM7ZzgWLDI9eMfMfWwZ6XVY6646NeHxVVhzBcGBBTiC2KLr4Gx1qBuw+zoMJBKT
	gDWMubhQ4kx0kmZnC/D/Ppi870i+x7WCW/ou8Uvb7t+de+B0S7WIf+kvbRImId8U+EWltjPNEFq
	0g41N
X-Google-Smtp-Source: AGHT+IGL/jN8TujPULJ6UrbNp5Cguc5LnCTGH3uz1xE8WTGDX8FzKbYH9/Bu/fyzvIP+tvfcBBAibA==
X-Received: by 2002:a05:6214:27c2:b0:6ea:d6e1:f3f8 with SMTP id 6a1803df08f44-6f2c4688753mr214942926d6.45.1745261568859;
        Mon, 21 Apr 2025 11:52:48 -0700 (PDT)
Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com. [209.85.222.176])
        by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6f2c2b0f1d9sm47287896d6.43.2025.04.21.11.52.48
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Mon, 21 Apr 2025 11:52:48 -0700 (PDT)
Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-7c5a88b34a6so402402785a.3
        for <[email protected]>; Mon, 21 Apr 2025 11:52:48 -0700 (PDT)
X-Received: by 2002:a05:620a:4711:b0:7c5:7a1f:4d89 with SMTP id
 af79cd13be357-7c92804d553mr2510909385a.54.1745261568343; Mon, 21 Apr 2025
 11:52:48 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <[email protected]>
From: Daniel Echeverri <[email protected]>
Date: Mon, 21 Apr 2025 13:52:37 -0500
X-Gmail-Original-Message-ID: <CAJi_FcjiXPK43Egx1OJMc_ykuM=GR_5tH0+q=+a8r0HYTGpZcA@mail.gmail.com>
X-Gm-Features: ATxdqUEhJ6OFogu4qTFZQ_u1TR_xuWDHY86h2AZlMu2XpprWQXZfUjJAHR59F7w
Message-ID: <CAJi_FcjiXPK43Egx1OJMc_ykuM=GR_5tH0+q=+a8r0HYTGpZcA@mail.gmail.com>
To: Johannes Schauer Marin Rodrigues <[email protected]>
Cc: [email protected], [email protected], [email protected]
Content-Type: multipart/alternative; boundary="000000000000d2464706334e5f64"
[Message part 1 (text/plain, inline)]
Hello Josch!

El lun, 21 abr 2025 a la(s) 12:15 p.m., Johannes Schauer Marin Rodrigues (
[email protected]) escribió:

> Control: reassign -1 mupdf 1.25.1+ds1-5
> Control: tag -1 + patch
>
> Hello mupdf and pymupdf maintainers,
>
> my package plakativ is not in testing because of an RC bug in pymupdf.
> It turns out that to fix #1100748, src:mupdf has to be changed like
> this:
>
> --- a/debian/rules
> +++ b/debian/rules
> @@ -36,7 +36,7 @@ else
>       CFLAGS += -O2
>   endif
>
> -BUILD_FLAGS = build=debug shared=yes OS=Linux XCFLAGS="$(CFLAGS)"
> XLDFLAGS="$(LDFLAGS)"
> +BUILD_FLAGS = build=debug shared=yes OS=Linux XCFLAGS="$(CFLAGS)"
> XLDFLAGS="$(LDFLAGS)" XCXXFLAGS="-DNDEBUG"
>   BUILD_FLAGS += LINUX_OR_OPENBSD=yes
>   # Force using system library
>   BUILD_FLAGS += USE_SYSTEM_MUJS=yes
>
> For details, please see the comments of Julian Smith:
> https://github.com/pymupdf/PyMuPDF/issues/4390
>
> mupdf maintainers: could you take care of uploading a new version of
> src:mupdf with above change? If you don't have time, I can offer to NMU
> src:mupdf for you.
>
> As far as my testing goes, pymupdf seems to work fine even without being
> rebuilt. I wonder if we should schedule a binNMU after the src:mupdf
> fix. Bastian, what do you think?
>
> I brought up this topic in #debian-release today and Sebastian Ramacher
> said that since pymupdf is in Bookworm, this would be eligible for an
> exception. Bastian, do you want to file the pre-approval bug or would
> you like me to take care of it?
>
> Thanks!
>
> cheers, josch
>
> P.S.: currently on vacation and hence sending without PGP signature,
> sorry
>

Thanks for your report and the patch!  I will work on it tonight.

Regards!

-- 
Daniel Echeverri
Debian Developer
Linux user: #477840
GPG Fingerprint:
D0D0 85B1 69C3 BFD9 4048 58FA 21FC 2950 4B52 30DB
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 01:13:39 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.