Web lists-archives.com

Re: Buster emacs crashes with doc-view-mode




On 2019-05-21, Boyan Penkov <boyan.penkov@xxxxxxxxx> wrote:
> Hello folks,
>
> In EMACS, I often switch between doc-view and pdf-view to read PDFs.
> Occasionally, EMACS crashes with this backtrace:
>
> Backtrace:
> emacs[0x5114ce]
> emacs[0x4f6eda]
> emacs[0x50f9ae]
> emacs[0x50fbc8]
> emacs[0x50fcb9]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fea71fd8730]
> /lib/x86_64-linux-gnu/libc.so.6(+0xa214f)[0x7fea71b5214f]
> /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.6(ReadBlob+0x21e)[0x7fea72fd8fae]
> /usr/lib/x86_64-linux-gnu/ImageMagick-6.9.10/modules-Q16/coders/png.so(+0x4e9e)[0x7fea64b5be9e]
> /usr/lib/x86_64-linux-gnu/libpng16.so.16(+0x1a90f)[0x7fea7544f90f]
> /usr/lib/x86_64-linux-gnu/libpng16.so.16(+0x1a9ea)[0x7fea7544f9ea]
> /usr/lib/x86_64-linux-gnu/libpng16.so.16(+0x1f3b2)[0x7fea754543b2]
> /usr/lib/x86_64-linux-gnu/libpng16.so.16(png_read_row+0x10f)[0x7fea7544681f]
> /usr/lib/x86_64-linux-gnu/ImageMagick-6.9.10/modules-Q16/coders/png.so(+0xccdf)[0x7fea64b63cdf]
> /usr/lib/x86_64-linux-gnu/ImageMagick-6.9.10/modules-Q16/coders/png.so(+0xda9e)[0x7fea64b64a9e]
> /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.6(ReadImage+0x320)[0x7fea7300fc20]
> /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.6(MagickReadImage+0x6a)[0x7fea732f16aa]
> emacs[0x5e3dbd]
> emacs[0x5ecc4e]
> emacs[0x5ed150]
> emacs[0x56dc2c]
> emacs[0x5a5260]
> emacs[0x56dbab]
> emacs[0x5a5260]
> emacs[0x56dbab]
> emacs[0x5a5260]
> emacs[0x56dbab]
> emacs[0x56f92a]
> emacs[0x56dc2c]
> emacs[0x5a5260]
> emacs[0x56dbab]
> emacs[0x56dcea]
> emacs[0x4fd42f]
> emacs[0x4fd7e5]
> emacs[0x4fe2c8]
> emacs[0x500b28]
> emacs[0x5b03a8]
> emacs[0x4244ba]
> emacs[0x50319b]
> emacs[0x504900]
> emacs[0x505fd4]
> ...
>
> [1]  + bus error  emacs
>
> This is intensely annoying, since I usually have ~100 PDFs open.  Any ideas?
>
> Cheers!

Your backtrace looks quite similar to this:

http://codepad.org/juUbz33Q
https://www.reddit.com/r/emacs/comments/9xrjto/emacs_latex_docview_bug_crashes_emacs/

The OP believes his issue is related to the 'doc-view-resolution'
parameter (when reverting from 300 to a setting of 100 the crash doesn't
seem to occur for him).