From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2015 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22012@debbugs.gnu.org X-Debbugs-Original-To: Bug-Gnu-Emacs Received: via spool by submit@debbugs.gnu.org id=B.144847379115003 (code B ref -1); Wed, 25 Nov 2015 17:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2015 17:49:51 +0000 Received: from localhost ([127.0.0.1]:53052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1eCT-0003tt-Sa for submit@debbugs.gnu.org; Wed, 25 Nov 2015 12:49:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46448) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1eCR-0003tl-SN for submit@debbugs.gnu.org; Wed, 25 Nov 2015 12:49:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1eCQ-000841-3Y for submit@debbugs.gnu.org; Wed, 25 Nov 2015 12:49:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: **** X-Spam-Status: No, score=4.1 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_SBL_CSS,RCVD_IN_SORBS_WEB autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1eCQ-00083x-0S for submit@debbugs.gnu.org; Wed, 25 Nov 2015 12:49:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1eCO-00045L-CF for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 12:49:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1eCK-000829-9S for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 12:49:44 -0500 Received: from mout.gmx.net ([212.227.17.22]:59751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1eCJ-000825-WB for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 12:49:40 -0500 Received: from [192.168.1.100] ([213.162.68.84]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LcBPV-1ai5sl3WDN-00jXUz for ; Wed, 25 Nov 2015 18:49:38 +0100 Message-ID: <5655F4AD.4020503@gmx.at> Date: Wed, 25 Nov 2015 18:49:33 +0100 From: martin rudalics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:B6+h2kiKD0mxUfbkGEmc27Ajc/+eXwav6YytB2/28Eg8NTd2UKO T7D3LO1wowvuxRaldEPfMs8MyFDUZ1XH6dmTJsJHsWTDpq9O7te3cHA5RgttmwkVMRgdy2f fHHI7IO7p/vItcftFhX2TrCVNZEFyKpKQ8W4fG6Ios1oVj0QoQjLmn2wXXZbATGYAQ0SIgz 533sWa9tHyVwTej7vixmQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:9THPPo50jso=:4QPXKuASlZ5ErZbCgc7Aao UEgz3TyG2StgfEiiSdX77MRoOTIp920GlxL8JhtqcGWk7nIn6mosI0aA0Pb5cJaDLNbaap2+x pQYGv6QTvTZUrNjfWieePrrrguImsdqRggTf2pFT67M9Egw7DApjUzlLgweRrphAHp7VfCnKl Cn4Eo2TwbY9gxOXIZacceZopnpA/vQnC2ETaSzOcmfJCU70NEl8lCCmMnrz3fmaMT5eVkWA/3 SI8X8t49x9RP98RJnewtVyC8LLbvdDUsuLVh1uezbt4tAjTi9UZMMNXSZnGZhJPpCLaBpWqi2 FxzgxgZMWKdaui54ibeRdEVGmG6RvuRm5klqMlqcf78+k7hEKUlMd6iJ21VRG+E1g/RHkx95d iDZU6/3OafC0GYjyRwSM4KcVlyrz+Lm0PM9fOItve2SfvC2tMtsCe2m90PYoCk12fNnCg9w3v wFiTS18WX1UzzHSTXtheTpHRaHkqvJ3IV8XNDfa8LpObsrpiEKpoYBuCy9tvOqc+eU3MZzE+B L4jJWFDb/xe32i2Xj8sS/+JBvl0NsTheuFshvVfRpsHvJv15pFrMKgInsoBZWi9n1+EEzm/bo KptZo1fXQv9BgQDAxNkAs6CKYOE0LqwPq34/wllV62qWc7KhbX1rYYyHb7indcgKiRyVSYXCN IoKjVbyGhsvBvmsKxJ3UlIv/VoOHBEK8MfFwCro9icCt6ErFAIdi2PFZA5m6G2DNe4ZfNEt5X Ytg5AiWfyUmpUR7uD4yFK+UeMY/ujLvLTE1pZMOlme+ozWSjPUKKoGext601+XEg6GoSETjDX vB8eoTkYM7/uLtgLe3JscxAzON2iQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) 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() gdb-json-read-buffer("bkpt" "script") gdb-json-partial-output("bkpt" "script") gdb-breakpoints-list-handler-custom() gdb-breakpoints-list-handler() apply(gdb-breakpoints-list-handler nil) (save-current-buffer (set-buffer #) (apply (quote gdb-breakpoints-list-handler) args)) (with-current-buffer # (apply (quote gdb-breakpoints-list-handler) args)) (lambda (&rest args) (with-current-buffer # (apply (quote gdb-breakpoints-list-handler) args)))() gdb-handle-reply(21) gdb-done-or-error("21" done "BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silen t\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}" t) gdb-done("21" "BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}" t) gdbmi-bnf-incomplete-record-result("21" (gdb-done . progressive)) #[0 "\302\300\301\242\"\207" ["21" ((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("19^error,msg=\"No registers.\"\n(gdb) \n20^done,threads=[]\n(gdb) \n21^done,BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\emacs-gi t\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}\n(gdb) \n") apply(gud-gdbmi-marker-filter "19^error,msg=\"No registers.\"\n(gdb) \n20^done,threads=[]\n(gdb) \n21^done,BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\em acs-git\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}\n(gdb) \n") gud-marker-filter("19^error,msg=\"No registers.\"\n(gdb) \n20^done,threads=[]\n(gdb) \n21^done,BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\emacs-git\\\\t runk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}\n(gdb) \n") gud-filter(# "19^error,msg=\"No registers.\"\n(gdb) \n20^done,threads=[]\n(gdb) \n21^done,BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c: \\\\emacs-git\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}\n(gdb) \n") In GNU Emacs 25.1.50.1 (i686-pc-mingw32) of 2015-11-24 Repository revision: e53b310fdecd7e3f130295b85b15289046d7a430 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Configured using: 'configure --prefix=/c/emacs-git/ CFLAGS=-O3' martin From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 02:36: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: To: martin rudalics , 22012@debbugs.gnu.org Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.14485053237690 (code B ref 22012); Thu, 26 Nov 2015 02:36:02 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 02:35:23 +0000 Received: from localhost ([127.0.0.1]:53316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1mP3-0001zv-N0 for submit@debbugs.gnu.org; Wed, 25 Nov 2015 21:35:22 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35837) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1mOj-0001zA-0x for 22012@debbugs.gnu.org; Wed, 25 Nov 2015 21:35:20 -0500 Received: by wmuu63 with SMTP id u63so4448142wmu.0 for <22012@debbugs.gnu.org>; Wed, 25 Nov 2015 18:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=/SHKOV/QAgahqIb4zo0grjSmfEuYXiD9m4jzg1xJQQY=; b=C1dUHeyde/eoLuuPeAsPEi8GO4HjlBAcsolQeOn0QDD0f493AU2VNQnqYfkzevINjr AZqbwGoY+hQxZIcJCnpEpUtGBcnlcLYvKz6V4fvv+aC/OapxTcST14p21kUTTVivBcmL 2cqPjAMQ4qx10PgzzpD9xRQ6KMmDYtGuV/UQC4GMZH2x1Ryy7kxz0/raB2dpIsZ2ZsX6 RizX62KDgOCaYeMMxDnJog0RLujdMjlotCZjskfPtqa92PfR/jxQEqWTQ5PJwu4xE8mn roi2hXLUv3ZTEA3dzs4Yf2iu4JiImO8vp7mAAUTdRdrTjx/IwRh0Bfu2xYoeV8pO+mXa EH2g== X-Received: by 10.28.32.65 with SMTP id g62mr790889wmg.81.1448505300281; Wed, 25 Nov 2015 18:35:00 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id k133sm373026wmg.18.2015.11.25.18.34.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Nov 2015 18:34:59 -0800 (PST) References: <5655F4AD.4020503@gmx.at> From: Dmitry Gutov Message-ID: <56566FD1.2050305@yandex.ru> Date: Thu, 26 Nov 2015 04:34:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <5655F4AD.4020503@gmx.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/25/2015 07:49 PM, martin rudalics wrote: > 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? A bisect would be great too, of course. Is this a recent problem? From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 08:25: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: To: Dmitry Gutov , 22012@debbugs.gnu.org Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.14485262798928 (code B ref 22012); Thu, 26 Nov 2015 08:25:02 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 08:24:39 +0000 Received: from localhost ([127.0.0.1]:53384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1rr5-0002Jv-HG for submit@debbugs.gnu.org; Thu, 26 Nov 2015 03:24:39 -0500 Received: from mout.gmx.net ([212.227.15.15]:50307) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1rr3-0002Jn-LL for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 03:24:38 -0500 Received: from [192.168.1.100] ([212.95.7.61]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MH0SI-1a5lsk3kIs-00Dmfq; Thu, 26 Nov 2015 09:24:37 +0100 Message-ID: <5656C1BE.400@gmx.at> Date: Thu, 26 Nov 2015 09:24:30 +0100 From: martin rudalics MIME-Version: 1.0 References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> In-Reply-To: <56566FD1.2050305@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:fYTOkwTNd8ADEUdSTeni4hG+DC+CjAEtLTnsMbPltqE1u6frHa0 DrRAdV6BtqcZuY6HtCM9NwulO5goamhiep/9FU6wcfP+jDfgRfvPj+H66t08TbRSAo14oO6 mCH++7zz3fso+L5GmV2DZbw0fgCQguDlSJqDqO+MsQSNcQelEY/tC8ZGCHe6EUIxZo3vNMS R2odxlGAK0YJLg03Cqvtg== X-UI-Out-Filterresults: notjunk:1;V01:K0:WUh+7SjYK6I=:HsbfTCbNFT+AOLIdlFIYWE CZoweLb8QivV+6kDp+TFxRFoL0ou0HNU2/mD7DtRssASC8xuk5PRyNPQOXWMNTYd28obiDkfu ugScEthe1npm9kgFdFTs0hpFpXcvarL9xMq3ETWwZnUvtSDimU+GBO7KISzvFYc4x8bbZtDxx 7hIqLtXVywuwHs/EynoEq6bLd0X5FS33Wew0wcu9JlJk1AcxyK7IuO72LXyU0UxsdP/XYsP7r jkVQ0fteS7yuMAGx/K6iFPc2Blfese8Gjp2jWtsRzCEQ63yq4FstnHvvM/5+ipfWEcBQauiR8 hcD2Od3YxWko6DC8bVysYO/PIafzwlPD7sMiDB0KHhDHpWnkA8cHPlcjFI/vJMEFbFDzFY4r7 YRsKlJSGVZyIWtbWmJFfibog0fM8x9jYFngL0APnl/eAn3LyZkFhSpImrBokKOXVMaukGGT/G OCjJJHWpNibTcK0W/nQn92gFtZDu4lW3BAptf4zernh0nVf50F7fReBK6f/pcqm3kr4f6WFAE YjwT+G6hVwvv+kp03wx4XiKgDbtInDe9LIuGpCQa6MmDK1CF9hEVz5c3QHurF5r2mgx4csRVq Psr4nl3mP3f2WfGCxxRY8TJ8OZtfMT3rIHclQLk9ua0Zfg8QHX5uqR4Rmvwx5gNvEZIuzdyQb PnhQr6TRZDshRh4CDzb9NrIikANpCn05DqTJZmn4NrkLs9hNoQm3cwe3rfVAv4EH3P57UyKYz wWziS4G0EgMuOMGVQKgdchNSD2eTVsyYNZmWmK1A6+4UoOFrk5xaVzNMLsy0BdQVKWg0DaQhf tbiAmsp X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> 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 =E2=80=98json-read-string=E2=80=99 tries to read. > A bisect would be great too, of course. Is this a recent problem? I've seen it yesterday for the first time. I can't reproduce it reliably but it can hit any time, often when next stepping with gdb. Also I wasn't able to reproduce it on Debian so far. Bisecting on Windows is a pain here. martin From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 10:52:01 +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: To: martin rudalics , 22012@debbugs.gnu.org Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144853511123075 (code B ref 22012); Thu, 26 Nov 2015 10:52:01 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 10:51:51 +0000 Received: from localhost ([127.0.0.1]:53448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1u9X-000607-JI for submit@debbugs.gnu.org; Thu, 26 Nov 2015 05:51:51 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35437) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1u9D-0005zS-Pb for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 05:51:50 -0500 Received: by wmuu63 with SMTP id u63so16318779wmu.0 for <22012@debbugs.gnu.org>; Thu, 26 Nov 2015 02:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=REDWQcrfgRn8fFECGZjuEUB8jCfPv7u59GIT5ShLR8g=; b=DWJCWrmUuEPhKnev1bsx/EPQMPz9HrCgtW8kgXAs6fgqkSM2HveBCA1k22x4SU6i97 DaD/fux05bGpxZSRmnH5zhBD9Gs8Cb8/oCtNC8stFOwn6vjo/RNNRmWLwwQJfUeK2/gj uCby/o1hApuAaRjpBjwgBp3m0ASoKfeum3UpoeqSo+0PICysN3OZZUahcGjWcsHB1Z0k yfM1xirMt90sN5CQZsvFCGb6zL1/YPbkpBLhzyL+GxmQf2ZGoo+LB746rF+nFLcX7HnY SR7XL/xMr2i64X1ZShcT3gvfnNBTmqjDWYrXu3pqxkTczw47yoir/QgTzLnARwdnaLWl siKQ== X-Received: by 10.194.91.234 with SMTP id ch10mr54083830wjb.69.1448535090898; Thu, 26 Nov 2015 02:51:30 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id l20sm2104822wmd.20.2015.11.26.02.51.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 02:51:30 -0800 (PST) References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> From: Dmitry Gutov Message-ID: <5656E430.8030809@yandex.ru> Date: Thu, 26 Nov 2015 12:51:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <5656C1BE.400@gmx.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/26/2015 10:24 AM, martin rudalics wrote: > I'm trying to debug window.c. But I have no idea if that's what > ‘json-read-string’ tries to read. Ah, so the problem is likely not in json.el? I figured it was. From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 13:33: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: To: Dmitry Gutov , 22012@debbugs.gnu.org Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144854472612461 (code B ref 22012); Thu, 26 Nov 2015 13:33:02 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 13:32:06 +0000 Received: from localhost ([127.0.0.1]:53484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1web-0003Eu-HH for submit@debbugs.gnu.org; Thu, 26 Nov 2015 08:32:05 -0500 Received: from mout.gmx.net ([212.227.17.21]:51290) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1weZ-0003EI-9R for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 08:32:03 -0500 Received: from [192.168.1.100] ([212.95.7.43]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LuJDv-1aQfDR1fLr-011lni; Thu, 26 Nov 2015 14:32:02 +0100 Message-ID: <565709C9.8080306@gmx.at> Date: Thu, 26 Nov 2015 14:31:53 +0100 From: martin rudalics MIME-Version: 1.0 References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <5656E430.8030809@yandex.ru> In-Reply-To: <5656E430.8030809@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:sXSRWAn54FcQWIPvGXnrGR69u3vFott+kGtJMYTxCPzccI8//C2 xav1W9YKSFJ5LrQWbwdH47BkuDnbTnnvMcHg+SM3hEVbIfp0wou36YrB4rCaGDpv6vUUTGU Tjy4pclAduvcU3X23xHDQqSns6y06Gkv4FI3Sc5fPUG+vW8gF9X1T9PBPjNvy2lK1G1CWwp jEDYF/9dQw2LoaDk0tM0w== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZXnBVJzwLOo=:mctQNEKnXjFTQZ/iwPMS6w TDF99AKLMDF/dE13iyHPAYnW6QxphgB6Qzfy0bteHrAg0CpxpN21DP1UVGZFQ/afrPCFOd3jD 30lM/CkmGDq4QR2XRVlo4KLG06mtW2lsBrRiFL6SPu2R7EXUT0u1w+3Mc/+DKr/M4glUnT5L/ HjxCe2s1YFNOrSGbHpurtO8/t+gca9s0w9uVwwNO3f0r+U74vUrT2pnGKH4rwCQpNo2UvIvNh md7tFfta34sC2aOKg1UVK/PBHPKsOxkU8/s5UM66W1u/YpprMjryNLHOL32P2HDnKOqEAjt0d JGXoVUtb/Fs0KlMUEj+e0XOQn6UABG6r3s4oYDPvVpZqRECtq5eGjoYl2frnqCPkXdmfIBkK+ 7pwXUjmqYBPNSkpO70WYod91k6hrzUsQjo448s1tBiuaeSACAlBpfMxudSvsNiTIhJqrNlcvi PVcjDMwDrtzqpqyDt69QeEJZZdagJBkYXkVBgqvMCzP018Y15WpZ/VZXwuwegfUUSSHmlNH2y Lz+qI4eVyZcRI5cRbF8T2Sfyg8F28BZINWFKevG2xPDRPE+FtxyIfU+q719Dx6Hx9MNfcPPlP 2LA54X0yzHGi0LQPAcn9d3CVGl2csbF4RC1A371v5IpgIOayJkNHknlmV25J1Bs7bPw5HY9lu AWLFleprAYkW1wrb+ekNDE23Z0Nk8NU1Wig4iUXa12NQq99TRrP65yRmwCc9kumIBh2k3/QVZ N9lqJg4lZJT9ktyBQbrNagBN2YCbXNQEd/4ArNjWaDNsb7CB4LbDO8L4TEj6H4GoMvMDsbZVT A8dUg5f X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) >> I'm trying to debug window.c. But I have no idea if that's what >> =E2=80=98json-read-string=E2=80=99 tries to read. > > Ah, so the problem is likely not in json.el? I figured it was. How would I know what what =E2=80=98json-read-string=E2=80=99 tries to re= ad at that moment? Am I supposed to instrument it? Maybe (unless (char-equal (json-peek) ?\") (signal 'json-string-format (list "doesn't start with `\"'!"))) should report the current buffer and its value of point. Anyway, if I understand the backtrace correctly, the current buffer should have been "*breakpoints of emacs.exe*". martin From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 14:27:01 +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: To: martin rudalics , 22012@debbugs.gnu.org Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144854801617510 (code B ref 22012); Thu, 26 Nov 2015 14:27:01 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 14:26:56 +0000 Received: from localhost ([127.0.0.1]:53497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1xVg-0004YM-2J for submit@debbugs.gnu.org; Thu, 26 Nov 2015 09:26:56 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36825) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1xVL-0004Xs-Ju for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 09:26:54 -0500 Received: by wmww144 with SMTP id w144so23566819wmw.1 for <22012@debbugs.gnu.org>; Thu, 26 Nov 2015 06:26:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=yUt/VvcM4hnI3Is+j/4j+BHGw3PVgFpK0kqHliU1lWQ=; b=qxnXn1vjdO3gkeYc9UWvq/q5G4f0wu6+MYCMzNfU0HljgcCj0hMWOUgyKVJqAafxO9 W46lYrwlhg6Trcf6Z4VF7H7UmWhxLPM36FUC44/SL4bsFFekSa7dbCHnJauTIrlwnm49 L+l0TDfEX240hVVus69AvXHQHLx2rV3Uggvp8JW82iVKPNd2H4b+aUapumx8COqsnTEF wMRDyB3oVSvr+IoT+QBJF/eJZe7j0hJAryfwogEZICSaYJC65a3oXQM+KA6kA2ZOLn+D xmCE5GpZJYA4Z+yynJ4OEGvM/sQqwCkneXrL0hxKEwuHm/2vVX6YVaN+vx0wRW9srg+s u2CA== X-Received: by 10.194.133.1 with SMTP id oy1mr49139117wjb.137.1448547994799; Thu, 26 Nov 2015 06:26:34 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id kj3sm28405841wjb.19.2015.11.26.06.26.32 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 06:26:33 -0800 (PST) References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <5656E430.8030809@yandex.ru> <565709C9.8080306@gmx.at> From: Dmitry Gutov Message-ID: <56571697.50702@yandex.ru> Date: Thu, 26 Nov 2015 16:26:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <565709C9.8080306@gmx.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/26/2015 03:31 PM, martin rudalics wrote: > How would I know what what ‘json-read-string’ tries to read at that > moment? Am I supposed to instrument it? Why not? Alternatively... > Maybe > > (unless (char-equal (json-peek) ?\") > (signal 'json-string-format (list "doesn't start with `\"'!"))) ...you can add a (debug) call before (signal ...). And when the debugger hits, press `e' and evaluate (buffer-string) and (point). Seeing the value of buffer-string might be sufficient if json-read is being called in a wrong buffer. > should report the current buffer and its value of point. I wouldn't mind if it did. Though that would need to be done in all such places. But for the purposes of debugging, you can modify just that function's definition to report what's required. > Anyway, if I understand the backtrace correctly, the current buffer > should have been "*breakpoints of emacs.exe*". I'm not sure what that implies. Does it have JSON content? From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") 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: To: martin rudalics Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Reply-To: Eli Zaretskii Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144855297426210 (code B ref 22012); Thu, 26 Nov 2015 15:50:03 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 15:49:34 +0000 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 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 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) 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) Date: Thu, 26 Nov 2015 17:49:14 +0200 From: Eli Zaretskii In-reply-to: <5656C1BE.400@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83oaegvk05.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > 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.) From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 16:01: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: To: martin rudalics Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Reply-To: Eli Zaretskii Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144855365627315 (code B ref 22012); Thu, 26 Nov 2015 16:01:02 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 16:00:56 +0000 Received: from localhost ([127.0.0.1]:54460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1yye-00076V-FO for submit@debbugs.gnu.org; Thu, 26 Nov 2015 11:00:56 -0500 Received: from mtaout27.012.net.il ([80.179.55.183]:53969) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1yyK-000760-42 for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 11:00:54 -0500 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NYF00L00IRGJZ00@mtaout27.012.net.il> for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 17:55:32 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYF00GPPIWJC050@mtaout27.012.net.il>; Thu, 26 Nov 2015 17:55:32 +0200 (IST) Date: Thu, 26 Nov 2015 18:00:19 +0200 From: Eli Zaretskii In-reply-to: <565709C9.8080306@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83io4ovjho.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <5656E430.8030809@yandex.ru> <565709C9.8080306@gmx.at> X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > Date: Thu, 26 Nov 2015 14:31:53 +0100 > From: martin rudalics > > >> I'm trying to debug window.c. But I have no idea if that's what > >> ‘json-read-string’ tries to read. > > > > Ah, so the problem is likely not in json.el? I figured it was. > > How would I know what what ‘json-read-string’ tries to read at that > moment? Can you switch to that buffer and look what's at point? And while at that, post here the full contents of that buffer? From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 16:59: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: To: Dmitry Gutov , 22012@debbugs.gnu.org Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.1448557111353 (code B ref 22012); Thu, 26 Nov 2015 16:59:02 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 16:58:31 +0000 Received: from localhost ([127.0.0.1]:54530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1zsN-00005c-FM for submit@debbugs.gnu.org; Thu, 26 Nov 2015 11:58:31 -0500 Received: from mout.gmx.net ([212.227.17.21]:55558) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1zsL-00005U-Og for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 11:58:30 -0500 Received: from [192.168.1.100] ([213.162.68.43]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LjdS8-1adWYO3reS-00bXgJ; Thu, 26 Nov 2015 17:58:29 +0100 Message-ID: <56573A2E.5000809@gmx.at> Date: Thu, 26 Nov 2015 17:58:22 +0100 From: martin rudalics MIME-Version: 1.0 References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <5656E430.8030809@yandex.ru> <565709C9.8080306@gmx.at> <56571697.50702@yandex.ru> In-Reply-To: <56571697.50702@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:xKHn3UBaILiI1MHtG/mNZXXdVutrSiciV6O3tqVG1FPRYQRYr82 pHEDQlldnLfIXtDQziagpNrAaC/PmuoSBmnSlLx7A6yf/GircIG9rqwMiDcUwVc1tOMmZxW fmNv+0M3oVWZDsTXdD2YoaM9I63vDNjf84jT/2ZLAOKY/5EomUY7H54HwwIhKMqJmmJ7wtu PLrQAfvVT2HiYqNRvcUFQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:8Oxs7CCS+vs=:VrigklufAJIDqpUGhSbqxd DcreH+kI8GNmYQmhumjJQDmvGx0jRGjOar27EekgQet4nDvEunUAuBr7z7cM6PV4i2XkLgF8a J5ngUv/Ligzi/WkGDbkdFp7jeaLp8xq4Jaoa1MHcSGIo5dATCe738FnZ8lbKut99bhDDGSnLY RaacI6qJxNYvDi1hx/xcUD2wsbAJiaULBmO7H7zvQesS/saAljZBAVCDYHsbQb9mm9O53csoS s1t7WK5HR8+oirHie7jsHgDiPiGhnzMb3tzturdiBgGA/sTgRoxmR0jpxHlYeGahQ6JDTX4PM i+xUEKn17ZLo/Hhm4FtPyVUi3oQhBx7oRWODzb4mGMIlHBNZ/PDHs7/Gg707gi+sKd7ao4n/R 1wxxrW+Xu5E7UnFN9VVOoqAE8FtMyx74bc33gWFXPKwpFfGqnZku2D0TTNYwiUNYzglZi/bMU i6Tqj0I0GfibA7KbDTTliv/n2SGb16Aba9IvEK9fYH3F9NXDQqlt/UjHyr5nsvbJf0adNdEE0 TB/o2fR+8QrAuYe/InwAl5sfp9wAxvr8bOUDHL4E9U1HelHePB2879dJUzV3B2qbKu6ZbTujq zDA09l0AXmi5RXPHAzcuHVp9mgaejTJ02jTMal6PReW40lgi57adaIFso2VlXyXlmOhGmTQbG oBy6L7n7UnACnCOqFOOU0FqezWGA1goqvZTG2jGewozW4PPzcbrnn/1zkxmlqoPvbY6jEHPvP icBdoOxjkwClRksEPMrOgoUn8haqgp7OrBfEe/xYntJ3C7N9KC3NPHbMWsiflutrme0WKyevm v/Ie/YdZPZRMdbwpfRTZVTJJtJKHw== X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) >> How would I know what what =E2=80=98json-read-string=E2=80=99 tries t= o read at that >> moment? Am I supposed to instrument it? > > Why not? Debugging the debugger while debugging? > Alternatively... You mean there's none? >> Maybe >> >> (unless (char-equal (json-peek) ?\") >> (signal 'json-string-format (list "doesn't start with `\"'!"))) > > ...you can add a (debug) call before (signal ...). And when the debugg= er hits, press `e' and evaluate (buffer-string) and (point). > > Seeing the value of buffer-string might be sufficient if json-read is = being called in a wrong buffer. But what is the use of the above signal when it doesn't tell me where to find the source of the problem? >> should report the current buffer and its value of point. > > I wouldn't mind if it did. Though that would need to be done in all su= ch places. Which places? > But for the purposes of debugging, you can modify just that function's= definition to report what's required. I do so already. Now it stopped complaining. Yet another Heisenbug. >> Anyway, if I understand the backtrace correctly, the current buffer >> should have been "*breakpoints of emacs.exe*". > > I'm not sure what that implies. Does it have JSON content? What is JSON content? martin From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 16:59: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: To: Eli Zaretskii Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.1448557138396 (code B ref 22012); Thu, 26 Nov 2015 16:59:02 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 16:58:58 +0000 Received: from localhost ([127.0.0.1]:54534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1zsn-00006K-TQ for submit@debbugs.gnu.org; Thu, 26 Nov 2015 11:58:58 -0500 Received: from mout.gmx.net ([212.227.17.20]:60120) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1zsm-00006A-9P for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 11:58:56 -0500 Received: from [192.168.1.100] ([213.162.68.43]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lp7d2-1aVovT11Eq-00eq7u; Thu, 26 Nov 2015 17:58:55 +0100 Message-ID: <56573A48.9040605@gmx.at> Date: Thu, 26 Nov 2015 17:58:48 +0100 From: martin rudalics MIME-Version: 1.0 References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <83oaegvk05.fsf@gnu.org> In-Reply-To: <83oaegvk05.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:82p8eiFzP3+ZxurMkUEkLQ23DwDZ66WbIYAr3HkExXyRr1lbk9X 5pOyIOwO4Tg+7SQ2UCKnrkJM/OQUpZGNopRNIgfKBSb7tDfD4RktkniEskRHaVHYWKb7mzb Jly38FgZPeLx0ZHdeptbfV+1pZn2qyoghVNJzFglu2451EHrD8XUFliTMnnj4rnX4V+1pA0 CB1JJFTVHSwIuwqCyImsQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:b/dL794RBJ8=:X1imUwEjP35bJTCUnqdDkf Jr7WJ+QHFBYlVaAZ+VWQJ41hCV6WaKgOdGOEoQIitbEvyLskpP9qwSGcsKssRIE2A2M8hL9Js gewo29l8NqjdlMUV1yhc4XeyEq4cjQp+WFxCFPwShmbgbqHFHuLl3M84cA50sAJlKvRY5qJ0A OE7QqIPCb/Owc4GwjNTxo70qBkcPT+12QYvcKgWxa5iCkb18cmZu70xSIz7u8MvZ/7NI00klS oKc0C08C3TNtKtJ3YPfTWppuUC4j7Qjk6Qkp36RYzzqL/QWwqlP4FX8cOYh2Ls46k1F1cxIFV NF0FIIrwjWgxS5D9RkKWzPM05ywby5pgTWZcTSwaDnC4ZFYl9WJPhuhmHrkryb2PZ/U9MUtzJ BYft8zLXYTnihOhKlFNj6i4ogLpMHvEREvKaiorFLxUHD1CAG70XLXQR53HMbKPEpJJKWnCxn xGVfpHXw+wyzPn1o36wYbZ+h8wsNdVv4S6MiRpyABz6qTJ3VFoVg1TxHd3NqlavwDahqM0ani 6PEzzSJmcb/q5407uxv2LBD5ZzijjkGnMbLRlHD1XfkYz1hnUYV/FNaAnASpjwXp8OevA4dG/ ZWsEV8jll9tA4RTUNN8j6WCzSzUFIBLI5oR011Rh8/ZHMbZOZeE3GdUauf+IUXrGw1z3Xp+/3 XuUdgRshzvzMxPXqMWyqEju1Ne6+ES1crH2HY/bj3HdnTgm8TqXP4B6n0y1YYkc9OeTY8ke4u afcWWZabBP3H0i+0qLW6SVARMyVud1e4fCj8YK7AU3pa/FfKKjjgIhLgLx1f6/cAY+FtaKSNu djFXDc11mxET81U76HbsRXTj/gPoQ== X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) > It is reading from the buffer where we insert the GDB response, you > can see that as a string in the backtrace you posted. You mean *breakpoints of emacs.exe*? This is the only buffer I see mentioned in the backtrace. > Martin, can you try coming up with a reproducible recipe? I would like to. Yesterday I wasn't able to get around it. Since today's morning I'm not able to reproduce it. > 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.) When I manage to reproduce it, I will post the contents of the buffer. martin From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 17:15: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: To: martin rudalics Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Reply-To: Eli Zaretskii Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.14485580591957 (code B ref 22012); Thu, 26 Nov 2015 17:15:02 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 17:14:19 +0000 Received: from localhost ([127.0.0.1]:54555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a207e-0000VU-PZ for submit@debbugs.gnu.org; Thu, 26 Nov 2015 12:14:19 -0500 Received: from mtaout26.012.net.il ([80.179.55.182]:56934) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a207d-0000VM-12 for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 12:14:17 -0500 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NYF00500MARV500@mtaout26.012.net.il> for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 19:17:06 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYF00L46MOIEHA0@mtaout26.012.net.il>; Thu, 26 Nov 2015 19:17:06 +0200 (IST) Date: Thu, 26 Nov 2015 19:14:00 +0200 From: Eli Zaretskii In-reply-to: <56573A48.9040605@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83610ovg2v.fsf@gnu.org> References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <83oaegvk05.fsf@gnu.org> <56573A48.9040605@gmx.at> X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > Date: Thu, 26 Nov 2015 17:58:48 +0100 > From: martin rudalics > CC: dgutov@yandex.ru, 22012@debbugs.gnu.org > > > It is reading from the buffer where we insert the GDB response, you > > can see that as a string in the backtrace you posted. > > You mean *breakpoints of emacs.exe*? This is the only buffer I see > mentioned in the backtrace. Yes, probably. > When I manage to reproduce it, I will post the contents of the buffer. Thanks. From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 17:37: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: To: martin rudalics , 22012@debbugs.gnu.org Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.14485594044266 (code B ref 22012); Thu, 26 Nov 2015 17:37:02 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 17:36:44 +0000 Received: from localhost ([127.0.0.1]:54622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a20TM-00016k-6d for submit@debbugs.gnu.org; Thu, 26 Nov 2015 12:36:44 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:36023) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a20TK-00016a-BO for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 12:36:42 -0500 Received: by wmww144 with SMTP id w144so29558739wmw.1 for <22012@debbugs.gnu.org>; Thu, 26 Nov 2015 09:36:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=UJ3zbxwMjsZHsn6H9GX2fblPbqvkbJgYNtPDYguBCzQ=; b=ac7zS/4bZgf6UVkFqUhsrRaizwsHYf8IL0s3WhtY+BT1gMyqO+3+93QF3zo0TJ8rnj 1ETWcrwnFl+I+bvg96UE3/z3mbdiNjLN3uXcYktJklev5fu/PHSbEbGoEPDzhGWNa1tq fY1Yx/OalmWGw4LFUObt524CwGhKRrnpqH4Exux/XKj2nvVCD/o7I5+pNxxyitPgNtAH v0tdJN5y8SLVCFkJJzQzSsw69CDF1tGU20nqOwBZc+//6y8I55OZXv0XWooYL3PeIvcY xzSXkGU9TYOElz3n9FX13aCoZwoQN0EXrDyDtjfEJQj5zihHwoOiumrKrwf1KLMVuAK7 rL9A== X-Received: by 10.194.47.134 with SMTP id d6mr50885429wjn.27.1448559401506; Thu, 26 Nov 2015 09:36:41 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id c194sm3681106wmd.13.2015.11.26.09.36.39 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 09:36:40 -0800 (PST) References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <5656E430.8030809@yandex.ru> <565709C9.8080306@gmx.at> <56571697.50702@yandex.ru> <56573A2E.5000809@gmx.at> From: Dmitry Gutov Message-ID: <56574326.1070403@yandex.ru> Date: Thu, 26 Nov 2015 19:36:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <56573A2E.5000809@gmx.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/26/2015 06:58 PM, martin rudalics wrote: > Debugging the debugger while debugging? Just debugging the debugger, I'd say. > You mean there's none? json.el is written in Lisp, so there are many ways you can get the needed information. All of them are relatively easy, IMHO. > But what is the use of the above signal when it doesn't tell me where to > find the source of the problem? I agree that it can be improved. > >> should report the current buffer and its value of point. > > > > I wouldn't mind if it did. Though that would need to be done in all > such places. > > Which places? Every place in json.el that contains "(signal 'json-", probably. We should be consistent. > > But for the purposes of debugging, you can modify just that > function's definition to report what's required. > > I do so already. Now it stopped complaining. Yet another Heisenbug. Too bad. > >> Anyway, if I understand the backtrace correctly, the current buffer > >> should have been "*breakpoints of emacs.exe*". > > > > I'm not sure what that implies. Does it have JSON content? > > What is JSON content? String in JSON format. Basically, the question is whether we're calling json-read in a wrong buffer, or if the buffer is right but contains unparseable content, or if we fail to parse valid JSON. From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 18:02:01 +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: To: Dmitry Gutov Cc: rudalics@gmx.at, 22012@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.14485608666613 (code B ref 22012); Thu, 26 Nov 2015 18:02:01 +0000 Received: (at 22012) by debbugs.gnu.org; 26 Nov 2015 18:01:06 +0000 Received: from localhost ([127.0.0.1]:54644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a20qw-0001ib-FK for submit@debbugs.gnu.org; Thu, 26 Nov 2015 13:01:06 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:63492) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a20qc-0001hm-A6 for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 13:01:05 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NYF00E00NZDPQ00@a-mtaout21.012.net.il> for 22012@debbugs.gnu.org; Thu, 26 Nov 2015 19:58:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYF00ECXOLSNG70@a-mtaout21.012.net.il>; Thu, 26 Nov 2015 19:58:41 +0200 (IST) Date: Thu, 26 Nov 2015 19:58:25 +0200 From: Eli Zaretskii In-reply-to: <56574326.1070403@yandex.ru> X-012-Sender: halo1@inter.net.il Message-id: <83ziy0tzge.fsf@gnu.org> References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <5656E430.8030809@yandex.ru> <565709C9.8080306@gmx.at> <56571697.50702@yandex.ru> <56573A2E.5000809@gmx.at> <56574326.1070403@yandex.ru> X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > From: Dmitry Gutov > Date: Thu, 26 Nov 2015 19:36:38 +0200 > > Basically, the question is whether we're calling json-read in a wrong > buffer, or if the buffer is right but contains unparseable content, or > if we fail to parse valid JSON. Definitely not the first alternative. Either the 2nd or the 3rd. From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") 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: To: Eli Zaretskii Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144872002727270 (code B ref 22012); Sat, 28 Nov 2015 14:14:02 +0000 Received: (at 22012) by debbugs.gnu.org; 28 Nov 2015 14:13:47 +0000 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 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 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 Message-ID: <5659B67A.8030004@gmx.at> Date: Sat, 28 Nov 2015 15:13:14 +0100 From: martin rudalics MIME-Version: 1.0 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> In-Reply-To: <83io4ovjho.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------020901010503030907020503" 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/S 4SdqP8zxIRhbXwXS1/luJTj6BRDLw== X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > 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). [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [213.162.68.93 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > 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). [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [213.162.68.93 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record 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=\"../../src/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/xdisp.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=[],file=\"../../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 cm1pbmF0ZV9kdWVfdG9fc2lnbmFsIn0seyJudW1iZXIiOiIyIiwidHlwZSI6ImJyZWFrcG9p bnQiLCJkaXNwIjoiZGVsIiwiZW5hYmxlZCI6InkiLCJhZGRyIjoiMHgwMTE4MWIyZSIsImZ1 bmMiOiJpbml0X3N5c19tb2RlcyIsImZpbGUiOiIuLi8uLi9zcmMvc3lzZGVwLmMiLCJmdWxs bmFtZSI6ImM6XFxlbWFjcy1naXRcXHRydW5rXFxzcmNcXHN5c2RlcC5jIiwibGluZSI6Ijkw NSIsInRpbWVzIjoiMCIsInNjcmlwdCI6WyJzaWxlbnQiLCJ4Z2V0cHRyIGdsb2JhbHMuZl9W aW5pdGlhbF93aW5kb3dfc3lzdGVtIiwieHN5bW5hbWUgJHB0ciIsInhnZXRwdHIgJHN5bW5h bWUiLCJzZXQgJHRlbSA9IChzdHJ1Y3QgTGlzcF9TdHJpbmcgKikgJHB0ciIsInNldCAkdGVt ID0gKGNoYXIgKikgJHRlbS0+ZGF0YSIsImlmICR0ZW1bMF0gPT0gJ3gnICYmICR0ZW1bMV0g PT0gJ1wwJyIsImJyZWFrIHhfZXJyb3JfcXVpdHRlciIsImVuZCIsImNvbnRpbnVlIl0sIm9y aWdpbmFsLWxvY2F0aW9uIjoiaW5pdF9zeXNfbW9kZXMifSx7Im51bWJlciI6IjMiLCJ0eXBl IjoiYnJlYWtwb2ludCIsImRpc3AiOiJrZWVwIiwiZW5hYmxlZCI6InkiLCJhZGRyIjoiMHgw MTA1ZWU2MiIsImZ1bmMiOiJyZWRpc3BsYXlfaW50ZXJuYWwiLCJmaWxlIjoiLi4vLi4vc3Jj L3hkaXNwLmMiLCJmdWxsbmFtZSI6ImM6XFxlbWFjcy1naXRcXHRydW5rXFxzcmNcXHhkaXNw LmMiLCJsaW5lIjoiMTM1MTIiLCJ0aW1lcyI6IjExIiwib3JpZ2luYWwtbG9jYXRpb24iOiJ4 ZGlzcC5jOjEzNTEyIn1dfX0iZnJhbWUiOnsibGV2ZWwiOiIwIiwiYWRkciI6IjB4MDEwNWVl NjIiLCJmdW5jIjoicmVkaXNwbGF5X2ludGVybmFsIiwiZmlsZSI6Ii4uLy4uL3NyYy94ZGlz cC5jIiwiZnVsbG5hbWUiOiJjOlxcZW1hY3MtZ2l0XFx0cnVua1xcc3JjXFx4ZGlzcC5jIiwi bGluZSI6IjEzNTEyIn19InRocmVhZHMiOlt7ImlkIjoiMyIsInRhcmdldC1pZCI6IlRocmVh ZCAyNjA4LjB4YTYwIiwiZnJhbWUiOnsibGV2ZWwiOiIwIiwiYWRkciI6IjB4N2M5MWViOTQi LCJmdW5jIjoibnRkbGwhTGRyQWNjZXNzUmVzb3VyY2UiLCJhcmdzIjpbXSwiZnJvbSI6IkM6 XFxXSU5ET1dTXFxzeXN0ZW0zMlxcbnRkbGwuZGxsIn0sInN0YXRlIjoic3RvcHBlZCJ9LHsi aWQiOiIyIiwidGFyZ2V0LWlkIjoiVGhyZWFkIDI2MDguMHhhNjQiLCJmcmFtZSI6eyJsZXZl bCI6IjAiLCJhZGRyIjoiMHg3YzkxZWI5NCIsImZ1bmMiOiJudGRsbCFMZHJBY2Nlc3NSZXNv dXJjZSIsImFyZ3MiOltdLCJmcm9tIjoiQzpcXFdJTkRPV1NcXHN5c3RlbTMyXFxudGRsbC5k bGwifSwic3RhdGUiOiJzdG9wcGVkIn0seyJpZCI6IjEiLCJ0YXJnZXQtaWQiOiJUaHJlYWQg MjYwOC4weGIwYyIsImZyYW1lIjp7ImxldmVsIjoiMCIsImFkZHIiOiIweDAxMDVlZTYyIiwi ZnVuYyI6InJlZGlzcGxheV9pbnRlcm5hbCIsImFyZ3MiOltdLCJmaWxlIjoiLi4vLi4vc3Jj L3hkaXNwLmMiLCJmdWxsbmFtZSI6ImM6XFxlbWFjcy1naXRcXHRydW5rXFxzcmNcXHhkaXNw LmMiLCJsaW5lIjoiMTM1MTIifSwic3RhdGUiOiJzdG9wcGVkIn1dLCJjdXJyZW50LXRocmVh ZC1pZCI6IjEifQ0K --------------020901010503030907020503-- From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Nov 2015 14:36: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: To: martin rudalics Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Reply-To: Eli Zaretskii Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144872130629195 (code B ref 22012); Sat, 28 Nov 2015 14:36:02 +0000 Received: (at 22012) by debbugs.gnu.org; 28 Nov 2015 14:35:06 +0000 Received: from localhost ([127.0.0.1]:57653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2gaf-0007ao-44 for submit@debbugs.gnu.org; Sat, 28 Nov 2015 09:35:05 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:34398) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2gaZ-0007aD-W5 for 22012@debbugs.gnu.org; Sat, 28 Nov 2015 09:35:01 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NYJ0000041ZQ600@a-mtaout22.012.net.il> for 22012@debbugs.gnu.org; Sat, 28 Nov 2015 16:34:58 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYJ000984IARZ10@a-mtaout22.012.net.il>; Sat, 28 Nov 2015 16:34:58 +0200 (IST) Date: Sat, 28 Nov 2015 16:34:47 +0200 From: Eli Zaretskii In-reply-to: <5659B67A.8030004@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83lh9ip4zc.fsf@gnu.org> 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> <5659B67A.8030004@gmx.at> X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > Date: Sat, 28 Nov 2015 15:13:14 +0100 > From: martin rudalics > CC: dgutov@yandex.ru, 22012@debbugs.gnu.org > > > 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). There are null bytes after `{"width":"4","alignment":"-1",'. So it's a small wonder that json.el chokes. IOW, this is not a problem with either json.el not gdb-mi.el, but a much more fundamental problem with low-level Emacs functions that insert text into a buffer. When did you last update from the emacs-25 branch? From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Nov 2015 15:50:04 +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: To: Eli Zaretskii Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.14487257423553 (code B ref 22012); Sat, 28 Nov 2015 15:50:04 +0000 Received: (at 22012) by debbugs.gnu.org; 28 Nov 2015 15:49:02 +0000 Received: from localhost ([127.0.0.1]:58293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2hkE-0000v6-1M for submit@debbugs.gnu.org; Sat, 28 Nov 2015 10:49:02 -0500 Received: from mout.gmx.net ([212.227.17.22]:64661) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2hjt-0000uU-0W for 22012@debbugs.gnu.org; Sat, 28 Nov 2015 10:48:59 -0500 Received: from [192.168.1.100] ([213.162.68.93]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MHMRr-1a7QyC3FGl-00E3t9; Sat, 28 Nov 2015 16:48:39 +0100 Message-ID: <5659CCCD.6070609@gmx.at> Date: Sat, 28 Nov 2015 16:48:29 +0100 From: martin rudalics MIME-Version: 1.0 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> <5659B67A.8030004@gmx.at> <83lh9ip4zc.fsf@gnu.org> In-Reply-To: <83lh9ip4zc.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:z4V+U5rUba4rx+cMZK3wTLo4rXUXZB0w6hmc6qGFUTcPnYsMZXT moj5WrF6zM8zgTZgH4cYVw0ofdwxkFdJUr+Qi+UOinUBVb4KW+Wya6scadj6kuZpwvVj5gP CuBPKPPIIs8MTSqV2gq58Y+QyiiZ3zQLcTzBwVdX6T/kvZ5X3zt71/YvSJEvvYNSLx/JK93 H0g9lKmDsM/eCU9wTQ/nw== X-UI-Out-Filterresults: notjunk:1;V01:K0:4ZbLQnTUJxY=:mxV3PEb/M5bQM93VWJOfIF ct8TQ54tzfXbUumEj/rXRDuS5jKmEA3l8DbrPh3emxxRLY5vO/swB/YQuc0NcBOcuiG3m3BVn X+1BeGtvVpljKBt5e33fhPuRg6eluO63KOEn10lW0PimgMUE5AmGtnPOhC8oPQ/o6qx8dwIka FsUtynbI5z4P0niQVuoGMCVGXGounIpYMhpCkiAIJ1NqeBBgGCHSf76EuYvdujPMIoLwDoJY+ /dyIQG88J5PKJz+hXB+1ZWGX+II0tWYetFESVnrHLnjxGBT0iEnvCWlqZ8M468b+bqwuDW9KF hTXQ6NYtjShG5OvZ9KE4gWwo4uClkp0sHVW56RyrFoA6cQ/KIxKU/DC64d3/8hoBbAJYcLEHX N4DT0mP7TJjXmGZpuycHsQXN0obDY226kFNMliIHMqxtYxVaqb2w7w9ryHn121Nrx9Ikmq9Kj Xs4TbUuCdlYY8yRrx3Tk1U0ecqAEXHWRHXSco6IbyNJfeS+AEM66RQzbID1kBkL30DW+h9jP+ 3Pxv+uSdM/soFaQ+i1ENiOdrm6202UDRcD/DBd8zSgtc1ma2/41bjhXbNjHVM51+j4qq9ZQAj PXXeJUrfKphSfe+GjFrf8GF9WEeriwWhUqH/s9SVU/K9zomuMkTsuNsr6GmJ3IHkQzDPaOTrx rCjCX6gKYa8OILs5ZX2BYaNB2vnsKT4qeL1dvBUWJcWx0Lc/wwsj8akO/aKP5tA3dIIPolAha zbx2TeBFdz9sXHh0gLy+ZXxXdjf9r8CFjUVoQrl9EpFrhrdoHkd/jQm46F6Z8WkEXIAJCjyCI oXbbcT2kmizDy3CYBDKgSQrheGCnA== X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > There are null bytes after `{"width":"4", "alignment":"-1", '. So it's > a small wonder that json.el chokes. I see. Thunderbird choked as well, but I did not investigate. > IOW, this is not a problem with > either json.el not gdb-mi.el, but a much more fundamental problem with > low-level Emacs functions that insert text into a buffer. [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [213.162.68.93 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > There are null bytes after `{"width":"4","alignment":"-1",'. So it's > a small wonder that json.el chokes. I see. Thunderbird choked as well, but I did not investigate. > IOW, this is not a problem with > either json.el not gdb-mi.el, but a much more fundamental problem with > low-level Emacs functions that insert text into a buffer. [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [213.162.68.93 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record > There are null bytes after `{"width":"4","alignment":"-1",'. So it's > a small wonder that json.el chokes. I see. Thunderbird choked as well, but I did not investigate. > IOW, this is not a problem with > either json.el not gdb-mi.el, but a much more fundamental problem with > low-level Emacs functions that insert text into a buffer. Maybe related to the loaddefs.el case. That one stroke again here a few days ago on my Debian machine. > When did you last update from the emacs-25 branch? This happend on my patched version of master/trunk. So if anything we could conclude that we may have been injecting null bytes already before cutting the release branch. martin From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Nov 2015 16:35:01 +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: To: martin rudalics Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Reply-To: Eli Zaretskii Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.14487284707508 (code B ref 22012); Sat, 28 Nov 2015 16:35:01 +0000 Received: (at 22012) by debbugs.gnu.org; 28 Nov 2015 16:34:30 +0000 Received: from localhost ([127.0.0.1]:58306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2iSE-0001x2-AH for submit@debbugs.gnu.org; Sat, 28 Nov 2015 11:34:30 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:36776) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2iRt-0001wZ-UK for 22012@debbugs.gnu.org; Sat, 28 Nov 2015 11:34:28 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NYJ002009WUSD00@a-mtaout20.012.net.il> for 22012@debbugs.gnu.org; Sat, 28 Nov 2015 18:32:48 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYJ0026L9YOIUA0@a-mtaout20.012.net.il>; Sat, 28 Nov 2015 18:32:48 +0200 (IST) Date: Sat, 28 Nov 2015 18:32:38 +0200 From: Eli Zaretskii In-reply-to: <5659CCCD.6070609@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83h9k6ozix.fsf@gnu.org> 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> <5659B67A.8030004@gmx.at> <83lh9ip4zc.fsf@gnu.org> <5659CCCD.6070609@gmx.at> X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > Date: Sat, 28 Nov 2015 16:48:29 +0100 > From: martin rudalics > CC: dgutov@yandex.ru, 22012@debbugs.gnu.org > > Maybe related to the loaddefs.el case. That one stroke again here a few > days ago on my Debian machine. Yes. But I haven't seen it for the last few days. > > When did you last update from the emacs-25 branch? > > This happend on my patched version of master/trunk. So if anything we > could conclude that we may have been injecting null bytes already before > cutting the release branch. I suspect the undo changes, and the fact that they caused running Lisp and could trigger GC in the middle of fiddling with the buffer's gap. They were committed to master before the branch was cut. That's why I asked about your update: that hole was plugged 2 days ago on the emacs-25 branch. From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2015 13:41: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: To: Eli Zaretskii Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.144889084328254 (code B ref 22012); Mon, 30 Nov 2015 13:41:02 +0000 Received: (at 22012) by debbugs.gnu.org; 30 Nov 2015 13:40:43 +0000 Received: from localhost ([127.0.0.1]:60228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3Oh8-0007Le-U5 for submit@debbugs.gnu.org; Mon, 30 Nov 2015 08:40:43 -0500 Received: from mout.gmx.net ([212.227.15.15]:53410) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3Oh6-0007LV-IU for 22012@debbugs.gnu.org; Mon, 30 Nov 2015 08:40:41 -0500 Received: from [192.168.1.100] ([213.162.68.23]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LreCz-1aQsw60Zcj-013Q2h; Mon, 30 Nov 2015 14:40:39 +0100 Message-ID: <565C51D4.8040306@gmx.at> Date: Mon, 30 Nov 2015 14:40:36 +0100 From: martin rudalics MIME-Version: 1.0 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> <5659B67A.8030004@gmx.at> <83lh9ip4zc.fsf@gnu.org> <5659CCCD.6070609@gmx.at> <83h9k6ozix.fsf@gnu.org> In-Reply-To: <83h9k6ozix.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:RlrJfBXiLigkBRprdgk5YIy9n4bzmlO37h/m5rv4/oPfFcNrW/X 52n1YbV0IJGY+C0kM6INKjnu7RtT5qsQfEUK8r9OJQiLbCK2Ehacics9kp/NWcB/kO9pfYr ZuDFseH0e3sHdXboXVE12dBXcJtt9jgEALPi0JPCl+wzHtBNSbh01GeJ76aZTeeUa3IDFw0 1tUW5qtlWXESh1/3GqUeA== X-UI-Out-Filterresults: notjunk:1;V01:K0:DpxxFy1EI3k=:7Jbv/fDKZqTyv2Yvc4Ycwi RKblyCvtUiycnqG6YHv5Kjryl0SK2+jlGRATiATAdgrnEEXrywvJs7WfSLFnj3UV/vW5N1W6b uvZUaQRfVjyVYdT+ZIGkrvXQuKLGcHw07OeP6GhAh2vQYe4Y737g7maUBDdfINKzowFRXrzls BfJAIsIWWwfHfnF/EWX7G9unU2+L1SqFvST/3QQCbrRgPts6Ixi3W0vxOUgdOL53nxkxXIfFy uSoCbhh9WHS5rx5KI5Abcf/xpeJ97bDnJufeyuIApgjJSJUwwe3U8O5+2YdWddQSNV01XZG/t Y6IMWAwIYeuIF3Xw1vm3pUeEj6jJb6+uCYXTmBpPuPSM61bug206BkGwpv7kEKF5tGdU9y2WS TAnI4T6e17DcC5lL7JElOU2+ht3JH13z9NYdBp5HMHZTByi0W8i4uIQfSYS/6uNK0qims4kXn +MOygmcX1sxW3WkvaQSSEJLAxdEFtjn+B3LqGtNyEtlE1SzktZxsUcrvBeDEQmJkitBlrer5w 4FukmfxMcOOH7YPcYXxXc2MFMhg5FHoTiQ+qSFTVO5exj/iG9R5NwxwdZVqmg/atHoaR6rwcW MGt4FiJn99fF4ZtpJk6MVpVCIwBHo8Hl5PEpKs/wSjPlZyc0j+/EDyMD8KdB5y9SyNLIKuRgQ EqECvA5yAm4k1diUVxr7USMz7VpOfvH4tlvb5y6PXAedn+FWzZSpnwT3vaWTMcvLS05rpWpnN m5uGyYywIUkQuzuxGyb/8V2uFtn1hfK66faAEc6O7QZusUQo1o8lRoj1CrSUa9rVEe4kYjXVz VDOo/u1QFtT5FqzwMoykDZW1VJR/w== X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) > I suspect the undo changes, and the fact that they caused running Lisp > and could trigger GC in the middle of fiddling with the buffer's gap. > They were committed to master before the branch was cut. That's why I > asked about your update: that hole was plugged 2 days ago on the > emacs-25 branch. This also means that some bug reports we got over the past weeks are unreliable. And we might get more of them for master/trunk if we don't merge the changes back soon. martin From unknown Tue Jun 24 17:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2015 15:58:01 +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: To: martin rudalics Cc: 22012@debbugs.gnu.org, dgutov@yandex.ru Reply-To: Eli Zaretskii Received: via spool by 22012-submit@debbugs.gnu.org id=B22012.14488990409540 (code B ref 22012); Mon, 30 Nov 2015 15:58:01 +0000 Received: (at 22012) by debbugs.gnu.org; 30 Nov 2015 15:57:20 +0000 Received: from localhost ([127.0.0.1]:33033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3QpL-0002Tn-U9 for submit@debbugs.gnu.org; Mon, 30 Nov 2015 10:57:20 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:56426) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3QpJ-0002Tf-Qy for 22012@debbugs.gnu.org; Mon, 30 Nov 2015 10:57:18 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NYM00M00X7BA300@a-mtaout20.012.net.il> for 22012@debbugs.gnu.org; Mon, 30 Nov 2015 17:56:57 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYM00MLGXMR0490@a-mtaout20.012.net.il>; Mon, 30 Nov 2015 17:56:51 +0200 (IST) Date: Mon, 30 Nov 2015 17:56:46 +0200 From: Eli Zaretskii In-reply-to: <565C51D4.8040306@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83mvtvmqf5.fsf@gnu.org> 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> <5659B67A.8030004@gmx.at> <83lh9ip4zc.fsf@gnu.org> <5659CCCD.6070609@gmx.at> <83h9k6ozix.fsf@gnu.org> <565C51D4.8040306@gmx.at> X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > Date: Mon, 30 Nov 2015 14:40:36 +0100 > From: martin rudalics > CC: dgutov@yandex.ru, 22012@debbugs.gnu.org > > > I suspect the undo changes, and the fact that they caused running Lisp > > and could trigger GC in the middle of fiddling with the buffer's gap. > > They were committed to master before the branch was cut. That's why I > > asked about your update: that hole was plugged 2 days ago on the > > emacs-25 branch. > > This also means that some bug reports we got over the past weeks are > unreliable. And we might get more of them for master/trunk if we don't > merge the changes back soon. Assuming my suspicion is right, yes. From unknown Tue Jun 24 17:22:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: martin rudalics Subject: bug#22012: closed (Re: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!")) Message-ID: References: <5A82BC7F.4060907@gmx.at> <5655F4AD.4020503@gmx.at> X-Gnu-PR-Message: they-closed 22012 X-Gnu-PR-Package: emacs Reply-To: 22012@debbugs.gnu.org Date: Tue, 13 Feb 2018 10:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1518517442-6898-1" This is a multi-part message in MIME format... ------------=_1518517442-6898-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'= !") which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22012@debbugs.gnu.org. --=20 22012: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22012 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1518517442-6898-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22012-close) by debbugs.gnu.org; 13 Feb 2018 10:23:09 +0000 Received: from localhost ([127.0.0.1]:40429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elXjw-0001m0-VE for submit@debbugs.gnu.org; Tue, 13 Feb 2018 05:23:09 -0500 Received: from mout.gmx.net ([212.227.15.19]:50179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elXjv-0001lQ-7f for 22012-close@debbugs.gnu.org; Tue, 13 Feb 2018 05:23:07 -0500 Received: from [192.168.1.101] ([213.162.73.161]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M3zne-1eTKMg3uCI-00rUAM; Tue, 13 Feb 2018 11:23:01 +0100 Message-ID: <5A82BC7F.4060907@gmx.at> Date: Tue, 13 Feb 2018 11:22:55 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") References: <5655F4AD.4020503@gmx.at> <56566FD1.2050305@yandex.ru> <5656C1BE.400@gmx.at> <83oaegvk05.fsf@gnu.org> <56573A48.9040605@gmx.at> In-Reply-To: <56573A48.9040605@gmx.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Epf7gFSXJmoKWEMxHoYmNgWQeuxjHsR67dFvThztbe/7hgILi4t ja9orDifjHWfT5/v1TooRjOO1sVbjSCQeD1NRLuYUEbqPYUyN2SBbtWW/aV+1+CZBUO3Qnl ha4yMAl1pXpL4SmY1Di+BsUysAtsSuq1pX9mrPSsKGjvm/kAwGpRIYhhs4Juth08XtaA/Gl LZfwkwhlOwTUv25JLVqvQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:oBrUd1AyhcY=:YA9NFCoi3UoK9/J5G/ftT/ oDjGexItnohqAd1xqvFXPfrWjNTm4RJY2hUXQ1y1tOFNq9aZEMlwkWREiJBS7sqrjNvbVs1s3 pCFw0tmY94ivKmi3ORh/CtZVSE/PQaAS9LlnB6WCgFZvR7h99pwbIHoG1FQcDwtv6zfFBuKWQ 31utWhv3Sy2mXIxQBlRfxpWumU6w3PU9/HoDIdbIayxjgQeSKae4O5VOUhKsoJz7Gq5EycZir ZOoyLx2lIpFbGuihSJREVBJlh93W3+ulSt7VItzqXDJ2K57PZubOfVhp1RfIZa811nbfw/3bL 8wPynuW6eEUbpyNX6THRnDG2XTnYmPgEeIt1ZMOjz0JvDkk195LxkLtExiLsJYpI8pwiVqYxp r74gt3T4/IvC86OVItWGy+5eATnwHaoRRIeAh8MqFqAxdoqc9YCrfn5SRRjRTPfeeqr/FjVFI jSw9Or5Xxyyb4tgIfbH11kYDKfChyMcf3EnShuisEndN4K2IgcEbUMzqrWmZUpdSK8cEXAB1d usUhh5/s9hXEwDDPJNzdqYdsf7ufGLG6F57bhZA2ULEnV/XoCrzmeeLCC3G8Spm2iCj6lnOSK hKxEK+mwyEtlRKHnBRmmsz7ZdYTiQdXtrUg8LQILIUi5765sroAcm8bg2i0Mfw71s2HjTUkOl usUygwUNN5zouDus3RbbY2ThAfZIeCsy2CO9yCFtBU9kvwoXx9L04T4ZFkdgLQnnzPnwTNbdJ Q0ZOCKxvP29v2csb13UC42gEZOlJHT3H3mNfI7+bWvdK4sFPZVd8t0UG24kcMLunPgw6vL6t8 uH45I/FeqU7hV13Xp56z/QWUfoGpr10TIie8F2G19sa7vLUmLhKrb4NOJXhN1hbGs4zEV/M X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22012-close Cc: dgutov@yandex.ru, 22012-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > When I manage to reproduce it, I will post the contents of the buffer. Apparently I didn't manage to do that in the past two years so I'm closing this bug. Thanks to all involved, martin ------------=_1518517442-6898-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Nov 2015 17:49:51 +0000 Received: from localhost ([127.0.0.1]:53052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1eCT-0003tt-Sa for submit@debbugs.gnu.org; Wed, 25 Nov 2015 12:49:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46448) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1eCR-0003tl-SN for submit@debbugs.gnu.org; Wed, 25 Nov 2015 12:49:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1eCQ-000841-3Y for submit@debbugs.gnu.org; Wed, 25 Nov 2015 12:49:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: **** X-Spam-Status: No, score=4.1 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_SBL_CSS,RCVD_IN_SORBS_WEB autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1eCQ-00083x-0S for submit@debbugs.gnu.org; Wed, 25 Nov 2015 12:49:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1eCO-00045L-CF for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 12:49:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1eCK-000829-9S for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 12:49:44 -0500 Received: from mout.gmx.net ([212.227.17.22]:59751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1eCJ-000825-WB for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 12:49:40 -0500 Received: from [192.168.1.100] ([213.162.68.84]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LcBPV-1ai5sl3WDN-00jXUz for ; Wed, 25 Nov 2015 18:49:38 +0100 Message-ID: <5655F4AD.4020503@gmx.at> Date: Wed, 25 Nov 2015 18:49:33 +0100 From: martin rudalics MIME-Version: 1.0 To: Bug-Gnu-Emacs Subject: 25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!") Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:B6+h2kiKD0mxUfbkGEmc27Ajc/+eXwav6YytB2/28Eg8NTd2UKO T7D3LO1wowvuxRaldEPfMs8MyFDUZ1XH6dmTJsJHsWTDpq9O7te3cHA5RgttmwkVMRgdy2f fHHI7IO7p/vItcftFhX2TrCVNZEFyKpKQ8W4fG6Ios1oVj0QoQjLmn2wXXZbATGYAQ0SIgz 533sWa9tHyVwTej7vixmQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:9THPPo50jso=:4QPXKuASlZ5ErZbCgc7Aao UEgz3TyG2StgfEiiSdX77MRoOTIp920GlxL8JhtqcGWk7nIn6mosI0aA0Pb5cJaDLNbaap2+x pQYGv6QTvTZUrNjfWieePrrrguImsdqRggTf2pFT67M9Egw7DApjUzlLgweRrphAHp7VfCnKl Cn4Eo2TwbY9gxOXIZacceZopnpA/vQnC2ETaSzOcmfJCU70NEl8lCCmMnrz3fmaMT5eVkWA/3 SI8X8t49x9RP98RJnewtVyC8LLbvdDUsuLVh1uezbt4tAjTi9UZMMNXSZnGZhJPpCLaBpWqi2 FxzgxgZMWKdaui54ibeRdEVGmG6RvuRm5klqMlqcf78+k7hEKUlMd6iJ21VRG+E1g/RHkx95d iDZU6/3OafC0GYjyRwSM4KcVlyrz+Lm0PM9fOItve2SfvC2tMtsCe2m90PYoCk12fNnCg9w3v wFiTS18WX1UzzHSTXtheTpHRaHkqvJ3IV8XNDfa8LpObsrpiEKpoYBuCy9tvOqc+eU3MZzE+B L4jJWFDb/xe32i2Xj8sS/+JBvl0NsTheuFshvVfRpsHvJv15pFrMKgInsoBZWi9n1+EEzm/bo KptZo1fXQv9BgQDAxNkAs6CKYOE0LqwPq34/wllV62qWc7KhbX1rYYyHb7indcgKiRyVSYXCN IoKjVbyGhsvBvmsKxJ3UlIv/VoOHBEK8MfFwCro9icCt6ErFAIdi2PFZA5m6G2DNe4ZfNEt5X Ytg5AiWfyUmpUR7uD4yFK+UeMY/ujLvLTE1pZMOlme+ozWSjPUKKoGext601+XEg6GoSETjDX vB8eoTkYM7/uLtgLe3JscxAzON2iQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) 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() gdb-json-read-buffer("bkpt" "script") gdb-json-partial-output("bkpt" "script") gdb-breakpoints-list-handler-custom() gdb-breakpoints-list-handler() apply(gdb-breakpoints-list-handler nil) (save-current-buffer (set-buffer #) (apply (quote gdb-breakpoints-list-handler) args)) (with-current-buffer # (apply (quote gdb-breakpoints-list-handler) args)) (lambda (&rest args) (with-current-buffer # (apply (quote gdb-breakpoints-list-handler) args)))() gdb-handle-reply(21) gdb-done-or-error("21" done "BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silen t\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}" t) gdb-done("21" "BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}" t) gdbmi-bnf-incomplete-record-result("21" (gdb-done . progressive)) #[0 "\302\300\301\242\"\207" ["21" ((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("19^error,msg=\"No registers.\"\n(gdb) \n20^done,threads=[]\n(gdb) \n21^done,BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\emacs-gi t\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}\n(gdb) \n") apply(gud-gdbmi-marker-filter "19^error,msg=\"No registers.\"\n(gdb) \n20^done,threads=[]\n(gdb) \n21^done,BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\em acs-git\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}\n(gdb) \n") gud-marker-filter("19^error,msg=\"No registers.\"\n(gdb) \n20^done,threads=[]\n(gdb) \n21^done,BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c:\\\\emacs-git\\\\t runk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}\n(gdb) \n") gud-filter(# "19^error,msg=\"No registers.\"\n(gdb) \n20^done,threads=[]\n(gdb) \n21^done,BreakpointTable={nr_rows=\"3\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x01149c82\",func=\"terminate_due_to_signal\",file=\"../../src/emacs.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\emacs.c\",line=\"371\",times=\"0\",original-location=\"terminate_due_to_signal\"},bkpt={number=\"2\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x011819c2\",func=\"init_sys_modes\",file=\"../../src/sysdep.c\",fullname=\"c: \\\\emacs-git\\\\trunk\\\\src\\\\sysdep.c\",line=\"905\",times=\"0\",script={\"silent\",\"xgetptr globals.f_Vinitial_window_system\",\"xsymname $ptr\",\"xgetptr $symname\",\"set $tem = (struct Lisp_String *) $ptr\",\"set $tem = (char *) $tem->data\",\"if $tem[0] == 'x' && $tem[1] == '\\0'\",\"break x_error_quitter\",\"end\",\"continue\"},original-location=\"init_sys_modes\"},bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x010c13e5\",func=\"Fsplit_window_internal\",file=\"../../src/window.c\",fullname=\"c:\\\\emacs-git\\\\trunk\\\\src\\\\window.c\",line=\"4253\",times=\"0\",original-location=\"window.c:4253\"}]}\n(gdb) \n") In GNU Emacs 25.1.50.1 (i686-pc-mingw32) of 2015-11-24 Repository revision: e53b310fdecd7e3f130295b85b15289046d7a430 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Configured using: 'configure --prefix=/c/emacs-git/ CFLAGS=-O3' martin ------------=_1518517442-6898-1--