From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#24402: should-error doesn't catch all errors Date: Wed, 19 Jul 2017 16:40:03 -0600 Message-ID: <87shhsuk3g.fsf@lylat> References: <3654D8E9-D3CB-402B-922F-B132C1871E9F@runbox.com> <596E65D2-E780-43A1-A75B-603B61B6F9F4@runbox.com> <87zickhoco.fsf_-_@lylat> <877eznda7v.fsf@lylat> <874lur0zki.fsf@calancha-pc> <87o9sywtbz.fsf@lylat> <87fue3f9p8.fsf@users.sourceforge.net> <87vamyl3j3.fsf@lylat> <87tw2het1b.fsf@users.sourceforge.net> <874luhbo4l.fsf@lylat> <87lgntdswo.fsf@users.sourceforge.net> <87k23d9gvt.fsf@lylat> <87d195dmr0.fsf@users.sourceforge.net> <87lgns7y7g.fsf@lylat> <877ezbew3d.fsf@users.sourceforge.net> <87d193ljdp.fsf@lylat> <87shhxcqit.fsf@users.sourceforge.net> <87inithwi5.fsf@lylat> <87eftcglz3.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1500504077 22567 195.159.176.226 (19 Jul 2017 22:41:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Jul 2017 22:41:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: npostavs@users.sourceforge.net, Tino Calancha , 24402@debbugs.gnu.org To: Gemini Lasswell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 20 00:41:11 2017 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 1dXxeY-0005FQ-Qf for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jul 2017 00:41:11 +0200 Original-Received: from localhost ([::1]:35238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXxeb-00043E-AO for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jul 2017 18:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXxeV-00042l-G9 for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2017 18:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXxeQ-000455-KN for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2017 18:41:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45602) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXxeQ-00044m-H7 for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2017 18:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXxeQ-0007BB-8X for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2017 18:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2017 22:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24402 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed patch Original-Received: via spool by 24402-submit@debbugs.gnu.org id=B24402.150050401727542 (code B ref 24402); Wed, 19 Jul 2017 22:41:02 +0000 Original-Received: (at 24402) by debbugs.gnu.org; 19 Jul 2017 22:40:17 +0000 Original-Received: from localhost ([127.0.0.1]:48279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXxdg-0007AA-PF for submit@debbugs.gnu.org; Wed, 19 Jul 2017 18:40:17 -0400 Original-Received: from mail-it0-f65.google.com ([209.85.214.65]:36073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXxdf-00079w-3s for 24402@debbugs.gnu.org; Wed, 19 Jul 2017 18:40:15 -0400 Original-Received: by mail-it0-f65.google.com with SMTP id r9so67088ita.3 for <24402@debbugs.gnu.org>; Wed, 19 Jul 2017 15:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=h0r1TvyKbkbYyMPvGOs0Cby3hSdw8Sn+JgO65wESnH4=; b=Z+8kQrdgVtEJzzC/hQvSmsfMB1yUQhvTID+4nn72F1ENY6seedbtsNS4IPyOCLVMll ArVrqxHJr5slnXoTRvXLlSxWFlKN9yxz8h9HKIwa2rn7XdyN2YdJG69ftDzhc2KwnRWe F1bI3wLP49cKBFN2K0DnoGAZyXKGYmHlAcno76e09ZBOvUMbUvRbwA4Fx+IAjcXt3vWq ewOYgxvYGPvFnenqhlZ3ZVdkINSww3qe1w4K6X19lafCEpDPA7jWzdPkggZP53/5Elo4 jLOZCpvv8ZXgEcIZpW/7CL8bLkIk3lrmq/46LzxJBsYfjtyxY//jyu1zs71I+w0UwWtk +PXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=h0r1TvyKbkbYyMPvGOs0Cby3hSdw8Sn+JgO65wESnH4=; b=CZt2vQ2hDsUG24ivBF5R+bvlMMSEgJK9AhFqsUWS+Tty6/e4ajlcIQhUSrs3ZDzn7K fSora+cvHvIRrf3U091fU2ON6Sng/5A+2PZcf7jfvOhVoBltDqhCxWaNqd5L96FnHExi nh3AKpCaZMU77VGRa/k3DLWKxCYOWbUUC6DOuEGGRJ+kmd36sbB+W8hT+CQw840kCMNL o35JGTbqMc5lnxbJ1cl4pRRh7ZhHUvrwCohiFYejvxKkwakg68/OT63oeYrtLfC9Xxrl RpS5MvBtAAAKEmAFfxvYFTMviqGK/lebVViolNIXvJ2Hh2N2XPW4RehpyvBr/DX6Y8HJ hDYQ== X-Gm-Message-State: AIVw112ctU0/AycnXPfNzql3D8CIQS/haTcK3jACpiQ384IcSi6UwqyG WK5wOVNuVh9DIQ== X-Received: by 10.36.239.196 with SMTP id i187mr1419582ith.161.1500504009433; Wed, 19 Jul 2017 15:40:09 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id j76sm544422ioi.14.2017.07.19.15.40.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jul 2017 15:40:08 -0700 (PDT) In-Reply-To: <87eftcglz3.fsf@runbox.com> (Gemini Lasswell's message of "Wed, 19 Jul 2017 14:23:12 -0700") 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:134768 Archived-At: Gemini Lasswell writes: > Hello, > > First, thank you for working on this bug! > > I have a branch of Emacs which attempts to run all the tests under > Testcover, and I've tried it with Alex's latest patch. The patch has > fixed the problems with Testcover and should-error except for one weird > case. Here is a file that will let you reproduce the weird case on > master with the patch applied: > > > > This is an excerpt of test/src/fns-tests.el with a few lines added at > the end to invoke Testcover. It contains two nearly identical tests > which should both pass, but one passes and one fails. If you then edit > the file and comment out test-cycle-assoc (the one that passes) and run > the test again, then the failing test will pass. I've reproduced it both > in batch mode (without TEST_LOAD_EL=3Dno) and interactively. Hmm, this isn't the behaviour that I see. I get the following errors both with and without my patch, and both interactively and in batch mode: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Edebug: cyc1 Edebug: test@test-cycle-assq Edebug: test@test-cycle-assoc Edebug: cyc1 Edebug: test@test-cycle-assq Edebug: test@test-cycle-assoc ... Edebug: cyc1 Edebug: test@test-cycle-assq Compiler-macro error for cl--block-wrapper: (error "Lisp nesting exceeds = =E2=80=98max-lisp-eval-depth=E2=80=99") Edebug: test@test-cycle-assoc Compiler-macro error for cl--block-wrapper: (error "Lisp nesting exceeds = =E2=80=98max-lisp-eval-depth=E2=80=99") Edebug: cyc1 Edebug: test@test-cycle-assq Compiler-macro error for cl--block-wrapper: (error "Lisp nesting exceeds = =E2=80=98max-lisp-eval-depth=E2=80=99") Eager macro-expansion failure: (error "Lisp nesting exceeds =E2=80=98max-li= sp-eval-depth=E2=80=99") Compiler-macro error for cl--block-wrapper: (error "Lisp nesting exceeds = =E2=80=98max-lisp-eval-depth=E2=80=99") Eager macro-expansion failure: (error "Lisp nesting exceeds =E2=80=98max-li= sp-eval-depth=E2=80=99") Compiler-macro error for cl--block-wrapper: (error "Lisp nesting exceeds = =E2=80=98max-lisp-eval-depth=E2=80=99") Entering debugger... cl--generic-make-next-function: Symbol=E2=80=99s function definition is voi= d: t =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The ... above represents Edebug cycling, for some reason, between the 3 functions. Noam, can you reproduce this?