From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66589: 30.0.50; core dump in redisplay Date: Tue, 17 Oct 2023 22:23:16 +0300 Message-ID: <83fs29njdn.fsf@gnu.org> References: <83jzrlo5au.fsf@gnu.org> <83il75nvhr.fsf@gnu.org> <83h6mpnn98.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26334"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66589@debbugs.gnu.org To: Evgeny Zajcev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 17 21:25:07 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 1qspgg-0006eW-3k for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Oct 2023 21:25:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qspgD-0000qi-Tk; Tue, 17 Oct 2023 15:24:37 -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 1qspgD-0000ml-4C for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2023 15:24: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 1qspgC-0005MU-Ry for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2023 15:24:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qspgc-0000gl-6D for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2023 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2023 19:25: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.16975706452316 (code B ref 66589); Tue, 17 Oct 2023 19:25:02 +0000 Original-Received: (at 66589) by debbugs.gnu.org; 17 Oct 2023 19:24:05 +0000 Original-Received: from localhost ([127.0.0.1]:32811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qspfh-0000bI-14 for submit@debbugs.gnu.org; Tue, 17 Oct 2023 15:24:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qspfc-0000ak-2l for 66589@debbugs.gnu.org; Tue, 17 Oct 2023 15:24:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qspf7-0004nE-2L; Tue, 17 Oct 2023 15:23:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XBXchP4WVyDvfB1MphNpm+UnU3r+jvx0aOEAFSmTrQA=; b=HsjcWovnt+0kmYPu5Apm QXMfHDCLmzchfgl8S07R/Uxtd0jabMoIOYREfBV2Ixz/y30VxiIlpEuiGQsFE6eA1+ztI93dNiU71 /97XnzuBMXYNKtCW8dgO6RLb7ACf5cuP+GoabuWoAymYlVEa8TKbYMNkpggadAilnpGy/9416sTK2 dReiTASOKvxCxyHcr6Ns3R8aYLK4vQyC0+fBUyLJDvbc1el3mKYWHQ97BeGi8NHYizv0LauDp99Zi f2nvYNWuvQEyNmrNs4dIKN0qgpU8nDp/+wUhgS249oNBgjlImLJA6B8dC91I9xvGVmTy0xHCS8E3q PYsPGvx1SBV7FQ==; In-Reply-To: (message from Evgeny Zajcev on Tue, 17 Oct 2023 21:11:40 +0300) 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:272631 Archived-At: > 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=0x7ffef46c5660) at > lisp.h:1179 > 1179 return make_lisp_symbol (&lispsym[index]); > (gdb) p it->current > $6 = { > pos = { > charpos = 10098, > bytepos = 14401 > }, > overlay_string_index = -1, > string_pos = { > charpos = -1, > bytepos = -1 > }, > dpvec_index = -1 > } > (gdb) p current_buffer->zv > No symbol "current_buffer" in current context. > (gdb) p current_thread->m_current_buffer > $7 = (struct buffer *) 0x55ccf0885fb0 > (gdb) p current_thread->m_current_buffer->zv > $8 = 10106 > (gdb) p current_thread->m_current_buffer->text->beg[10000]@106 > $9 = " \n | ⮪ Yura› Позорище 🤦‍♂ у ФСБ только на Газель Хва", > > (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