GNU bug report logs - #38723
27.0.50; macosx: [bootstrap-emacs.pdmp] Segmentation fault with ImageMagick

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Mon, 23 Dec 2019 15:56:02 UTC

Severity: normal

Found in version 27.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38723 in the body.
You can then email your comments to 38723 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#38723; Package emacs. (Mon, 23 Dec 2019 15:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to sds <at> gnu.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 23 Dec 2019 15:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; macosx: [bootstrap-emacs.pdmp] Segmentation fault with
 ImageMagick
Date: Mon, 23 Dec 2019 10:54:53 -0500
$ git --no-pager rev-parse HEAD
f8e83d73a259e1809020d47e920a96a1f5803f7a

(works without ImageMagick)

--8<---------------cut here---------------start------------->8---
(lldb) run --batch  -l loadup --temacs=pbootstrap
Process 60246 launched: '/Users/sam.steingold/src/emacs/trunk/build/src/temacs' (x86_64)
Loading loadup.el (source)...
dump mode: pbootstrap
Using load-path (/Users/sam.steingold/src/emacs/trunk/build/../lisp /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp /Users/sam.steingold/src/emacs/trunk/lisp/progmodes /Users/sam.steingold/src/emacs/trunk/lisp/language /Users/sam.steingold/src/emacs/trunk/lisp/international /Users/sam.steingold/src/emacs/trunk/lisp/textmodes /Users/sam.steingold/src/emacs/trunk/lisp/vc)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading international/mule (source)...
Loading international/mule-conf (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading window (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/files.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/macroexp.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/pcase.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/macroexp.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/cus-face.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/faces.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/button.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/ldefs-boot.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/nadvice.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/cl-preloaded.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/obarray.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/abbrev.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/simple.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/help.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/jka-cmpr-hook.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/epa-hook.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/international/mule-cmds.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/case-table.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/international/charprop.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/international/characters.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/international/charscript.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/composite.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/chinese.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/cyrillic.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/indian.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/sinhala.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/english.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/ethiopic.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/european.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/czech.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/slovak.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/romanian.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/greek.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/hebrew.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/international/cp51932.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/international/eucjp-ms.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/japanese.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/korean.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/lao.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/tai-viet.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/thai.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/tibetan.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/vietnamese.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/misc-lang.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/utf-8-lang.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/georgian.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/khmer.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/burmese.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/language/cham.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/indent.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/cl-generic.el (source)...
Eager macro-expansion failure: (error "Variable binding depth exceeds max-specpdl-size")
Loading /Users/sam.steingold/src/emacs/trunk/lisp/minibuffer.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/frame.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/startup.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/term/tty-colors.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/font-core.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/facemenu.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/syntax.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/font-lock.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/jit-lock.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/mouse.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/scroll-bar.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/select.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/timer.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/isearch.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/rfn-eshadow.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/menu-bar.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/tab-bar.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/lisp.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/textmodes/page.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/register.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/textmodes/paragraphs.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/progmodes/prog-mode.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/lisp-mode.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/progmodes/elisp-mode.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/textmodes/text-mode.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/textmodes/fill.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/newcomment.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/replace.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/tabulated-list.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/buff-menu.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/fringe.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/emacs-lisp/regexp-opt.el (source)...
Loading /Users/sam.steingold/src/emacs/trunk/lisp/image.el (source)...
Process 60246 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
    frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
libomp.dylib`__kmp_set_indirect_lock:
->  0x100eebddc <+14>: movl   0x8(%rax), %edx
    0x100eebddf <+17>: movq   (%rcx,%rdx,8), %rcx
    0x100eebde3 <+21>: movq   (%rax), %rdi
    0x100eebde6 <+24>: popq   %rbp
Target 0: (temacs) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
  * frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
    frame #1: 0x0000000100ebfd10 libomp.dylib`__kmpc_set_lock + 189
    frame #2: 0x0000000100a8e835 libMagickCore-7.Q16HDRI.7.dylib`ActivateSemaphoreInfo + 39
    frame #3: 0x0000000100a1aa7e libMagickCore-7.Q16HDRI.7.dylib`GetMagickInfo + 58
    frame #4: 0x0000000100a1aed9 libMagickCore-7.Q16HDRI.7.dylib`GetMagickList + 104
    frame #5: 0x00000001001c44e2 temacs`Fimagemagick_types at image.c:9294:13 [opt]
    frame #6: 0x0000000100146b64 temacs`eval_sub(form=<unavailable>) at eval.c:2270:15 [opt]
    frame #7: 0x0000000100146aca temacs`eval_sub(form=<unavailable>) at eval.c:2261:21 [opt]
    frame #8: 0x0000000100146aca temacs`eval_sub(form=<unavailable>) at eval.c:2261:21 [opt]
    frame #9: 0x0000000100146fed temacs`Fcond at eval.c:462:13 [opt]
    frame #10: 0x0000000100146fcf temacs`Fcond(args=0x00000001023631a3) at eval.c:442 [opt]
    frame #11: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #12: 0x0000000100146f6d temacs`Fprogn(body=0x0000000000000000) at eval.c:462:13 [opt]
    frame #13: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #14: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #15: 0x000000010014b94d temacs`funcall_lambda at eval.c:462:13 [opt]
    frame #16: 0x000000010014b932 temacs`funcall_lambda(fun=0x00000001023633c3, nargs=0, arg_vector=0x00007ffeefbfd6d0) at eval.c:3060 [opt]
    frame #17: 0x000000010014a344 temacs`apply_lambda(fun=<unavailable>, args=<unavailable>, count=55) at eval.c:2926:9 [opt]
    frame #18: 0x000000010014688f temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #19: 0x0000000100146aca temacs`eval_sub(form=<unavailable>) at eval.c:2261:21 [opt]
    frame #20: 0x0000000100147af0 temacs`FletX(args=0x0000000108a295f3) at eval.c:894:10 [opt]
    frame #21: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #22: 0x0000000100146f6d temacs`Fprogn(body=0x0000000000000000) at eval.c:462:13 [opt]
    frame #23: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #24: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #25: 0x000000010014b94d temacs`funcall_lambda at eval.c:462:13 [opt]
    frame #26: 0x000000010014b932 temacs`funcall_lambda(fun=0x0000000108a29033, nargs=0, arg_vector=0x00007ffeefbfdb70) at eval.c:3060 [opt]
    frame #27: 0x000000010014a344 temacs`apply_lambda(fun=<unavailable>, args=<unavailable>, count=50) at eval.c:2926:9 [opt]
    frame #28: 0x000000010014688f temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #29: 0x00000001001710b2 temacs`readevalloop(readcharfun=0x000000010834e565, infile0=0x0000000000000000, sourcename=0x0000000108339964, printflag=<unavailable>, unibyte=<unavailable>, readfun=0x0000000000000000, start=0x0000000000000000, end=0x0000000000000000) at lread.c:2110:15 [opt]
    frame #30: 0x00000001001713bb temacs`Feval_buffer(buffer=<unavailable>, printflag=0x0000000000000000, filename=0x0000000108339964, unibyte=0x0000000000000000, do_allow_print=<unavailable>) at lread.c:2183:3 [opt]
    frame #31: 0x0000000100146c84 temacs`eval_sub(form=<unavailable>) at eval.c:2287:15 [opt]
    frame #32: 0x000000010014817d temacs`Flet at eval.c:462:13 [opt]
    frame #33: 0x0000000100148152 temacs`Flet(args=0x000000010187d043) at eval.c:986 [opt]
    frame #34: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #35: 0x0000000100148ae5 temacs`Funwind_protect(args=0x0000000101888303) at eval.c:1212:9 [opt]
    frame #36: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #37: 0x0000000100147bdd temacs`FletX at eval.c:462:13 [opt]
    frame #38: 0x0000000100147bae temacs`FletX(args=0x000000010187d463) at eval.c:918 [opt]
    frame #39: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #40: 0x0000000100146f2d temacs`Fif at eval.c:462:13 [opt]
    frame #41: 0x0000000100146f06 temacs`Fif(args=<unavailable>) at eval.c:418 [opt]
    frame #42: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #43: 0x000000010014b94d temacs`funcall_lambda at eval.c:462:13 [opt]
    frame #44: 0x000000010014b932 temacs`funcall_lambda(fun=0x0000000101886b93, nargs=4, arg_vector=0x00007ffeefbfe328) at eval.c:3060 [opt]
    frame #45: 0x000000010014aa99 temacs`Ffuncall(nargs=<unavailable>, args=<unavailable>) at eval.c:0:4 [opt]
    frame #46: 0x000000010014b218 temacs`call4(fn=<unavailable>, arg1=<unavailable>, arg2=<unavailable>, arg3=<unavailable>, arg4=<unavailable>) at eval.c:2676:10 [opt]
    frame #47: 0x000000010016f321 temacs`Fload(file=0x0000000101575b94, noerror=<unavailable>, nomessage=0x0000000000000000, nosuffix=<unavailable>, must_suffix=<unavailable>) at lread.c:1386:10 [opt]
    frame #48: 0x0000000100146c84 temacs`eval_sub(form=<unavailable>) at eval.c:2287:15 [opt]
    frame #49: 0x0000000100146f6d temacs`Fprogn(body=0x000000010205e303) at eval.c:462:13 [opt]
    frame #50: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #51: 0x0000000100146b42 temacs`eval_sub(form=<unavailable>) at eval.c:0 [opt]
    frame #52: 0x00000001001710b9 temacs`readevalloop(readcharfun=0x0000000000006660, infile0=0x00007ffeefbfea50, sourcename=0x0000000101431634, printflag=<unavailable>, unibyte=<unavailable>, readfun=0x0000000000000000, start=0x0000000000000000, end=0x0000000000000000) at lread.c:2112:15 [opt]
    frame #53: 0x000000010016f62f temacs`Fload(file=0x00000001014314b4, noerror=<unavailable>, nomessage=0x0000000000000000, nosuffix=<unavailable>, must_suffix=<unavailable>) at lread.c:0 [opt]
    frame #54: 0x0000000100146c84 temacs`eval_sub(form=<unavailable>) at eval.c:2287:15 [opt]
    frame #55: 0x000000010014a07a temacs`Feval(form=0x0000000101858a33, lexical=<unavailable>) at eval.c:2102:28 [opt]
    frame #56: 0x0000000100149157 temacs`internal_condition_case(bfun=(temacs`top_level_2 at keyboard.c:1099), handlers=0x0000000000000090, hfun=(temacs`cmd_error at keyboard.c:919)) at eval.c:1355:25 [opt]
    frame #57: 0x00000001000d28dd temacs`top_level_1(ignore=<unavailable>) at keyboard.c:1108:5 [opt]
    frame #58: 0x000000010014897b temacs`internal_catch(tag=0x000000000000c870, func=(temacs`top_level_1 at keyboard.c:1105), arg=0x0000000000000000) at eval.c:1116:25 [opt]
    frame #59: 0x0000000100209646 temacs`command_loop.cold.1 + 54
    frame #60: 0x00000001000c18f3 temacs`command_loop at keyboard.c:1069:2 [opt]
    frame #61: 0x00000001000c1823 temacs`recursive_edit_1 at keyboard.c:714:9 [opt]
    frame #62: 0x00000001000c1a7b temacs`Frecursive_edit at keyboard.c:786:3 [opt]
    frame #63: 0x00000001000c0661 temacs`main(argc=<unavailable>, argv=0x00007ffeefbff048) at emacs.c:2054:3 [opt]
    frame #64: 0x00007fff6f7083d5 libdyld.dylib`start + 1
    frame #65: 0x00007fff6f7083d5 libdyld.dylib`start + 1
(lldb) 
--8<---------------cut here---------------end--------------->8---


In GNU Emacs 27.0.50 (build 3, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G2022))
 of 2019-12-16 built on BZ-C02XR5CGJG5L
Repository revision: 5aab1e83f55ccbf7affc25272f6b1107aa17598c
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1671
System Description:  Mac OS X 10.14.6

Configured using:
 'configure --with-imagemagick --with-mailutils --with-ns
 PKG_CONFIG_PATH=/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/gnutls/lib/pkgconfig:/usr/local/opt/jansson/lib/pkgconfig'

Configured features:
IMAGEMAGICK NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: C
  locale-coding-system: utf-8-unix

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1671
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://thereligionofpeace.com https://jij.org https://iris.org.il
90% of female beauty is male imagination.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38723; Package emacs. (Mon, 23 Dec 2019 21:28:01 GMT) Full text and rfc822 format available.

Message #8 received at 38723 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Sam Steingold <sds <at> gnu.org>
Cc: 38723 <at> debbugs.gnu.org
Subject: Re: bug#38723: 27.0.50; macosx: [bootstrap-emacs.pdmp] Segmentation
 fault with ImageMagick
Date: Mon, 23 Dec 2019 21:26:49 +0000
On Mon, Dec 23, 2019 at 10:54:53AM -0500, Sam Steingold wrote:
> (lldb) run --batch  -l loadup --temacs=pbootstrap
<snip>
> Loading /Users/sam.steingold/src/emacs/trunk/lisp/image.el (source)...
> Process 60246 stopped
> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
>     frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
> libomp.dylib`__kmp_set_indirect_lock:
> ->  0x100eebddc <+14>: movl   0x8(%rax), %edx
>     0x100eebddf <+17>: movq   (%rcx,%rdx,8), %rcx
>     0x100eebde3 <+21>: movq   (%rax), %rdi
>     0x100eebde6 <+24>: popq   %rbp
> Target 0: (temacs) stopped.
> (lldb) bt
> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
>   * frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
>     frame #1: 0x0000000100ebfd10 libomp.dylib`__kmpc_set_lock + 189
>     frame #2: 0x0000000100a8e835 libMagickCore-7.Q16HDRI.7.dylib`ActivateSemaphoreInfo + 39
>     frame #3: 0x0000000100a1aa7e libMagickCore-7.Q16HDRI.7.dylib`GetMagickInfo + 58
>     frame #4: 0x0000000100a1aed9 libMagickCore-7.Q16HDRI.7.dylib`GetMagickList + 104
>     frame #5: 0x00000001001c44e2 temacs`Fimagemagick_types at image.c:9294:13 [opt]
>     frame #6: 0x0000000100146b64 temacs`eval_sub(form=<unavailable>) at eval.c:2270:15 [opt]

Hi, I can’t replicate this. What version of ImageMagick are you using,
and where did you get it from?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38723; Package emacs. (Mon, 23 Dec 2019 21:47:02 GMT) Full text and rfc822 format available.

Message #11 received at 38723 <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: Alan Third <alan <at> idiocy.org>
Cc: 38723 <at> debbugs.gnu.org
Subject: Re: bug#38723: 27.0.50; macosx: [bootstrap-emacs.pdmp] Segmentation
 fault with ImageMagick
Date: Mon, 23 Dec 2019 16:45:44 -0500
> * Alan Third <nyna <at> vqvbpl.bet> [2019-12-23 21:26:49 +0000]:
>
> On Mon, Dec 23, 2019 at 10:54:53AM -0500, Sam Steingold wrote:
>> (lldb) run --batch  -l loadup --temacs=pbootstrap
> <snip>
>> Loading /Users/sam.steingold/src/emacs/trunk/lisp/image.el (source)...
>> Process 60246 stopped
>> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
>>     frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
>> libomp.dylib`__kmp_set_indirect_lock:
>> ->  0x100eebddc <+14>: movl   0x8(%rax), %edx
>>     0x100eebddf <+17>: movq   (%rcx,%rdx,8), %rcx
>>     0x100eebde3 <+21>: movq   (%rax), %rdi
>>     0x100eebde6 <+24>: popq   %rbp
>> Target 0: (temacs) stopped.
>> (lldb) bt
>> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
>>   * frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
>>     frame #1: 0x0000000100ebfd10 libomp.dylib`__kmpc_set_lock + 189
>>     frame #2: 0x0000000100a8e835 libMagickCore-7.Q16HDRI.7.dylib`ActivateSemaphoreInfo + 39
>>     frame #3: 0x0000000100a1aa7e libMagickCore-7.Q16HDRI.7.dylib`GetMagickInfo + 58
>>     frame #4: 0x0000000100a1aed9 libMagickCore-7.Q16HDRI.7.dylib`GetMagickList + 104
>>     frame #5: 0x00000001001c44e2 temacs`Fimagemagick_types at image.c:9294:13 [opt]
>>     frame #6: 0x0000000100146b64 temacs`eval_sub(form=<unavailable>) at eval.c:2270:15 [opt]
>
> Hi, I can’t replicate this. What version of ImageMagick are you using,
> and where did you get it from?

--8<---------------cut here---------------start------------->8---
$ brew info ImageMagick
ImageMagick: stable 7.0.9-10 (bottled), HEAD
Tools and libraries to manipulate images in many formats
https://www.imagemagick.org/
/usr/local/Cellar/ImageMagick/7.0.9-10 (1,479 files, 23.9MB)
  Poured from bottle on 2019-12-23 at 09:25:15
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/imagemagick.rb
--8<---------------cut here---------------end--------------->8---



-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1671
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://jij.org https://www.memritv.org https://ffii.org
Profanity is the one language all programmers know best.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38723; Package emacs. (Tue, 25 Aug 2020 22:59:02 GMT) Full text and rfc822 format available.

Message #14 received at 38723 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Sam Steingold <sds <at> gnu.org>
Cc: Alan Third <alan <at> idiocy.org>, 38723 <at> debbugs.gnu.org
Subject: Re: bug#38723: 27.0.50; macosx: [bootstrap-emacs.pdmp] Segmentation
 fault with ImageMagick
Date: Tue, 25 Aug 2020 15:58:00 -0700
Sam Steingold <sds <at> gnu.org> writes:

>> * Alan Third <nyna <at> vqvbpl.bet> [2019-12-23 21:26:49 +0000]:
>>
>> On Mon, Dec 23, 2019 at 10:54:53AM -0500, Sam Steingold wrote:
>>> (lldb) run --batch  -l loadup --temacs=pbootstrap
>> <snip>
>>> Loading /Users/sam.steingold/src/emacs/trunk/lisp/image.el (source)...
>>> Process 60246 stopped
>>> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
>>>     frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
>>> libomp.dylib`__kmp_set_indirect_lock:
>>> ->  0x100eebddc <+14>: movl   0x8(%rax), %edx
>>>     0x100eebddf <+17>: movq   (%rcx,%rdx,8), %rcx
>>>     0x100eebde3 <+21>: movq   (%rax), %rdi
>>>     0x100eebde6 <+24>: popq   %rbp
>>> Target 0: (temacs) stopped.
>>> (lldb) bt
>>> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
>>>   * frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
>>>     frame #1: 0x0000000100ebfd10 libomp.dylib`__kmpc_set_lock + 189
>>>     frame #2: 0x0000000100a8e835 libMagickCore-7.Q16HDRI.7.dylib`ActivateSemaphoreInfo + 39
>>>     frame #3: 0x0000000100a1aa7e libMagickCore-7.Q16HDRI.7.dylib`GetMagickInfo + 58
>>>     frame #4: 0x0000000100a1aed9 libMagickCore-7.Q16HDRI.7.dylib`GetMagickList + 104
>>>     frame #5: 0x00000001001c44e2 temacs`Fimagemagick_types at image.c:9294:13 [opt]
>>>     frame #6: 0x0000000100146b64 temacs`eval_sub(form=<unavailable>) at eval.c:2270:15 [opt]

If I'm not mistaken, the crash here is within ImageMagick?  In other
words, this is not a bug in Emacs?

>>
>> Hi, I can’t replicate this. What version of ImageMagick are you using,
>> and where did you get it from?
>
> $ brew info ImageMagick
> ImageMagick: stable 7.0.9-10 (bottled), HEAD
> Tools and libraries to manipulate images in many formats
> https://www.imagemagick.org/
> /usr/local/Cellar/ImageMagick/7.0.9-10 (1,479 files, 23.9MB)
>   Poured from bottle on 2019-12-23 at 09:25:15
> From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/imagemagick.rb




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Thu, 01 Oct 2020 12:51:03 GMT) Full text and rfc822 format available.

Notification sent to sds <at> gnu.org:
bug acknowledged by developer. (Thu, 01 Oct 2020 12:51:03 GMT) Full text and rfc822 format available.

Message #19 received at 38723-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Sam Steingold <sds <at> gnu.org>
Cc: Alan Third <alan <at> idiocy.org>, 38723-done <at> debbugs.gnu.org
Subject: Re: bug#38723: 27.0.50; macosx: [bootstrap-emacs.pdmp] Segmentation
 fault with ImageMagick
Date: Thu, 1 Oct 2020 05:50:42 -0700
Stefan Kangas <stefan <at> marxist.se> writes:

> Sam Steingold <sds <at> gnu.org> writes:
>
>>> * Alan Third <nyna <at> vqvbpl.bet> [2019-12-23 21:26:49 +0000]:
>>>
>>> On Mon, Dec 23, 2019 at 10:54:53AM -0500, Sam Steingold wrote:
>>>> (lldb) run --batch  -l loadup --temacs=pbootstrap
>>> <snip>
>>>> Loading /Users/sam.steingold/src/emacs/trunk/lisp/image.el (source)...
>>>> Process 60246 stopped
>>>> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
>>>>     frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
>>>> libomp.dylib`__kmp_set_indirect_lock:
>>>> ->  0x100eebddc <+14>: movl   0x8(%rax), %edx
>>>>     0x100eebddf <+17>: movq   (%rcx,%rdx,8), %rcx
>>>>     0x100eebde3 <+21>: movq   (%rax), %rdi
>>>>     0x100eebde6 <+24>: popq   %rbp
>>>> Target 0: (temacs) stopped.
>>>> (lldb) bt
>>>> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
>>>>   * frame #0: 0x0000000100eebddc libomp.dylib`__kmp_set_indirect_lock(unsigned int*, int) + 14
>>>>     frame #1: 0x0000000100ebfd10 libomp.dylib`__kmpc_set_lock + 189
>>>>     frame #2: 0x0000000100a8e835 libMagickCore-7.Q16HDRI.7.dylib`ActivateSemaphoreInfo + 39
>>>>     frame #3: 0x0000000100a1aa7e libMagickCore-7.Q16HDRI.7.dylib`GetMagickInfo + 58
>>>>     frame #4: 0x0000000100a1aed9 libMagickCore-7.Q16HDRI.7.dylib`GetMagickList + 104
>>>>     frame #5: 0x00000001001c44e2 temacs`Fimagemagick_types at image.c:9294:13 [opt]
>>>>     frame #6: 0x0000000100146b64 temacs`eval_sub(form=<unavailable>) at eval.c:2270:15 [opt]
>
> If I'm not mistaken, the crash here is within ImageMagick?  In other
> words, this is not a bug in Emacs?

No further comments within 5 weeks.  I'll therefore assume that the
above reasoning is correct, and I'm closing this bug now.

If the conclusion is incorrect and this is indeed an issue in Emacs,
please reply to this email (use "Reply to all" in your email client) and
we can reopen the bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Oct 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 179 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.