Subject: Re: bug#38723: 27.0.50; macosx: [bootstrap-emacs.pdmp] Segmentation fault with ImageMagick

From: Alan Third <[email-masked]>
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