From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23949: 25.0.95; Regression in handling error caused by (string-match-p "." nil) Date: Tue, 12 Jul 2016 17:03:34 +0300 Message-ID: <83furfar7t.fsf@gnu.org> References: <83lh17ati6.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1468332336 6670 80.91.229.3 (12 Jul 2016 14:05:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 14:05:36 +0000 (UTC) Cc: 23949@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 16:05:25 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bMyJQ-0003B6-BQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 16:05:24 +0200 Original-Received: from localhost ([::1]:40719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMyJP-0006SC-Ks for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 10:05:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMyJA-0006J9-K5 for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 10:05:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMyJ4-0004GF-00 for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 10:05:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMyJ3-0004G7-T8 for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 10:05:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bMyJ3-0004NO-Na for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 10:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2016 14:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23949-submit@debbugs.gnu.org id=B23949.146833225216752 (code B ref 23949); Tue, 12 Jul 2016 14:05:01 +0000 Original-Received: (at 23949) by debbugs.gnu.org; 12 Jul 2016 14:04:12 +0000 Original-Received: from localhost ([127.0.0.1]:48453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMyIC-0004M2-J1 for submit@debbugs.gnu.org; Tue, 12 Jul 2016 10:04:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMyI7-0004LV-Fm for 23949@debbugs.gnu.org; Tue, 12 Jul 2016 10:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMyHz-0003tT-Ag for 23949@debbugs.gnu.org; Tue, 12 Jul 2016 10:03:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMyHz-0003tK-7Q; Tue, 12 Jul 2016 10:03:55 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2181 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMyHx-00065s-10; Tue, 12 Jul 2016 10:03:53 -0400 In-reply-to: (message from Kaushal Modi on Tue, 12 Jul 2016 13:37:57 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:120909 Archived-At: > From: Kaushal Modi > Date: Tue, 12 Jul 2016 13:37:57 +0000 > Cc: 23949@debbugs.gnu.org > > Some interesting discovery .. hope this helps debug this: > > Searched the whole emacs source and my ~/.emacs.d for 'is relative, it is com'. And the only place I found it > was in lisp/progmodes/compile.el, line 2679: > > ===== > kmĀ²~/downloads/:git/emacs> ag 'is relative, it is com' > lisp/progmodes/compile.el > 2679:If DIRECTORY is relative, it is combined with `default-directory'. > ===== > > Somehow "(nil" replaced "If DIRECT", the whole thing got lower-cased, string after "com" in "combined" got > truncated, and we got: > > "(nilory is relative, it is com" It's probably just some random garbage left on the stack. Once again, the root cause lies in help-function-arglist or its immediate callers. Why does all this get called when Emacs signals an error?