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: Wed, 18 Oct 2023 14:40:34 +0300 Message-ID: <83a5sgnop9.fsf@gnu.org> References: <83jzrlo5au.fsf@gnu.org> <83il75nvhr.fsf@gnu.org> <83h6mpnn98.fsf@gnu.org> <83fs29njdn.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="36690"; 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 Wed Oct 18 13:42:02 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 1qt4w5-0009JO-Vo for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Oct 2023 13:42:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qt4vh-0007T0-Nj; Wed, 18 Oct 2023 07:41: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 1qt4vg-0007Ss-VZ for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 07:41:36 -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 1qt4vg-0007uW-NU for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 07:41:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qt4w6-0002B8-DQ for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 07:42: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: Wed, 18 Oct 2023 11:42: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.16976292808315 (code B ref 66589); Wed, 18 Oct 2023 11:42:02 +0000 Original-Received: (at 66589) by debbugs.gnu.org; 18 Oct 2023 11:41:20 +0000 Original-Received: from localhost ([127.0.0.1]:33374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qt4vQ-0002A2-6L for submit@debbugs.gnu.org; Wed, 18 Oct 2023 07:41:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qt4vO-00029p-SE for 66589@debbugs.gnu.org; Wed, 18 Oct 2023 07:41:19 -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 1qt4ut-0007lw-3b; Wed, 18 Oct 2023 07:40:47 -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=eJD/4yru+Myf6Kn45x7d3OlhSWMBoq6k5qfhRmrRiB8=; b=eiNvKBYrlXCGjycyWWiA ydpVpQIZjDmkapLIQ+PpHZykae+2F5Wvr874m0JynNmdfH3M/x7P2+rDFjjuNtRGHVsg5az6LDUAc dj1VOUAUpxu+zMCHnDMhUJzlssCysxJwvEBie0kuCPDAmSL0TZYkka8sxkPsp4WQwPxdCrsQDIS7r xMwhSBjmcV3PyBHPNpApndJZEY5+7h5StlhkMSjs6L6daaYkeoo7XSWVjgAIFhRQrobbUucK1NNq9 A+FhzHLp2yzm6karhaxTOXbXT/+0RH6JzBznt2RFAGjw05eHere9XMx6RQFeonHEz0neUcdjDMUV6 6/HeqDuZHRdqxA==; In-Reply-To: (message from Evgeny Zajcev on Tue, 17 Oct 2023 22:37:08 +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:272649 Archived-At: > From: Evgeny Zajcev > Date: Tue, 17 Oct 2023 22:37:08 +0300 > Cc: 66589@debbugs.gnu.org > > > (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 > > (gdb) frame 18 > #18 produce_glyphless_glyph (it=0x7ffef46c5660, for_no_font=for_no_font@entry=false, > acronym=acronym@entry=XIL(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 = 5287 > (gdb) p current_thread->m_current_buffer->zv_byte > $11 = 14409 > (gdb) p current_thread->m_current_buffer->text->beg[14350]@100 > $12 = ' ' , "11:09\n(Д) Дени", ' ' > (gdb) > > Take into account that char between (Д) and Дени из 0xa0, not a regular space. My gmail web > interface might changed it Very strange. This means that both it->char_to_display and it->c are bogus, and I have no idea how this could happen. So it is very important that you try to provide a reproduction recipe for this. I will nevertheless try to see if I can figure out how such a situation could ever happen.