From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru
Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!")
Date: Thu, 26 Nov 2015 17:49:14 +0200 [thread overview]
Message-ID: <83oaegvk05.fsf@gnu.org> (raw)
In-Reply-To: <5656C1BE.400@gmx.at>
> Date: Thu, 26 Nov 2015 09:24:30 +0100
> From: martin rudalics <rudalics@gmx.at>
>
> >> Setting a breakpoint in gdb currently fails with a message like
> >>
> >>
> >> Debugger entered--Lisp error: (json-string-format "doesn't start with
> >> `\"'!")
> >> signal(json-string-format ("doesn't start with `\"'!"))
> >> json-read-string()
> >> json-read-object()
> >> apply(json-read-object nil)
> >> json-read()
> >> json-read-object()
> >> apply(json-read-object nil)
> >> json-read()
> >
> > Could you find out the contents of the buffer it's trying to read?
>
> I'm trying to debug window.c. But I have no idea if that's what
> ‘json-read-string’ tries to read.
It is reading from the buffer where we insert the GDB response, you
can see that as a string in the backtrace you posted.
Martin, can you try coming up with a reproducible recipe? It's hard
to debug a problem that one cannot reproduce. (I tried to start
gdb-mi and step a few steps through the Emacs code, but never saw the
problem.)
next prev parent reply other threads:[~2015-11-26 15:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 17:49 bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") martin rudalics
2015-11-26 2:34 ` Dmitry Gutov
2015-11-26 8:24 ` martin rudalics
2015-11-26 10:51 ` Dmitry Gutov
2015-11-26 13:31 ` martin rudalics
2015-11-26 14:26 ` Dmitry Gutov
2015-11-26 16:58 ` martin rudalics
2015-11-26 17:36 ` Dmitry Gutov
2015-11-26 17:58 ` Eli Zaretskii
2015-11-26 16:00 ` Eli Zaretskii
2015-11-28 14:13 ` martin rudalics
2015-11-28 14:34 ` Eli Zaretskii
2015-11-28 15:48 ` martin rudalics
2015-11-28 16:32 ` Eli Zaretskii
2015-11-30 13:40 ` martin rudalics
2015-11-30 15:56 ` Eli Zaretskii
2015-11-26 15:49 ` Eli Zaretskii [this message]
2015-11-26 16:58 ` martin rudalics
2015-11-26 17:14 ` Eli Zaretskii
2018-02-13 10:22 ` martin rudalics
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=83oaegvk05.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=22012@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=rudalics@gmx.at \
/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.