From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gemini Lasswell Newsgroups: gmane.emacs.bugs Subject: bug#24688: 25.1.50; testcover-start error when instrumenting pcase pattern Date: Fri, 14 Oct 2016 07:58:46 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1476457436 19333 195.159.176.226 (14 Oct 2016 15:03:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2016 15:03:56 +0000 (UTC) To: 24688@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 17:03:52 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv41D-000207-Re for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 17:03:32 +0200 Original-Received: from localhost ([::1]:47804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv41C-0005FO-8f for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 11:03:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3xy-0002mE-IZ for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 11:00:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv3xr-0004yT-E8 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 11:00:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3xr-0004yP-B4 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 11:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bv3xr-0003PP-5m for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 11:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2016 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24688 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147645716813029 (code B ref -1); Fri, 14 Oct 2016 15:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Oct 2016 14:59:28 +0000 Original-Received: from localhost ([127.0.0.1]:55411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv3xH-0003O5-S5 for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:59:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv3xF-0003Nr-Ve for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:59:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv3x9-0004qR-GX for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:59:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3x9-0004py-Cp for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:59:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3x7-0001yh-OE for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:59:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv3x1-0004o6-Lv for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:59:16 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:48134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3x1-0004nB-9o for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:59:11 -0400 Original-Received: from [10.9.9.213] (helo=mailfront13.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bv3wy-00018t-GH for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 16:59:08 +0200 Original-Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=rainbow.local) by mailfront13.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bv3wu-00075W-27 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 16:59:04 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124459 Archived-At: --=-=-= Content-Type: text/plain testcover-start fails with the message "Wrong type argument: listp, \," when asked to instrument lisp/emacs-lisp/cconv.el from the Emacs source tree. I've simplified the problem down to this fragment of code: (pcase form (`(condition-case ,var ,protected-form . ,handlers) nil)) To reproduce, create a file called bug.el containing the code above and: 1. emacs -Q 2. M-x toggle-debug-on-error RET 3. C-x C-f bug.el RET 4. M-: (require 'testcover) RET 5. M-x testcover-start RET bug.el RET Here is the resulting backtrace: --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=backtrace.txt Content-Transfer-Encoding: 8bit Debugger entered--Lisp error: (wrong-type-argument listp \,) cdr(\,) mapcar(cdr (\, handlers)) testcover-reinstrument((condition-case (\, var) (\, protected-form) \, handlers)) testcover-reinstrument((\` (condition-case (\, var) (\, protected-form) \, handlers))) testcover-reinstrument(((\` (condition-case (\, var) (\, protected-form) \, handlers)) nil)) testcover-reinstrument-list((form ((\` (condition-case (\, var) (\, protected-form) \, handlers)) nil))) testcover-reinstrument((pcase form ((\` (condition-case (\, var) (\, protected-form) \, handlers)) nil))) testcover--read(#[128 "\300\301\302#\207" [apply edebug--read read nil] 5 nil] #) apply(testcover--read #[128 "\300\301\302#\207" [apply edebug--read read nil] 5 nil] #) #[128 "\300\301\302#\207" [apply testcover--read #[128 "\300\301\302#\207" [apply edebug--read read nil] 5 nil] nil] 5 nil](#) eval-buffer(#) ; Reading at buffer position 79 testcover-start("~/Projects/lisp/bug2.el") funcall-interactively(testcover-start "~/Projects/lisp/bug2.el") call-interactively(testcover-start record nil) command-execute(testcover-start record) execute-extended-command(nil "testcover-start" "testcover-start") funcall-interactively(execute-extended-command nil "testcover-start" "testcover-start") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In GNU Emacs 25.1.50.18 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Versi= on 10.11.6 (Build 15G1004)) of 2016-10-12 built on rainbow.local Windowing system distributor 'Apple', version 10.3.1404 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. testcover mapcar: Wrong type argument: listp, \, Debug on Error enabled globally You can run the command =E2=80=98toggle-debug-on-error=E2=80=99 with M-x t-= er RET Debug on Error enabled globally Entering debugger... Configured using: 'configure --with-ns' Configured features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode debug cus-start cus-load testcover edebug easymenu cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 216154 8450) (symbols 48 21704 0) (miscs 40 64 189) (strings 32 20892 6047) (string-bytes 1 644659) (vectors 16 35191) (vector-slots 8 672545 4247) (floats 8 184 26) (intervals 56 239 0) (buffers 976 13)) --=-=-=--