all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Gregory Heytings <gregory@heytings.org>
Cc: Eli Zaretskii <eliz@gnu.org>,
	yantar92@posteo.net, 60308@debbugs.gnu.org, bugs@gnu.support
Subject: bug#60308: 30.0.50; Can't read some PDF files any more
Date: Fri, 06 Jan 2023 11:32:24 +0100	[thread overview]
Message-ID: <87pmbsnebr.fsf@rub.de> (raw)
In-Reply-To: <371ba1d0be4c8e014733@heytings.org> (Gregory Heytings's message of "Fri, 06 Jan 2023 10:10:03 +0000")

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

On Fri, 06 Jan 2023 10:10:03 +0000 Gregory Heytings <gregory@heytings.org> wrote:

>>
>> I see the problem in Emacs 29 and master, but not in Emacs 28, on the same
>> system, i.e. with the same image libraries.  When the bad display appears,
>> the following entry appears in *Messages*:
>>
>> Error parsing SVG image: XML parse error: Error domain 1 code 68 on line
>> 7393 column 18 of data: StartTag: invalid element name
>>
>> This seems to comes from svg_load_image in image.c.  I started Emacs 29 with
>> -Q in gdb after setting a breakpoint at svg_load_image, opened the PDF file,
>> hit the breakpoint and stepped through till the bad display appeared.  The
>> ouput of bt full is attached.  (I also ran Emacs 28 under gdb with the same
>> breakpoint, and there visiting the PDF file does not hit the breakpoint.)
>>
>
> Thanks.  Can you please also share the "/tmp/docview1000/FR
> 205.pdf-7039e6f9886aceec549c36d51591d258/page-1.svg" file?

Attached (gzipped).  In the mean time I found the problem: that file
contains occurrences of "<" and that causes the error; after replacing
them with "&lt;" the PDF is displayed correctly.

On Fri, 06 Jan 2023 10:22:02 +0000 Gregory Heytings <gregory@heytings.org> wrote:

>
> And also the output of "mutool -v" (IOW, the version of mupdf that is
> installed on your computer)?

mutool version 1.21.0

Steve Berman


[-- Attachment #2: page-1.svg.gz --]
[-- Type: application/octet-stream, Size: 210679 bytes --]

  parent reply	other threads:[~2023-01-06 10:32 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-24 21:39 bug#60308: 30.0.50; Can't read some PDF files any more Jean Louis
2023-01-05 16:50 ` Jean Louis
2023-01-05 17:12   ` Ihor Radchenko
2023-01-05 18:31     ` Eli Zaretskii
2023-01-05 20:58       ` Gregory Heytings
2023-01-06  6:40         ` Eli Zaretskii
2023-01-06  9:58           ` Stephen Berman
2023-01-06 10:10             ` Gregory Heytings
2023-01-06 10:22               ` Gregory Heytings
2023-01-06 12:51                 ` Jean Louis
2023-01-06 10:32               ` Stephen Berman [this message]
2023-01-06 11:12                 ` Gregory Heytings
2023-01-06 11:44                   ` Stephen Berman
2023-01-06 12:04                     ` Eli Zaretskii
2023-01-06 12:22                     ` Gregory Heytings
2023-01-06 12:55                       ` Eli Zaretskii
2023-01-06 20:38                         ` Stephen Berman
2023-01-07 15:48                           ` Manuel Giraud
2023-01-07 18:25                             ` Gregory Heytings
2023-01-07 18:35                               ` Eli Zaretskii
2023-01-07 18:45                                 ` Gregory Heytings
2023-01-07 18:37                               ` Manuel Giraud
2023-01-07 18:59                                 ` Gregory Heytings
2023-01-07 20:07                                   ` Eli Zaretskii
2023-01-07 20:58                                     ` Manuel Giraud
2023-01-07 22:19                                     ` Gregory Heytings
2023-01-08 12:57                                       ` Manuel Giraud
2023-01-10 10:59                                         ` Gregory Heytings
2023-01-11 10:35                                           ` Manuel Giraud
2023-01-11 16:26                                             ` Gregory Heytings
2023-01-11 17:03                                               ` Eli Zaretskii
2023-01-11 19:33                                                 ` Gregory Heytings
2023-01-14  8:53                                                   ` Eli Zaretskii
2023-01-07 20:53                                   ` Manuel Giraud
2023-01-06 12:48           ` Jean Louis
2023-01-05 23:54 ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmbsnebr.fsf@rub.de \
    --to=stephen.berman@gmx.net \
    --cc=60308@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=eliz@gnu.org \
    --cc=gregory@heytings.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.