all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28172: 26.0.50; division by zero in x_draw_underwave
@ 2017-08-21 14:09 Yuri D'Elia
  2017-08-21 17:29 ` bug#28172: Fixed Yuri D'Elia
  0 siblings, 1 reply; 2+ messages in thread
From: Yuri D'Elia @ 2017-08-21 14:09 UTC (permalink / raw)
  To: 28172

Emacs 26 (lucid, from master) here, I get a division by zero when
activating flyspell underlining, happening at:

Thread 1 "emacs" received signal SIGFPE, Arithmetic exception.
0x00000000005181a3 in x_draw_underwave (s=0x7fffffffbe20) at xterm.c:3541
3541	  x1 = x0 - (x0 % dx);
(gdb) where
#0  0x00000000005181a3 in x_draw_underwave (s=0x7fffffffbe20) at xterm.c:3541
#1  0x0000000000518877 in x_draw_glyph_string (s=0x7fffffffbe20) at xterm.c:3685
#2 0x00000000004805d4 in draw_glyphs (w=0x148dc30 <bss_sbrk_buffer+8070032>,
x=233, row=0x2eda080, area=TEXT_AREA, start=7, end=26, hl=DRAW_NORMAL_TEXT,
overlaps=0) at xdisp.c:26595
(gdb) p dx
$1 = 0

I guess this was introduced in the recent HiDPI support for wave
underlines. Let me know if you need additional details about the monitor
configuration (laptop with an external display).


In GNU Emacs 26.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2017-08-21 built on eab17048nb
Repository revision: 807b67faa403a2c2f65666c28f74ea1989451ad1
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description:	Debian GNU/Linux unstable (sid)

Configured using:
 'configure --with-x-toolkit=lucid --with-modules --without-gsettings
 CC=gcc 'CFLAGS=-O3 -march=native -pipe ' LDFLAGS='

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL LIBSELINUX GNUTLS
LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11
MODULES LIBSYSTEMD

Important settings:
  value of $LC_COLLATE: C
  value of $LC_TIME: en_DK.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-21 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 14:09 bug#28172: 26.0.50; division by zero in x_draw_underwave Yuri D'Elia
2017-08-21 17:29 ` bug#28172: Fixed Yuri D'Elia

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.