all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 35429@debbugs.gnu.org
Subject: bug#35429: 27.0.50; Arbitrary xdisp.c related crashes when working with overlay-using packages
Date: Fri, 26 Apr 2019 10:08:30 -0400	[thread overview]
Message-ID: <CAFyQvY3JZ_FVR0FSwQ_h9XeggGVeSuQgEdctGNtTexDchS=wdg@mail.gmail.com> (raw)
In-Reply-To: <83ef5pxmjc.fsf@gnu.org>

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

On Fri, Apr 26, 2019 at 3:18 AM Eli Zaretskii <eliz@gnu.org> wrote:

>
> I doubt that the beacon package is where the bug is, so I was asking
> whether a previous version of master didn't have this problem.  Or are
> you saying that you only started using the beacon package a few weeks
> ago?
>

No, I have been using beacon package for few years now.


> > If you mean the presence of Unicode characters, then I have the unicode
> box drawing characters too. The Org
> > file content is not 100% 8-bit ASCII.
>
> Not even its first 2874 characters?
>

Those characters are in the buffer, not overlay. And they are not in the
first 2874 characters.
Here are the roughly first 3000 chars of that Org buffer: http://ix.io/1Hgv

Note that at many places in that snippet, I have "=>" characters which I
replace with a unicode symbol via prettify-symbols mode. E.g. "=>" is
replaced with:

             position: 5434 of 8347 (65%), column: 35
            character:  (displayed as ) (codepoint 59428, #o164044,
#xe824)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0xE824
               syntax: w     which means: word
             category: L:Left-to-right (strong)
             to input: type "C-x 8 RET e824"
          buffer code: #xEE #xA0 #xA4
            file code: #xEE #xA0 #xA4 (encoded by coding system utf-8-unix)
              display: by this font (glyph code)
    xft:-unknown-PragmataPro-normal-normal-normal-*-17-*-*-*-*-0-iso10646-1
(#x11D5)

Character code properties: customize what to show
  general-category: Co (Other, Private Use)
  decomposition: (59428) ('')

There are text properties here:
  fontified            nil

Would that be causing a problem?

Here is my entire set of ligature substitution using prettify-symbols:
http://ix.io/1Hgw/elisp



> By "unoptimized" I mean '-O0 -ggdb3'.  -Og still optimizes, it just
> avoids optimizations that make debugging exceptionally hard.
>

Understood. Thank you, will build with -O0 -ggdb3 going forward.


> What are the values of these:
>
>   (gdb) p current_buffer->pt
>   (gdb) p current_buffer->pt_byte
>   (gdb) p current_buffer->text->gpt
>   (gdb) p current_buffer->text->gpt_byte
>   (gdb) p current_buffer->begv
>   (gdb) p current_buffer->begv_byte
>   (gdb) p current_buffer->zv
>   (gdb) p current_buffer->zv_byte
>

(gdb) p current_buffer->pt
$1 = 1406
(gdb) p current_buffer->pt_byte
$2 = 1418
(gdb) p current_buffer->text->gpt
$3 = 1
(gdb) p current_buffer->text->gpt_byte
$4 = 1
(gdb) p current_buffer->begv
$5 = 1
(gdb) p current_buffer->begv_byte
$6 = 1
(gdb) p current_buffer->zv
$7 = 20122
(gdb) p current_buffer->zv_byte
$8 = 20804
(gdb)

 Thank you.

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

  reply	other threads:[~2019-04-26 14:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-25 15:36 bug#35429: 27.0.50; Arbitrary xdisp.c related crashes when working with overlay-using packages Kaushal Modi
2019-04-25 20:25 ` Eli Zaretskii
2019-04-25 20:39   ` Kaushal Modi
2019-04-26  7:17     ` Eli Zaretskii
2019-04-26 14:08       ` Kaushal Modi [this message]
2019-04-26 18:08         ` Eli Zaretskii
2019-04-26 18:22           ` Kaushal Modi
2019-04-26 18:32             ` Eli Zaretskii
2019-04-26 18:34               ` Kaushal Modi
2019-04-26 19:04                 ` Eli Zaretskii
2019-04-26 19:12                   ` Kaushal Modi
2019-04-26 19:25                     ` Eli Zaretskii
2019-04-26 19:39                       ` Kaushal Modi
2019-04-26 19:43                         ` Eli Zaretskii
2019-05-01 15:45                           ` Kaushal Modi
2019-05-01 17:19                             ` Eli Zaretskii
2019-04-26 19:43                         ` Kaushal Modi

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='CAFyQvY3JZ_FVR0FSwQ_h9XeggGVeSuQgEdctGNtTexDchS=wdg@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=35429@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.