From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: HiDPI support for wave style underlines Date: Mon, 21 Aug 2017 17:49:53 +0300 Message-ID: <83r2w5asby.fsf@gnu.org> References: <83wp6r3ed8.fsf@gnu.org> <83shgpe1cp.fsf@gnu.org> <87shgl5cyf.fsf@wavexx.thregr.org> <871so59k54.fsf@wavexx.thregr.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1503327067 19743 195.159.176.226 (21 Aug 2017 14:51:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2017 14:51:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 21 16:50:55 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djo2S-0004Cx-O5 for ged-emacs-devel@m.gmane.org; Mon, 21 Aug 2017 16:50:48 +0200 Original-Received: from localhost ([::1]:51416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djo2Z-00061e-Io for ged-emacs-devel@m.gmane.org; Mon, 21 Aug 2017 10:50:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djo1m-0005ya-NJ for emacs-devel@gnu.org; Mon, 21 Aug 2017 10:50:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djo1i-0006sk-LW for emacs-devel@gnu.org; Mon, 21 Aug 2017 10:50:06 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djo1i-0006sg-HH; Mon, 21 Aug 2017 10:50:02 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1522 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1djo1h-0007QT-F5; Mon, 21 Aug 2017 10:50:02 -0400 In-reply-to: <871so59k54.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Mon, 21 Aug 2017 14:32:07 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217655 Archived-At: > From: Yuri D'Elia > Date: Mon, 21 Aug 2017 14:32:07 +0200 > > On Mon, Aug 21 2017, Yuri D'Elia wrote: > > I actually get a floating point exception with this since I rebuilt > > emacs on the 19th. I'm rebuilding emacs now with debug to check where > > it's located, but I pinpointed it to flyspell so... > > 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 , 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 Thanks, I tried to correct this with an obvious fix.