[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start wit
From: |
Eli Zaretskii |
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 |
> 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.)
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), (continued)
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), Eli Zaretskii, 2015/11/26
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), martin rudalics, 2015/11/28
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), Eli Zaretskii, 2015/11/28
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), martin rudalics, 2015/11/28
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), Eli Zaretskii, 2015/11/28
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), martin rudalics, 2015/11/30
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), Eli Zaretskii, 2015/11/30
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"),
Eli Zaretskii <=
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), martin rudalics, 2015/11/26
- bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!"), Eli Zaretskii, 2015/11/26