bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34256: 27.0.50; Crash on draw_glyphs()


From: Eli Zaretskii
Subject: bug#34256: 27.0.50; Crash on draw_glyphs()
Date: Wed, 30 Jan 2019 20:55:21 +0200

> From: Kaushal Modi <address@hidden>
> Date: Wed, 30 Jan 2019 13:22:01 -0500
> Cc: address@hidden
> 
> - I cannot reproduce the crash in an emacs -Q session using the same Org 
> file, or even using my full
> unaltered config (except for commenting out desktop loading).
> 
> But now I have this detailed backtrace; hopefully it helps you spot the 
> problem:
> 
> xdisp.c:26154: Emacs fatal error: assertion failed: s->img
> 
> Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (address@hidden,
>     address@hidden) at emacs.c:370
> 370     {
> (gdb) bt
> #0  terminate_due_to_signal (address@hidden, address@hidden) at
> emacs.c:370
> #1  0x00000000005a1622 in die (address@hidden "s->img", address@hidden 
> "xdisp.c",
> address@hidden) at alloc.c:7453
> #2  0x00000000004378fe in fill_image_glyph_string (address@hidden) at 
> xdisp.c:26154
> #3  0x00000000004708cf in draw_glyphs (address@hidden, x=44, row=0x234ba50,
> address@hidden, start=<optimized out>, address@hidden, address@hidden,
> hl=DRAW_NORMAL_TEXT, overlaps=0)
>     at xdisp.c:26841

This says Emacs was trying to display an image, but what image is
that?  Where did it come from?  And could it be that the new native
image scaling is the reason for this (i.e., was the image supposed to
be resized)?  Hmm, but you built with ImageMagick, which AFAIU means
the native  resizing code should not be invoked...

> - The Org file/buffer seen when this crash happens displays inline images.

Please show the relevant parts of the file anyway.

Also, in this callstack frame:

  #2  0x00000000004378fe in fill_image_glyph_string (address@hidden) at 
xdisp.c:26154

please show the full contents of s->first_glyph.  Like this:

  (gdb) frame 2
  (gdb) p *s->first_glyph






reply via email to

[Prev in Thread] Current Thread [Next in Thread]