GNU bug report logs - #22012
25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!")

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Wed, 25 Nov 2015 17:50:02 UTC

Severity: normal

Found in version 25.1.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 22012 <at> debbugs.gnu.org, dgutov <at> 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
> Date: Thu, 26 Nov 2015 09:24:30 +0100
> From: martin rudalics <rudalics <at> 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.)




This bug report was last modified 7 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.