From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Date: Sat, 28 Nov 2015 15:13:14 +0100 Message-ID: <5659B67A.8030004@gmx.at> References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <5656E430.8030809@yandex.ru> <565709C9.8080306@gmx.at> <83io4ovjho.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020901010503030907020503" X-Trace: ger.gmane.org 1448720063 20538 80.91.229.3 (28 Nov 2015 14:14:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2015 14:14:23 +0000 (UTC) Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 28 15:14:10 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 1a2gGO-0008QB-69 for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Nov 2015 15:14:08 +0100 Original-Received: from localhost ([::1]:60901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2gGR-0005sM-De for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Nov 2015 09:14:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2gGM-0005s5-Ku for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 09:14:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2gGJ-0005Y1-CZ for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 09:14:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2gGJ-0005Xx-8q for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 09:14:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a2gGI-00076Q-N5 for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 09:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Nov 2015 14:14:02 +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.144872002727270 (code B ref 22012); Sat, 28 Nov 2015 14:14:02 +0000 Original-Received: (at 22012) by debbugs.gnu.org; 28 Nov 2015 14:13:47 +0000 Original-Received: from localhost ([127.0.0.1]:57645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2gG2-00075l-0M for submit@debbugs.gnu.org; Sat, 28 Nov 2015 09:13:46 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:53269) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2gFh-00075G-DQ for 22012@debbugs.gnu.org; Sat, 28 Nov 2015 09:13:44 -0500 Original-Received: from [192.168.1.100] ([213.162.68.93]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LvE2c-1aTWVi02eg-010MEU; Sat, 28 Nov 2015 15:13:24 +0100 In-Reply-To: <83io4ovjho.fsf@gnu.org> X-Provags-ID: V03:K0:9cR54qG+LKjy5IlhMz+eCuKn51ZnUBnbo5NHRYX2hfZAkRCS1V6 GnjR4HHb7E+PdTj/U0l+/Pev++sn61GXBIlWbKDWL7XLOuASTeTV7T1h3ydIXKoOrfFobZc tD3Die1aruVObXM2N0O2vvA+VrtMuXt4FIyhp1JXsfm2BfJdkfqQPLAZcY9VL++VD34xrru fVGV3jHQCHWci2z/xXCEA== X-UI-Out-Filterresults: notjunk:1;V01:K0:LkDUq8Twf1I=:QfOVmKpHrXM8EWldfeTL/X w/cl+Y3VBvaDPN9rb95RMcxpEfzwkTwDMk3vdIP8XvoLzvxRsm43dhWNEdFcGDJ7e4lzViQmC SaqXRGmOCmnePadOr8SiEfA6pOSoc5K6zC/6h43r1Yay28mhgXrKZC1EjW8TD3DRovZQLxaZp qxrKmpbsO8j9myuRHsMHCiqAFWf1aYuOUXtNq5WwUmzp+Ll/rXQAiKgnbYMwku4iJ6FLREwGf DNmP454tjKvfiTD96n4W+Hc23JnHr965NR0JEDcYhmZB6LSYf1ufcbBP0uqjNu9AwiWuzD/Tb Urzn8/RgPIzJHc7B12JDNmaFYuFxxbA5aZRI/CQMG0luzSTqeVLr96WdgU5pnjmJRykGJOuYZ k3bkBrEjPUdmuL689C8aLbbbv5Yh3fawMt7OmNJhfubTieMDk1WWJLQz/omT/CIhp/6muyMh3 SFMWJHtFgcr8WRucpIlRPG5cD2ssYrROiu8B+IERDrbZa75ATw2L2iWRQ9AWwXKu4YD8X9DTf ftOmK5C1Ern7dcC18susrUemyzv6lEKSkxDHEixQofy9lS6+asUsjFSuxAbKWpFyFlHfMaH6e BjcyRdukIz41EMP3422OdW286j35WixUivF0HQCCfGK0NloBbJl0p/BvGLgZptwLflMSNL/hU 7tp8G4E51C5k2DPsypV4x6sQxNBuhUdBauTvhwad2MycghUSAn/vfx/4xFm6WONflouLJeMZ/ 52la6qHjPvPe/x/Z1bXwJ+atG4svojo1hBJ4INMYF9gT3Pw8OVcY4ZQDXj5KfETOVDRrKUp/ 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:109363 Archived-At: This is a multi-part message in MIME format. --------------020901010503030907020503 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Can you switch to that buffer and look what's at point? And while at > that, post here the full contents of that buffer? It just happened again while debugging xdisp.c. The buffer is called *partial-output-emacs.exe* (with a leading space) it contains 2295 characters and its position of point was 2. The contents of that buffer are hopefully in the attached file partial-output-emacs.txt (for reasons that elude me I was not able to inline them with Thunderbird). The contents of *backtrace* are: Debugger entered--Lisp error: (json-string-format "doesn't start with `\"'!") signal(json-string-format ("doesn't start with `\"'!")) (if (char-equal (json-peek) 34) nil (message "%s ... %s" (current-buffer) (point)) (signal (quote json-string-format) (list "doesn't start with `\"'!"))) json-read-string() json-read-object() apply(json-read-object nil) json-read() gdb-json-read-buffer(nil nil) gdb-json-partial-output() gdb-thread-list-handler-custom() gdb-thread-list-handler() apply(gdb-thread-list-handler nil) (save-current-buffer (set-buffer #) (apply (quote gdb-thread-list-handler) args)) (with-current-buffer # (apply (quote gdb-thread-list-handler) args)) (lambda (&rest args) (with-current-buffer # (apply (quote gdb-thread-list-handler) args)))() gdb-handle-reply(57) gdb-done-or-error("57" done "threads=[{id=\"3\",target-id=\"Thread 2608.0xa60\",frame={level=\"0\",addr=\"0x7c91eb94\",func=\"ntdll!LdrAccessResource\",args=[],from=\"C:\\\\WINDOWS\\\\system32\\\\ntdll.dll\"},state=\"stopped\"},{id=\"2\",target-id=\"Thread 2608.0xa64\",frame={level=\"0\",addr=\"0x7c91eb94\",func=\"ntdll!LdrAccessResource\",args=[],from=\"C:\\\\WINDOWS\\\\system32\\\\ntdll.dll\"},state=\"stopped\"},{id=\"1\",target-id=\"Thread 2608.0xb0c\",frame={level=\"0\",addr=\"0x0105ee62\",func=\"redisplay_internal\",args=[],file=\"../../src/xdisp.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\xdisp.c\",line=\"13512\"},state=\"stopped\"}],current-thread-id=\"1\"" t) gdb-done("57" "threads=[{id=\"3\",target-id=\"Thread 2608.0xa60\",frame={level=\"0\",addr=\"0x7c91eb94\",func=\"ntdll!LdrAccessResource\",args=[],from=\"C:\\\\WINDOWS\\\\system32\\\\ntdll.dll\"},state=\"stopped\"},{id=\"2\",target-id=\"Thread 2608.0xa64\",frame={level=\"0\",addr=\"0x7c91eb94\",func=\"ntdll!LdrAccessResource\",args=[],from=\"C:\\\\WINDOWS\\\\system32\\\\ntdll.dll\"},state=\"stopped\"},{id=\"1\",target-id=\"Thread 2608.0xb0c\",frame={level=\"0\",addr=\"0x0105ee62\",func=\"redisplay_internal\",args=[],file=\"../../src/xdisp.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\xdisp.c\",line=\"13512\"},state=\"stopped\"}],current-thread-id=\"1\"" t) gdbmi-bnf-incomplete-record-result("57" (gdb-done . progressive)) #[0 "\302\300\301\242\"\207" ["57" ((gdb-done . progressive)) gdbmi-bnf-incomplete-record-result] 3]() gdbmi-bnf-result-and-async-record-impl() gdbmi-bnf-async-record() gdbmi-bnf-out-of-band-record() gdbmi-bnf-output() gud-gdbmi-marker-filter("~\"Continuing.\\n\"\n^running\n*running,thread-id=\"1\"\n(gdb) \n*running,thread-id=\"all\"\n&\"warning: frame 01b50060 (emacs@MACHNO) obscured\\n\"\n&\"\\n\"\n=breakpoint-modified,bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0105ee62\",func=\"redisplay_internal\",file=\"../../src/xdisp.c\",fullname=\"c:\\\\\\\\emacs-git\\\\\\\\trunk\\\\\\\\src\\\\\\\\xdisp.c\",line=\"13512\",times=\"13\",original-location=\"xdisp.c:13512\"}\n~\"\\nBreakpoint \"\n~\"3, redisplay_internal () at ../../src/xdisp.c:13512\\n\"\n~\"13512\\t if ((!NILP (echo_area_buffer[0]) && !display_last_displayed_message_p)\\n\"\n*stopped,reason=\"breakpoint-hit\",disp=\"keep\",bkptno=\"3\",frame={addr=\"0x0105ee62\",func=\"redisplay_internal\",args=[],file=\"../../s rc/xdisp.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\xdisp.c\",line=\"13512\"},thread-id=\"1\",stopped-threads=\"all\"\n(gdb) \n") apply(gud-gdbmi-marker-filter "~\"Continuing.\\n\"\n^running\n*running,thread-id=\"1\"\n(gdb) \n*running,thread-id=\"all\"\n&\"warning: frame 01b50060 (emacs@MACHNO) obscured\\n\"\n&\"\\n\"\n=breakpoint-modified,bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0105ee62\",func=\"redisplay_internal\",file=\"../../src/xdisp.c\",fullname=\"c:\\\\\\\\emacs-git\\\\\\\\trunk\\\\\\\\src\\\\\\\\xdisp.c\",line=\"13512\",times=\"13\",original-location=\"xdisp.c:13512\"}\n~\"\\nBreakpoint \"\n~\"3, redisplay_internal () at ../../src/xdisp.c:13512\\n\"\n~\"13512\\t if ((!NILP (echo_area_buffer[0]) && !display_last_displayed_message_p)\\n\"\n*stopped,reason=\"breakpoint-hit\",disp=\"keep\",bkptno=\"3\",frame={addr=\"0x0105ee62\",func=\"redisplay_internal\",args=[],file=\". ./../src/xdisp.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\xdisp.c\",line=\"13512\"},thread-id=\"1\",stopped-threads=\"all\"\n(gdb) \n") gud-marker-filter("~\"Continuing.\\n\"\n^running\n*running,thread-id=\"1\"\n(gdb) \n*running,thread-id=\"all\"\n&\"warning: frame 01b50060 (emacs@MACHNO) obscured\\n\"\n&\"\\n\"\n=breakpoint-modified,bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0105ee62\",func=\"redisplay_internal\",file=\"../../src/xdisp.c\",fullname=\"c:\\\\\\\\emacs-git\\\\\\\\trunk\\\\\\\\src\\\\\\\\xdisp.c\",line=\"13512\",times=\"13\",original-location=\"xdisp.c:13512\"}\n~\"\\nBreakpoint \"\n~\"3, redisplay_internal () at ../../src/xdisp.c:13512\\n\"\n~\"13512\\t if ((!NILP (echo_area_buffer[0]) && !display_last_displayed_message_p)\\n\"\n*stopped,reason=\"breakpoint-hit\",disp=\"keep\",bkptno=\"3\",frame={addr=\"0x0105ee62\",func=\"redisplay_internal\",args=[],file=\"../../src/xdi sp.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\xdisp.c\",line=\"13512\"},thread-id=\"1\",stopped-threads=\"all\"\n(gdb) \n") gud-filter(# "~\"Continuing.\\n\"\n^running\n*running,thread-id=\"1\"\n(gdb) \n*running,thread-id=\"all\"\n&\"warning: frame 01b50060 (emacs@MACHNO) obscured\\n\"\n&\"\\n\"\n=breakpoint-modified,bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0105ee62\",func=\"redisplay_internal\",file=\"../../src/xdisp.c\",fullname=\"c:\\\\\\\\emacs-git\\\\\\\\trunk\\\\\\\\src\\\\\\\\xdisp.c\",line=\"13512\",times=\"13\",original-location=\"xdisp.c:13512\"}\n~\"\\nBreakpoint \"\n~\"3, redisplay_internal () at ../../src/xdisp.c:13512\\n\"\n~\"13512\\t if ((!NILP (echo_area_buffer[0]) && !display_last_displayed_message_p)\\n\"\n*stopped,reason=\"breakpoint-hit\",disp=\"keep\",bkptno=\"3\",frame={addr=\"0x0105ee62\",func=\"redisplay_internal\",args=[],fi le=\"../../src/xdisp.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\xdisp.c\",line=\"13512\"},thread-id=\"1\",stopped-threads=\"all\"\n(gdb) \n") martin --------------020901010503030907020503 Content-Type: text/plain; charset=windows-1252; name="partial-output-emacs.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="partial-output-emacs.txt" e3t7IkJyZWFrcG9pbnRUYWJsZSI6eyJucl9yb3dzIjoiMyIsIm5yX2NvbHMiOiI2IiwiaGRy IjpbeyJ3aWR0aCI6IjciLCJhbGlnbm1lbnQiOiItMSIsImNvbF9uYW1lIjoibnVtYmVyIiwi Y29saGRyIjoiTnVtIn0seyJ3aWR0aCI6IjE0IiwiYWxpZ25tZW50IjoiLTEiLCJjb2xfbmFt ZSI6InR5cGUiLCJjb2xoZHIiOiJUeXBlIn0seyJ3aWR0aCI6IjQiLCJhbGlnbm1lbnQiOiIt MSIsAAAAAAAAAAAAAAAAAAAAAAAsImNvbGhkciI6IkRpc3AifSx7IndpZHRoIjoiMyIsImFs aWdubWVudCI6Ii0xIiwiY29sX25hbWUiOiJlbmFibGVkIiwiY29saGRyIjoiRW5iIn0seyJ3 aWR0aCI6IjEwIiwiYWxpZ25tZW50IjoiLTEiLCJjb2xfbmFtZSI6ImFkZHIiLCJjb2xoZHIi OiJBZGRyZXNzIn0seyJ3aWR0aCI6IjQwIiwiYWxpZ25tZW50IjoiMiIsImNvbF9uYW1lIjoi d2hhdCIsImNvbGhkciI6IldoYXQifV0sImJvZHkiOlt7Im51bWJlciI6IjEiLCJ0eXBlIjoi YnJlYWtwb2ludCIsImRpc3AiOiJrZWVwIiwiZW5hYmxlZCI6InkiLCJhZGRyIjoiMHgwMTE0 OWRlZSIsImZ1bmMiOiJ0ZXJtaW5hdGVfZHVlX3RvX3NpZ25hbCIsImZpbGUiOiIuLi8uLi9z cmMvZW1hY3MuYyIsImZ1bGxuYW1lIjoiYzpcXGVtYWNzLWdpdFxcdHJ1bmtcXHNyY1xcZW1h Y3MuYyIsImxpbmUiOiIzNzEiLCJ0aW1lcyI6IjAiLCJvcmlnaW5hbC1sb2NhdGlvbiI6InRl cm1pbmF0ZV9kdWVfdG9fc2lnbm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