From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#39207: WITH dgb symbols Re: bug#39207: 28.0.50; crash when sending gnus message Date: Wed, 22 Jan 2020 17:58:12 +0100 Message-ID: References: <87muai8541.fsf@hillenius.net> <87eevt5gbi.fsf@hillenius.net> <87tv4pdu0u.fsf@hillenius.net> <871rrtvzgi.fsf@hillenius.net> <83h80ox1i1.fsf@gnu.org> <87k15kx010.fsf@hillenius.net> <87muag7yf3.fsf@hillenius.net> <87lfpzsvq5.fsf@hillenius.net> <83a76fv58n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="130357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39207@debbugs.gnu.org, gijs@hillenius.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 22 17:59:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iuJLW-000Xre-TY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jan 2020 17:59:15 +0100 Original-Received: from localhost ([::1]:44556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuJLV-0003GG-OJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jan 2020 11:59:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51940) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuJLL-0003E7-VR for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 11:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuJLK-0005NC-4c for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 11:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuJLK-0005N2-1U for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 11:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iuJLJ-00085M-Sp for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 11:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jan 2020 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39207 X-GNU-PR-Package: emacs Original-Received: via spool by 39207-submit@debbugs.gnu.org id=B39207.157971230230985 (code B ref 39207); Wed, 22 Jan 2020 16:59:01 +0000 Original-Received: (at 39207) by debbugs.gnu.org; 22 Jan 2020 16:58:22 +0000 Original-Received: from localhost ([127.0.0.1]:51232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuJKg-00083h-6n for submit@debbugs.gnu.org; Wed, 22 Jan 2020 11:58:22 -0500 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:35336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuJKe-00083H-Be for 39207@debbugs.gnu.org; Wed, 22 Jan 2020 11:58:20 -0500 Original-Received: by mail-wr1-f48.google.com with SMTP id g17so8122307wro.2 for <39207@debbugs.gnu.org>; Wed, 22 Jan 2020 08:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ancYReZoyOIU+868I/FDRXqIY273IRW42Y5TctilGIw=; b=oXviWpey+44g/Nwqf5s03g7/6/sQgA5tykiDgaQXBeIQd1QsDcAa6qbwq12FQtby03 PtfZ/DRmlfsb+dgfpZ5UVp4rblec6H/7NatzvpFkhyPUrmG+MX8GCovvK8xbA09BQVac 5CXnuagpuNgIpt1W8iup5C9+ySJQ3nrNYRpBzCBKDiAth8yqjm6SvgftrHKt0ydA/V9a xVAer950c0kilsCsAQGO8yTH8oUMb/56zaIz72c4Rk1DUrkjmTnYvjiEgF5aJCJ4F65C aEaDViq2nEIZuBqoklGUQ8qiIxcxl0bkfGfp+YwA0my9PQLN3Wr+w/u/hPxoVpof3IB9 U+zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=ancYReZoyOIU+868I/FDRXqIY273IRW42Y5TctilGIw=; b=fEcNvHecOYmxuV1/QAE0AQxTXJDmHxMPrjuUkcY9PG12bIYamXh4qkConumhoQqsxz p7XoXeYhPd9JIr9urTGT5qLnbTJmOmuAjuNBl9CGYF2XlhcTLCOkel12kfX2V61IBfXk 1wZSydLlRgq3p/QPOEPFQI692UpPO7ANp9AOCbp8+hjuveWgkZ0vHKPguJiXM+OYboUJ LSRdcYwadNeLtQB5KQbABBxE+LTPTYX8/ZUjg6fQy4MFA8MI3TcewqOmPDEvEAA0lent C3C7P4vCJmah8zzxYhUtMMTauV1OYoBmOss2QNXW+gCHzFEKgzO53FQTd7oEv49xsHDL LQZw== X-Gm-Message-State: APjAAAXAF1hOy+csIXbAZ7rJAbtnGwx+bVv4aiSNSnsb8sufXObo7PHS cPpmy+/TkA9xCZGQzqzH67DYyWLc2vw= X-Google-Smtp-Source: APXvYqxSZ7VRvERJlk2R3NfESnB7P/7JymDWLW6iwyc/AnEsP+ZQLh7CSUuUDE+HniITx8dGDH4Jvw== X-Received: by 2002:adf:ee52:: with SMTP id w18mr12270925wro.415.1579712293915; Wed, 22 Jan 2020 08:58:13 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id z3sm57972230wrs.94.2020.01.22.08.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 08:58:13 -0800 (PST) In-Reply-To: <83a76fv58n.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 22 Jan 2020 18:13:44 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175099 Archived-At: I=CA=BCll leave Gijs to look at the questions about his backtrace. >> 18068 /* Some sanity checks. */ >> 18069 CHECK_WINDOW_END (w); >> 18070 if (Z =3D=3D Z_BYTE && CHARPOS (opoint) !=3D BYTEPOS (opoi= nt)) >> 18071 emacs_abort (); >> 18072 if (BYTEPOS (opoint) < CHARPOS (opoint)) >> 18073 emacs_abort (); >> 18074 >> 18075 if (mode_line_update_needed (w)) >> (gdb) p Z >> $1 =3D 2804 >> (gdb) p Z_BYTE >> $2 =3D 2804 >> (gdb) p CHARPOS(opoint) >> $3 =3D 495 >> (gdb) p BYTEPOS(opoint) >> $4 =3D 497 Eli> This indeed cannot happen, since $1 and $2 mean the buffer is eith= er Eli> unibyte or pure-ASCII (the character count and the byte count are Eli> identical), whereas $3 and $4 tell us there's some multibyte chara= cter Eli> in the buffer before or at buffer position 495. Eli> Is the buffer multibyte or not? (You can tell by looking at the v= alue Eli> of 'BVAR (buffer, enable_multibyte_characters)'.) Also, can you s= how Eli> the entire text of the buffer, which begins at current_buffer->tex= t->beg? Eli> You need to exercise caution near the gap (unless it's at the end = of Eli> the buffer), because the gap is not part of buffer text. (gdb) pp BVAR(current_buffer,enable_multibyte_characters) t (gdb) (gdb) pp BVAR(buffer,enable_multibyte_characters) t There=CA=BCs one stray \342 in there, but the rest looks like ASCII. The character gnus should be trying to insert is #x2713, which is represented as #xE2 #x9C #x93 (\342 \234 \223), so it looks like there are some bytes missing. (gdb) p current_buffer->text->beg $21 =3D (unsigned char *) 0x555557dbaab0 " . [ 32: Robert Pluim", ' ' , "] Re: Font problem on git master\n . [ 23: Eli Zarets= kii ] \n . < 27: Andreas Schwab > \n . [ 14: Stefan = Monnier ] Re: BNF Mode 0.4.3\n . [ 60: Serghei Iakovlev = ] \n . [ 28: Stefan Monnier ] \n . [ 17: Stefan Kangas = ] Re: master d8da850: Document cairo-related fallout to font-backend= settings\n [ 42: Robert Pluim", ' ' , "] \n\342 " (gdb) p BUF_GAP_END_ADDR(current_buffer) $22 =3D (unsigned char *) 0x555557dbb154 " [ 28: Stefan Kangas = ] \n", ' ' , "[ 28: Robert Pluim", ' ' , "] \n", ' ' , "[ 18: Eli Zaretskii ] \n= ", ' ' , "[ 28: Robert Pluim", ' ' , "= ] \n", ' ' , "[ 25: Eli Zaretskii ] \n", ' ' , "[ 35: T.V Raman", ' ' , "] \n", ' ' <= repeats 19 times>, "[ 18: Robert Pluim", ' ' , "] \n", '= ' , "[ 27: Robert Pluim", ' ' , "] \n= ", ' ' , "[ 14: Eli Zaretskii ] \n [ 212: Ala= n Mackenzie ] Re: c-mode pragma and preproc\n [ 18: Dmitry Gutov= ", ' ' , "] Re: Emacs's set-frame-size can not work well = with gnome-shell?\n [ 17: martin rudalics ] \n", ' ' , "[ 24: Dmitry Gutov", ' ' , "] \n", ' ' , "[ 17: martin rudalics ] \n", ' ' , "[ 21: Dmitry Gutov", ' ' , "] \n", ' ' , "[ 11: martin rudalics ] \n .", ' ' , "[ = 9: Dmitry Gutov", ' ' , "] \n < 58: Dmitry Gutov"= , ' ' , "> \n < 19: martin rudalics > \n", = ' ' , "[ 13: tumashu", ' ' , "] \n", '= ' , "[ 19: tumashu", ' ' , "] \n . = < 21: Dmitry Gutov", ' ' , "> \n [ 125: Gerry Agboba= da ] Question about composite.c\n [ 83: Eli Zaretskii = ] \n", ' ' , "[ 58: Gerry Agbobada ] \n", ' '= , "[ 46: Eli Zaretskii ] \n", ' ' , "[ 35: Gerry Agbobada ] \n [ 8: Israel", ' ' , "] Test\n [ 18: Paul W. Rankin ] Re: Making vertical-= border char defcustom?\n [ 27: Eli Zaretskii ] \n [ 8: = Bastien", ' ' , "] Re: Help me secure some free time for = org-mode in 2020\n [ 80: Anand Tamariya ] Semantic font-lock for= Java\n [ 15: Eli Zaretskii ] \n", ' ' , = "[ 17: Eli Zaretskii ] \n [ 10: Robert Pluim", ' ' , "] Re: master c1b6cf6: * lisp/progmodes/grep.el (grep-read-files-f= unction): New var.\n [ 39: Daniel Pittman ] Re: Building Emacs (= git head, pdumper, macos)\n [ 20: Robert Pluim", ' ' , "] \n [ 19: john", ' ' , "] Question on fonts\n = [ 48: Robert Pluim", ' ' , "] \n [ 57: Alan Mack= enzie ] Re: /* FIXME: Call signal_after_change! */ in callproc.c. = Well, why not?\n [ 186: Yuan Fu", ' ' , "] Re: Extend = gdb to filter registers\n . [ 22: Julien Cubizolles ] Emacs dumps cor= e in Gnus with gnus-uu-mark-thread\n"