From: "Денис Редозубов" <denis.redozubov@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 27761@debbugs.gnu.org, John Wiegley <jwiegley@gmail.com>,
"Charles A. Roelli" <charles@aurox.ch>
Subject: bug#27761: Crash while using proof-general/company-coq on OS X
Date: Thu, 3 Aug 2017 11:10:01 +0300 [thread overview]
Message-ID: <CAF4FV4O5wy7uKofarufoxzFN1Wt_nvLRELdXJHhKoQq1wS6NRA@mail.gmail.com> (raw)
In-Reply-To: <83efstzxhu.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2008 bytes --]
(gdb) p *$12
$13 = {
size = 4,
size_byte = -1,
intervals = 0x102a31430,
data = 0x11433f500 " 163"
}
(gdb) up
#10438 0x00000001000393d4 in get_next_display_element (it=0x7fff5fbd5bb0)
at xdisp.c:7324
7324 success_p = get_next_display_element (it);
(gdb) p it->current
$14 = {
pos = {
charpos = 4138,
bytepos = 4138
},
overlay_string_index = -1,
string_pos = {
charpos = 6,
bytepos = 6
},
dpvec_index = -1
}
(gdb) p it->sp
$15 = 2
(gdb) p it->string
$16 = Python Exception <type 'exceptions.AttributeError'> 'NoneType' object
has no attribute 'value':
(gdb) xstring
$17 = (struct Lisp_String *) 0x10da1ee10
" 163"
2017-08-02 20:32 GMT+03:00 Eli Zaretskii <eliz@gnu.org>:
> > From: Денис Редозубов <denis.redozubov@gmail.com>
> > Date: Wed, 2 Aug 2017 10:53:20 +0300
> > Cc: Eli Zaretskii <eliz@gnu.org>, 27761@debbugs.gnu.org,
> > "Charles A. Roelli" <charles@aurox.ch>
> >
> > 7324 success_p = get_next_display_element (it);
> > (gdb) p it->current
> > $7 = {
> > pos = {
> > charpos = 4138,
> > bytepos = 4138
> > },
> > overlay_string_index = -1,
> > string_pos = {
> > charpos = 6,
> > bytepos = 6
> > },
> > dpvec_index = -1
> > }
> > (gdb) p it->sp
> > $8 = 2
> > (gdb) p it->object
> > $9 = Python Exception <type 'exceptions.AttributeError'> 'NoneType'
> object has no attribute 'value':
> >
> > (gdb) xtype
> > Lisp_String
> > (gdb) p it->position
> > $10 = {
> > charpos = 0,
> > bytepos = 0
> > }
> > (gdb) p it->string
> > $11 = Python Exception <type 'exceptions.AttributeError'> 'NoneType'
> object has no attribute 'value':
> >
> > (gdb) xstring
> > $12 = (struct Lisp_String *) 0x10da1ee10
> > " 163"
>
> Thanks. The "charpos = 6" part puzzles me, because the string is only
> 4 characters long. What does this produce:
>
> (gdb) p *$12
> (gdb) up
> (gdb) p it->current
> (gdb) p it->sp
> (gdb) p it->string
> (gdb) xstring
>
[-- Attachment #2: Type: text/html, Size: 3314 bytes --]
next prev parent reply other threads:[~2017-08-03 8:10 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 ` Денис Редозубов [this message]
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
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=CAF4FV4O5wy7uKofarufoxzFN1Wt_nvLRELdXJHhKoQq1wS6NRA@mail.gmail.com \
--to=denis.redozubov@gmail.com \
--cc=27761@debbugs.gnu.org \
--cc=charles@aurox.ch \
--cc=eliz@gnu.org \
--cc=jwiegley@gmail.com \
/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.