From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83oaegvk05.fsf@gnu.org> References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1448553025 16984 80.91.229.3 (26 Nov 2015 15:50:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2015 15:50:25 +0000 (UTC) Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 26 16:50:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a1yoD-0003Ve-NG for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Nov 2015 16:50:09 +0100 Original-Received: from localhost ([::1]:51865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1yoF-0004sG-LS for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Nov 2015 10:50:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1yoB-0004qe-TS for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 10:50:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1yo8-00014W-Nk for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 10:50:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1yo8-00012g-LF for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 10:50:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a1yo8-0006pV-07 for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 10:50:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 15:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144855297426210 (code B ref 22012); Thu, 26 Nov 2015 15:50:03 +0000 Original-Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 15:49:34 +0000 Original-Received: from localhost ([127.0.0.1]:54451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1yne-0006og-6M for submit@debbugs.gnu.org; Thu, 26 Nov 2015 10:49:34 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:59320) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1ynb-0006oX-Nq for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 10:49:32 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NYF00E00I6CFV00@a-mtaout21.012.net.il> for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 17:49:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYF00EN6IMHDY50@a-mtaout21.012.net.il>; Thu, 26 Nov 2015 17:49:30 +0200 (IST) In-reply-to: <5656C1BE.400@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109290 Archived-At: > Date: Thu, 26 Nov 2015 09:24:30 +0100 > From: martin rudalics > > >> 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.)