all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Andreas Politz <politza@fh-trier.de>
Cc: 11701@debbugs.gnu.org
Subject: bug#11701: 24.1.50; SIGBUS in libMagickCore when reconverting pdf files in doc-view-mode
Date: Sat, 17 Aug 2019 15:08:10 -0700	[thread overview]
Message-ID: <87pnl3jvhx.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87lijqluyn.fsf@fh-trier.de> (Andreas Politz's message of "Thu, 14 Jun 2012 00:15:28 +0200")

Andreas Politz <politza@fh-trier.de> writes:

> When reverting a doc-view buffer, Emacs crashes receiving a SIGBUS error
> (below is a back-trace).  I am not able to reproduce it without loading
> my init file, but am able to reproduce it on a certain file constantly
> otherwise.
>
> The crash happens after doc-view deletes its cache files in
> `doc-view-reconvert-doc' and starts to convert the PDF pages to PNG
> files (and indirectly calling functions in the magick library).  It
> seems that the deleted file is still mmapped and accessed in the library
> at this point, leading to the error.
>
> A. Politz
>
> Program received signal SIGBUS, Bus error.
> 0x00007ffff44d99af in CopyMagickMemory () from /usr/lib/libMagickCore.so.3
> (gdb) quit\b\b\b\b[K(gdb) bt
> #0  0x00007ffff44d99af in CopyMagickMemory () from /usr/lib/libMagickCore.so.3
> #1  0x00007ffff4419704 in ReadBlob () from /usr/lib/libMagickCore.so.3
> #2  0x00007fffeb10068e in ?? () from /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/png.so

(I'm going through old bug reports that have unfortunately gotten no
responses yet.)

This crash wasn't handled at the time, and as this was reported more
than seven years ago, I don't think there's much chance of making any
progress here, so I'm closing this bug report.  If you're still seeing
similar crashes in modern Emacs versions, please reopen.

(And Emacs 27, by default, isn't built with ImageMagick support, so
these types of crashes are less likely now.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-08-17 22:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13 22:15 bug#11701: 24.1.50; SIGBUS in libMagickCore when reconverting pdf files in doc-view-mode Andreas Politz
2019-08-17 22:08 ` Lars Ingebrigtsen [this message]

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=87pnl3jvhx.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=11701@debbugs.gnu.org \
    --cc=politza@fh-trier.de \
    /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.