all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 27761@debbugs.gnu.org, charles@aurox.ch, denis.redozubov@gmail.com
Subject: bug#27761: Crash while using proof-general/company-coq on OS X
Date: Fri, 04 Aug 2017 09:16:12 +0900	[thread overview]
Message-ID: <wl1sosfar7.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <83y3r0y69f.fsf@gnu.org>

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

>>>>> On Thu, 03 Aug 2017 19:18:20 +0300, Eli Zaretskii <eliz@gnu.org> said:

>> The recent post on gdb session implies it has something to do with
>> the string " 163" and overlays.  The key point to reproduce it was
>> to turn on linum-mode.  Without linum-mode, the above procedure did
>> not crash.

> Yes, I guess 163 is the line number?

I think so, too.  On my environment, it->object (and it->string) is a
Lisp string " 164".  The value of it->current.pos.charpos is 4139
rather than OP's 4138.  Perhaps the text is slightly different.

> The problem has to do with something that prevents the display
> engine to pop the iterator state from the stack when it reaches the
> end of a Lisp string (" 163") which it needs to display.  I'm trying
> to understand why this happens, my guess is that some condition
> somewhere is not working as expected, perhaps because the display of
> the string specifies padding with blanks (or so it seems).

I noticed that if I turn off prettify-symbol-mode, then it does not
crash.  Attached are the screenshots with and without
prettify-symbol-mode: the former crashes and the latter does not.  The
original contents of Line 164 is

forall T1, 1 <= size_typ T1.

and the strings "forall" and "<=" are composed by the following
prettify-symbols-alist value:

(("|-" . 8866)
 ("||" . 8214)
 ("/\\" . 8743)
 ("\\/" . 8744)
 ("->" . 8594)
 ("<-" . 8592)
 ("<->" . 8596)
 ("=>" . 8658)
 ("<=" . 8804)
 (">=" . 8805)
 ("<>" . 8800)
 ("True" . 8868)
 ("False" . 8869)
 ("fun" . 955)
 ("forall" . 8704)
 ("exists" . 8707)
 ("nat" . 8469)
 ("Prop" . 8473)
 ("Real" . 8477)
 ("bool" . 120121)
 (">->" . 8611)
 ("-->" . 10230)
 ("<--" . 10229)
 ("<-->" . 10231)
 ("==>" . 10233)
 ("<==" . 10232)
 ("~~>" . 10239)
 ("<~~" . 11059))

			     YAMAMOTO Mitsuharu
			mituharu@math.s.chiba-u.ac.jp

[-- Attachment #2: pg-crash.png --]
[-- Type: image/png, Size: 353956 bytes --]

[-- Attachment #3: pg-notcrash.png --]
[-- Type: image/png, Size: 470871 bytes --]

      parent reply	other threads:[~2017-08-04  0:16 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-19  2:50 bug#27761: Crash while using proof-general/company-coq on OS X Денис Редозубов
2017-07-19 13:08 ` John Wiegley
2017-07-19 17:00   ` Eli Zaretskii
2017-07-19 17:47     ` John Wiegley
2017-07-19 18:07       ` Eli Zaretskii
2017-07-19 18:34         ` John Wiegley
2017-07-19 18:40           ` Eli Zaretskii
2017-07-19 19:03             ` Денис Редозубов
2017-07-19 19:08 ` Charles A. Roelli
2017-07-19 19:12   ` Charles A. Roelli
2017-07-19 19:20   ` Денис Редозубов
2017-07-20  5:43     ` Eli Zaretskii
2017-07-20  6:20       ` Charles A. Roelli
2017-07-20 18:54     ` Charles A. Roelli
2017-07-20 19:11       ` Eli Zaretskii
2017-07-20 20:06         ` Денис Редозубов
2017-07-21  2:17           ` Денис Редозубов
2017-07-21  4:58             ` Charles A. Roelli
2017-07-21 18:43             ` Charles A. Roelli
2017-07-21 19:12               ` Eli Zaretskii
2017-07-24 16:58                 ` Glenn Morris
2017-07-24 17:02                   ` Eli Zaretskii
2017-07-26 19:42                     ` Charles A. Roelli
2017-07-27 13:12                       ` Денис Редозубов
2017-07-28 18:48                         ` Charles A. Roelli
2017-07-28 19:11                           ` Eli Zaretskii
2017-07-29 20:03                             ` Денис Редозубов
2017-07-30  2:30                               ` Eli Zaretskii
2017-07-30 15:13                                 ` Денис Редозубов
2017-07-30 15:16                                   ` Eli Zaretskii
2017-07-31 19:10                                   ` Charles A. Roelli
2017-07-31 19:12                                     ` Charles A. Roelli
2017-08-01 18:22                                       ` Денис Редозубов
2017-08-01 19:12                                         ` Eli Zaretskii
2017-08-01 21:05                                           ` Денис Редозубов
2017-08-01 22:27                                             ` John Wiegley
2017-08-01 22:48                                               ` Денис Редозубов
2017-08-02  3:25                                                 ` Eli Zaretskii
2017-08-02  7:29                                                 ` John Wiegley
2017-08-02  7:53                                                   ` Денис Редозубов
2017-08-02 17:32                                                     ` Eli Zaretskii
2017-08-03  8:10                                                       ` Денис Редозубов
2017-08-03 16:14                                                         ` Eli Zaretskii
2017-08-04  1:23                                                       ` YAMAMOTO Mitsuharu
2017-08-04  5:03                                                         ` YAMAMOTO Mitsuharu
2017-08-04  8:24                                                           ` Eli Zaretskii
2017-08-07  6:16                                                             ` YAMAMOTO Mitsuharu
2017-08-07 17:51                                                               ` Eli Zaretskii
2017-08-07 21:27                                                                 ` Денис Редозубов
2017-08-08  2:28                                                                   ` Eli Zaretskii
2017-08-07 23:06                                                                 ` John Wiegley
2017-08-08  2:33                                                                   ` Eli Zaretskii
2017-08-08  7:24                                                                     ` John Wiegley
2017-08-08  0:23                                                                 ` YAMAMOTO Mitsuharu
2017-08-08  2:31                                                                   ` Eli Zaretskii
2017-08-04  8:17                                                         ` Eli Zaretskii
2017-08-02  3:22                                             ` Eli Zaretskii
2017-07-25  1:15               ` John Wiegley
2017-07-21  5:52           ` Eli Zaretskii
2017-08-03  8:36     ` YAMAMOTO Mitsuharu
2017-08-03 16:18       ` Eli Zaretskii
2017-08-03 21:16         ` Денис Редозубов
2017-08-04  0:16         ` YAMAMOTO Mitsuharu [this message]

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=wl1sosfar7.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=27761@debbugs.gnu.org \
    --cc=charles@aurox.ch \
    --cc=denis.redozubov@gmail.com \
    --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.