I am using 'latex-preview-pane-mode'. It renders PDF preview of the document. It works first time. When I do any change to the document and try to save it, it crashes. On console I see the following:
$ gdb emacs 15:29:25 GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from emacs...(no debugging symbols found)...done. (gdb) r Starting program: /usr/bin/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe531d700 (LWP 20156)] [New Thread 0x7fffe46ab700 (LWP 20157)] [New Thread 0x7fffe3c5a700 (LWP 20158)] [New Thread 0x7fffe2b63700 (LWP 20481)] [New Thread 0x7fffe2362700 (LWP 20482)] [New Thread 0x7fffe1b61700 (LWP 20483)] [New Thread 0x7fffe1360700 (LWP 20484)] [New Thread 0x7fffe0b5f700 (LWP 20485)] [New Thread 0x7fffe035e700 (LWP 20486)] [New Thread 0x7fffdfb5d700 (LWP 20487)]
Thread 1 "emacs" received signal SIGBUS, Bus error. __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:306 306 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory. (gdb) bt full #0 0x00007ffff0defb64 in __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:306 #1 0x00007ffff36028ac in ReadBlob () at /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.3 #2 0x00007fffe2b6843e in () at /usr/lib/x86_64-linux-gnu/ImageMagick-6.9.7/modules-Q16/coders/png.so #3 0x00007ffff76dbb6f in () at /usr/lib/x86_64-linux-gnu/libpng16.so.16 #4 0x00007ffff76dbc5f in () at /usr/lib/x86_64-linux-gnu/libpng16.so.16 #5 0x00007ffff76e0322 in () at /usr/lib/x86_64-linux-gnu/libpng16.so.16 #6 0x00007ffff76d2ae3 in png_read_row () at /usr/lib/x86_64-linux-gnu/libpng16.so.16 #7 0x00007fffe2b7a887 in () at /usr/lib/x86_64-linux-gnu/ImageMagick-6.9.7/modules-Q16/coders/png.so #8 0x00007fffe2b7b4d6 in () at /usr/lib/x86_64-linux-gnu/ImageMagick-6.9.7/modules-Q16/coders/png.so #9 0x00007ffff363a9df in ReadImage () at /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.3 #10 0x00007ffff3b0f46a in MagickReadImage () at /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.3 #11 0x00000000005d20d5 in () #12 0x00000000005da68d in () #13 0x000000000043bc3b in () #14 0x000000000043c80a in () #15 0x000000000043ca56 in () #16 0x000000000043fafa in () #17 0x000000000043fd50 in () #18 0x000000000044ec97 in () #19 0x00000000004514b5 in () #20 0x000000000046448d in () #21 0x000000000046786b in () #22 0x000000000056307e in () #23 0x0000000000432715 in () #24 0x0000000000454bf9 in () #25 0x0000000000456a7a in () #26 0x00000000005a3cf5 in () #27 0x00000000004230f0 in () #28 0x00000000004fcad4 in () #29 0x00000000004fd900 in () #30 0x00000000004ff384 in () #31 0x0000000000562ff2 in () #32 0x00000000004f0ef4 in () #33 0x0000000000562f71 in () #34 0x00000000004f0e8b in () #35 0x00000000004f5777 in () #36 0x00000000004f5a9a in () #37 0x0000000000418de0 in () #38 0x00007ffff0c82b97 in __libc_start_main (main= 0x418210, argc=1, argv=0x7fffffffdf58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf48) at ../csu/libc-start.c:310 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -4467382301069445029, 4298896, 140737488346960---Type <return> to continue, or q <return> to quit--- , 0, 0, 4467381945109805147, 4467371107155802203}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffff7de5733 <_dl_init+259>, 0x7ffff7dd0cd8}, data = {prev = 0x0, cleanup = 0x0, canceltype = -136423629}}} not_first_call = <optimized out> #39 0x00000000004198ba in () (gdb) xbacktrace Undefined command: "xbacktrace". Try "help".
It looks ImageMagick problem. Howevr if it crashes or otherwise misbehaves it should not bring down my whole emacs process.
In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian built on lgw01-amd64-050 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.4 LTS
Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect: savehist-mode: t show-paren-mode: t delete-selection-mode: t helm--remap-mouse-mode: t global-magit-file-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t
Recent messages: Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading server...done Checking /home/lord/lisp/zoom-frm... [4 times] Done (Total of 0 files compiled, 3 skipped) Turning on magit-auto-revert-mode...done For information about GNU Emacs and the GNU system, type C-h C-a.