unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: William Lederer <wgl@ciexinc.com>
Cc: 19053@debbugs.gnu.org
Subject: bug#19053: 25.0.50; docview fails on 24.4 and 25.0
Date: Sun, 16 Nov 2014 09:32:24 +0100	[thread overview]
Message-ID: <87r3x35yw7.fsf@thinkpad-t440p.tsdh.org> (raw)
In-Reply-To: <C006FDB5-A7FE-4263-8AB7-C168BF90AE21@ciexinc.com> (William Lederer's message of "Fri, 14 Nov 2014 09:38:13 -0600")

William Lederer <wgl@ciexinc.com> writes:

Hi William,

> Opening up a PDF file results in the message
>
> DocView: process pdf/ps->png changed status to trace/BPT trap: 5.
>
> and no view of the file.
>
> This seemed to begin happening with emacs 24.4.
>
> This also happens if configured without the "--with-ns" and running
> under xquartz.

I don't have a Mac to test but searching the web a bit seems to suggest
that you get a BPT trap signal on OSX when some dynamic library cannot
be loaded.  Maybe some image library (libpng, ImageMagic) you linked
emacs with isn't available anymore?  But then, it would be strange that
you get the signal during the conversion process...

Other search results seem to indicate that this signal might also be
caused by some brokenness in PATH.  Could you please eval this?

  (or (executable-find doc-view-pdfdraw-program)
      (executable-find doc-view-ghostscript-program)) ; <-- C-x C-e here

This should return the program used for converting ps/pdf files to png
images, e.g., here it returns "/usr/bin/mupdf".

And can you please check if the program returned by the expression above
can be called without BPT trap signal from the command line and from
inside emacs using `M-x shell-command RET /usr/bin/mupdf RET'?

Bye,
Tassilo





  reply	other threads:[~2014-11-16  8:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14 15:38 bug#19053: 25.0.50; docview fails on 24.4 and 25.0 William Lederer
2014-11-16  8:32 ` Tassilo Horn [this message]
2015-12-26 16:27   ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87r3x35yw7.fsf@thinkpad-t440p.tsdh.org \
    --to=tsdh@gnu.org \
    --cc=19053@debbugs.gnu.org \
    --cc=wgl@ciexinc.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).