all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Денис Редозубов" <denis.redozubov@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 27761@debbugs.gnu.org, "Charles A. Roelli" <charles@aurox.ch>
Subject: bug#27761: Crash while using proof-general/company-coq on OS X
Date: Fri, 4 Aug 2017 00:16:47 +0300	[thread overview]
Message-ID: <CAF4FV4MiJJFOGZUhLJ80SbLUPjbpsOZtVc4pnYXZ65Rm35BibQ@mail.gmail.com> (raw)
In-Reply-To: <83y3r0y69f.fsf@gnu.org>

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

Glad to help, Eli!

(gdb) p it->stop_charpos
$18 = 4
(gdb) p it->end_charpos
$19 = 4
(gdb) p it->stack[1].string
$20 = Python Exception <type 'exceptions.AttributeError'> 'NoneType' object
has no attribute 'value':

(gdb) xstring
$21 = (struct Lisp_String *) 0x10da1edd0
" "
(gdb) p it->stack[1].current
$22 = {
  pos = {
    charpos = 4138,
    bytepos = 4138
  },
  overlay_string_index = 0,
  string_pos = {
    charpos = 1,
    bytepos = 1
  },
  dpvec_index = -1
}
(gdb) p it->stack[1].stop_charpos
$23 = 1
(gdb) p it->stack[1].end_charpos
$24 = 1
(gdb) p it->stack[1].method
$25 = GET_FROM_STRING

2017-08-03 19:18 GMT+03:00 Eli Zaretskii <eliz@gnu.org>:

> > Date: Thu, 03 Aug 2017 17:36:49 +0900
> > From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
> > Cc: 27761@debbugs.gnu.org, "Charles A. Roelli" <charles@aurox.ch>
> >
> > Finally, I could reproduce the crash by this example with my own
> > installation of Coq, Proof General, and Company-Coq on macOS 10.12.
>
> Great, thanks for trying.
>
> > 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?
>
> 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).
>

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

  reply	other threads:[~2017-08-03 21: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         ` Денис Редозубов [this message]
2017-08-04  0:16         ` YAMAMOTO Mitsuharu

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=CAF4FV4MiJJFOGZUhLJ80SbLUPjbpsOZtVc4pnYXZ65Rm35BibQ@mail.gmail.com \
    --to=denis.redozubov@gmail.com \
    --cc=27761@debbugs.gnu.org \
    --cc=charles@aurox.ch \
    --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.