From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Evgeny Zajcev Newsgroups: gmane.emacs.bugs Subject: bug#66589: 30.0.50; core dump in redisplay Date: Tue, 17 Oct 2023 22:37:08 +0300 Message-ID: References: <83jzrlo5au.fsf@gnu.org> <83il75nvhr.fsf@gnu.org> <83h6mpnn98.fsf@gnu.org> <83fs29njdn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a7feaf0607eea669" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14652"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66589@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 17 21:38:01 2023 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 1qsptB-0003Yd-ME for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Oct 2023 21:38:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qspso-0002Po-Sf; Tue, 17 Oct 2023 15:37:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qspsn-0002PO-EP for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2023 15:37:37 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qspsn-0008KP-68 for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2023 15:37:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsptC-00018V-MK for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2023 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Evgeny Zajcev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2023 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66589 X-GNU-PR-Package: emacs Original-Received: via spool by 66589-submit@debbugs.gnu.org id=B66589.16975714754341 (code B ref 66589); Tue, 17 Oct 2023 19:38:02 +0000 Original-Received: (at 66589) by debbugs.gnu.org; 17 Oct 2023 19:37:55 +0000 Original-Received: from localhost ([127.0.0.1]:32826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qspt5-00017x-2f for submit@debbugs.gnu.org; Tue, 17 Oct 2023 15:37:55 -0400 Original-Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:49166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qspt1-00017c-Cv for 66589@debbugs.gnu.org; Tue, 17 Oct 2023 15:37:53 -0400 Original-Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-565334377d0so4539861a12.2 for <66589@debbugs.gnu.org>; Tue, 17 Oct 2023 12:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697571440; x=1698176240; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=M2H2mcSsAtgEIJlHc5TvRZQNKqzxOBjRMDES8rSyjbg=; b=cwklaq7Debfrydj4tl0ZxXSbnCVRKp8L6WqtbcyMyzU5egrU4Z2Mcp421zGOAINjXO 1lrax5MG9aQywciV/jA1SHabZ5Ck1HK5zZtbxCU9f028CajH0UrNGerOGF3+0AMG1/GV 12KlXurIP32s+yF33KWrY8urMzyZ6fiGTWrk4WpjW4mux98szi/yS2iV7GwIzYU8ic5l mSyOHnu3IEU/mvDFF8SE5o3a2flqgUi/PqG/4eWjE6ufKv2kfrvKyvm9ZUIqq1cDiSnW k+d3IwFYKURPFM+/H02lgHeKvitmgOd0Y3IfwmG1GCpdyAAP29DOCEBGTS3HkaVJpBhK N2Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697571440; x=1698176240; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=M2H2mcSsAtgEIJlHc5TvRZQNKqzxOBjRMDES8rSyjbg=; b=H+OwhDA2SjEw8YTyl6wDAOLE7DyO1kRzxOZXeRQoILSOXukY8JD+Cmc5wfP2GjvByg nCh3GNn1SjnSumGWmGk18Hgbn83dBDfqXtASzJEuotjm7HwIxs2VcFASxsRZx3xEuxWL Cr4pD/h0btkZ9D8QD6pQW0MwZjWZRoMRGevxorfptm8n15dUpTQVb0vbxDeS19N1chpq PA2z+xxaA0Ot7f1yR3G5nc5k9aS3mqP3kWFrBX6T9yS3LltITBI6RvyaLs9sw2fcJOb2 055ox6OQrEMY9kHvXluijKSlH+9a4UMVID3tdYWLjAhmlN69NJdQ2UXuYGviUfH1gfMz QTVg== X-Gm-Message-State: AOJu0YzfC6BISBqaVdAluoQiahdudMHVEpq9RRdVHg4XdPfrYaYGtPFS Pz3AeNM2/uIFz6DUzrQCQ24j5FFgulGPfo3YBY+2nVQK X-Google-Smtp-Source: AGHT+IHV7RA67wFNdIcNJMoxN6Yx4Bivsy/FfcXXynTUJOvL0uUOiFg0FiA5zopgzLsA5VTutiVSbW+QBLOuu2Ldv8c= X-Received: by 2002:a05:6a20:a113:b0:14d:f41c:435a with SMTP id q19-20020a056a20a11300b0014df41c435amr3258572pzk.39.1697571439900; Tue, 17 Oct 2023 12:37:19 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272634 Archived-At: --000000000000a7feaf0607eea669 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=B2=D1=82, 17 =D0=BE=D0=BA=D1=82. 2023=E2=80=AF=D0=B3. =D0=B2 22:34, Evg= eny Zajcev : > > > =D0=B2=D1=82, 17 =D0=BE=D0=BA=D1=82. 2023=E2=80=AF=D0=B3. =D0=B2 22:23, E= li Zaretskii : > >> > From: Evgeny Zajcev >> > Date: Tue, 17 Oct 2023 21:11:40 +0300 >> > Cc: 66589@debbugs.gnu.org >> > >> > (gdb) frame 19 >> > #19 0x000055ccdf1eb141 in gui_produce_glyphs (it=3D0x7ffef46c5660) at >> > lisp.h:1179 >> > 1179 return make_lisp_symbol (&lispsym[index]); >> > (gdb) p it->current >> > $6 =3D { >> > pos =3D { >> > charpos =3D 10098, >> > bytepos =3D 14401 >> > }, >> > overlay_string_index =3D -1, >> > string_pos =3D { >> > charpos =3D -1, >> > bytepos =3D -1 >> > }, >> > dpvec_index =3D -1 >> > } >> > (gdb) p current_buffer->zv >> > No symbol "current_buffer" in current context. >> > (gdb) p current_thread->m_current_buffer >> > $7 =3D (struct buffer *) 0x55ccf0885fb0 >> > (gdb) p current_thread->m_current_buffer->zv >> > $8 =3D 10106 >> > (gdb) p current_thread->m_current_buffer->text->beg[10000]@106 >> > $9 =3D " \n | =E2=AE=AA Yura=E2=80=BA =D0=9F=D0=BE=D0=B7=D0=BE= =D1=80=D0=B8=D1=89=D0=B5 =F0=9F=A4=A6=E2=80=8D=E2=99=82 =D1=83 =D0=A4=D0=A1= =D0=91 =D1=82=D0=BE=D0=BB=D1=8C=D0=BA=D0=BE =D0=BD=D0=B0 =D0=93=D0=B0=D0=B7= =D0=B5=D0=BB=D1=8C =D0=A5=D0=B2=D0=B0", >> > >> > (gdb) >> >> Hmm... what about this: >> >> (gdb) frame 18 >> (gdb) p current_thread->m_current_buffer->text->gpt_byte >> (gdb) p current_thread->m_current_buffer->zv_byte >> (gdb) p current_thread->m_current_buffer->text->beg[14350]@100 >> > > (gdb) frame 18 > #18 produce_glyphless_glyph (it=3D0x7ffef46c5660, > for_no_font=3Dfor_no_font@entry=3Dfalse, acronym=3Dacronym@entry=3DXIL(0)= ) at > xdisp.c:32165 > 32165 sprintf (buf, "%0*X", it->c < 0x10000 ? 4 : 6, it->c + > 0u); > (gdb) p current_thread->m_current_buffer->text->gpt_byte > $10 =3D 5287 > (gdb) p current_thread->m_current_buffer->zv_byte > $11 =3D 14409 > (gdb) p current_thread->m_current_buffer->text->beg[14350]@100 > $12 =3D ' ' , "11:09\n(=D0=94) =D0=94=D0=B5=D0=BD=D0=B8= ", ' ' > (gdb) > Take into account that char between (=D0=94) and =D0=94=D0=B5=D0=BD=D0=B8 = =D0=B8=D0=B7 0xa0, not a regular space. My gmail web interface might changed it --=20 lg --000000000000a7feaf0607eea669 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
=D0=B2=D1=82, 17 =D0=BE=D0=BA=D1=82. = 2023=E2=80=AF=D0=B3. =D0=B2 22:34, Evgeny Zajcev <lg.zevlg@gmail.com>:

=D0=B2=D1= =82, 17 =D0=BE=D0=BA=D1=82. 2023=E2=80=AF=D0=B3. =D0=B2 22:23, Eli Zaretski= i <eliz@gnu.org>= ;:
> From: Ev= geny Zajcev <lg.= zevlg@gmail.com>
> Date: Tue, 17 Oct 2023 21:11:40 +0300
> Cc: 66589@d= ebbugs.gnu.org
>
> (gdb) frame 19
> #19 0x000055ccdf1eb141 in gui_produce_glyphs (it=3D0x7ffef46c5660) at<= br> > lisp.h:1179
> 1179=C2=A0 =C2=A0 =C2=A0 return make_lisp_symbol (&lispsym[index])= ;
> (gdb) p it->current
> $6 =3D {
>=C2=A0 =C2=A0pos =3D {
>=C2=A0 =C2=A0 =C2=A0charpos =3D 10098,
>=C2=A0 =C2=A0 =C2=A0bytepos =3D 14401
>=C2=A0 =C2=A0},
>=C2=A0 =C2=A0overlay_string_index =3D -1,
>=C2=A0 =C2=A0string_pos =3D {
>=C2=A0 =C2=A0 =C2=A0charpos =3D -1,
>=C2=A0 =C2=A0 =C2=A0bytepos =3D -1
>=C2=A0 =C2=A0},
>=C2=A0 =C2=A0dpvec_index =3D -1
> }
> (gdb) p current_buffer->zv
> No symbol "current_buffer" in current context.
> (gdb) p current_thread->m_current_buffer
> $7 =3D (struct buffer *) 0x55ccf0885fb0
> (gdb) p current_thread->m_current_buffer->zv
> $8 =3D 10106
> (gdb) p current_thread->m_current_buffer->text->beg[10000]@10= 6
> $9 =3D "=C2=A0 =C2=A0 =C2=A0\n=C2=A0 =C2=A0 | =E2=AE=AA Yura=E2= =80=BA =D0=9F=D0=BE=D0=B7=D0=BE=D1=80=D0=B8=D1=89=D0=B5 =F0=9F=A4=A6=E2=80= =8D=E2=99=82 =D1=83 =D0=A4=D0=A1=D0=91 =D1=82=D0=BE=D0=BB=D1=8C=D0=BA=D0=BE= =D0=BD=D0=B0 =D0=93=D0=B0=D0=B7=D0=B5=D0=BB=D1=8C =D0=A5=D0=B2=D0=B0"= ,
> <incomplete sequence \320>
> (gdb)

Hmm... what about this:

=C2=A0 (gdb) frame 18
=C2=A0 (gdb) p current_thread->m_current_buffer->text->gpt_byte =C2=A0 (gdb) p current_thread->m_current_buffer->zv_byte
=C2=A0 (gdb) p current_thread->m_current_buffer->text->beg[14350]@= 100

(gdb) frame 18
#18 produce_glyphl= ess_glyph (it=3D0x7ffef46c5660, for_no_font=3Dfor_no_font@entry=3Dfalse, ac= ronym=3Dacronym@entry=3DXIL(0)) at xdisp.c:32165
32165 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 sprintf (buf, "%0*X", it->c < 0x10= 000 ? 4 : 6, it->c + 0u);
(gdb) p current_thread->m_current_buffer= ->text->gpt_byte
$10 =3D 5287
(gdb) p current_thread->m_curr= ent_buffer->zv_byte
$11 =3D 14409
(gdb) p current_thread->m_cur= rent_buffer->text->beg[14350]@100
$12 =3D ' ' <repeats = 48 times>, "11:09\n(=D0=94)=C2=A0=D0=94=D0=B5=D0=BD=D0=B8", &#= 39; ' <repeats 32 times>
(gdb)

Take into account that char between (=D0=94) and =D0=94= =D0=B5=D0=BD=D0=B8 =D0=B8=D0=B7 0xa0, not a regular space. My gmail web int= erface might changed it


--
lg
--000000000000a7feaf0607eea669--