all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Evgeny Zajcev <lg.zevlg@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 66589@debbugs.gnu.org
Subject: bug#66589: 30.0.50; core dump in redisplay
Date: Tue, 17 Oct 2023 22:37:08 +0300	[thread overview]
Message-ID: <CAO=W_ZrdYqQFuYvA=v8OVVp_TTsh-TEsFNthkKMoU8s1P4TKVQ@mail.gmail.com> (raw)
In-Reply-To: <CAO=W_ZoknX-1aRzVjaAsqzCssu_Kq4LjfvVAw2_zRRNonWDG2g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]

вт, 17 окт. 2023 г. в 22:34, Evgeny Zajcev <lg.zevlg@gmail.com>:

>
>
> вт, 17 окт. 2023 г. в 22:23, Eli Zaretskii <eliz@gnu.org>:
>
>> > From: Evgeny Zajcev <lg.zevlg@gmail.com>
>> > 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› Позорище 🤦‍♂ у ФСБ только на Газель Хва",
>> > <incomplete sequence \320>
>> > (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 = ' ' <repeats 48 times>, "11:09\n(Д) Дени", ' ' <repeats 32 times>
> (gdb)
>

Take into account that char between (Д) and Дени из 0xa0, not a regular
space. My gmail web interface might changed it


-- 
lg

[-- Attachment #2: Type: text/html, Size: 3338 bytes --]

  reply	other threads:[~2023-10-17 19:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-17  9:53 bug#66589: 30.0.50; core dump in redisplay Evgeny Zajcev
2023-10-17 11:29 ` Eli Zaretskii
2023-10-17 12:34   ` Gerd Möllmann
2023-10-17 13:36   ` Evgeny Zajcev
2023-10-17 15:01     ` Eli Zaretskii
2023-10-17 15:11       ` Evgeny Zajcev
2023-10-17 15:14         ` Evgeny Zajcev
2023-10-17 17:59         ` Eli Zaretskii
2023-10-17 18:11           ` Evgeny Zajcev
2023-10-17 19:23             ` Eli Zaretskii
2023-10-17 19:34               ` Evgeny Zajcev
2023-10-17 19:37                 ` Evgeny Zajcev [this message]
2023-10-18 11:40                   ` Eli Zaretskii
2024-03-11 10:26                     ` Florian Weimer
2024-03-11 13:21                       ` Eli Zaretskii
2024-03-11 15:32                         ` Evgeny Zajcev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO=W_ZrdYqQFuYvA=v8OVVp_TTsh-TEsFNthkKMoU8s1P4TKVQ@mail.gmail.com' \
    --to=lg.zevlg@gmail.com \
    --cc=66589@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.