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#20782: 25.0.50; Emacs crashes when creating a file with emacs-template package w/o interactive call Date: Fri, 12 Jun 2015 10:43:24 +0300 Message-ID: <83381xs76r.fsf@gnu.org> References: <847fr9aohu.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1434095061 31592 80.91.229.3 (12 Jun 2015 07:44:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2015 07:44:21 +0000 (UTC) Cc: 20782@debbugs.gnu.org To: vincent.belaiche@gmail.com (Vincent =?UTF-8?Q?Bela=C3=AFche?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 12 09:44:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z3JdK-0002S3-NK for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 09:44:10 +0200 Original-Received: from localhost ([::1]:49879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3JdK-0003uO-1c for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 03:44:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3JdG-0003uF-Dh for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 03:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3JdD-0001KF-7g for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 03:44:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3JdD-0001KB-4F for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 03:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3JdC-0007hu-QN for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 03:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jun 2015 07:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 20782-submit@debbugs.gnu.org id=B20782.143409502329594 (code B ref 20782); Fri, 12 Jun 2015 07:44:02 +0000 Original-Received: (at 20782) by debbugs.gnu.org; 12 Jun 2015 07:43:43 +0000 Original-Received: from localhost ([127.0.0.1]:51206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Jcs-0007hF-QF for submit@debbugs.gnu.org; Fri, 12 Jun 2015 03:43:43 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:38368) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Jcn-0007gv-Pr for 20782@debbugs.gnu.org; Fri, 12 Jun 2015 03:43:39 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NPT00E00MA4K700@a-mtaout21.012.net.il> for 20782@debbugs.gnu.org; Fri, 12 Jun 2015 10:43:31 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPT00EZZMSHIV50@a-mtaout21.012.net.il>; Fri, 12 Jun 2015 10:43:31 +0300 (IDT) In-reply-to: <847fr9aohu.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103854 Archived-At: > From: vincent.belaiche@gmail.com (Vincent Belaïche) > Cc: Vincent Belaïche , > 20782@debbugs.gnu.org > Date: Fri, 12 Jun 2015 00:06:53 +0200 > > I need anyhow to load template.el as part of the recipe to cause the > crash --- should I also destroy template.elc ? Loading template.el manually should be enough. > What is happening is that I was developping some macros to create a file > from a row in a SES spreadsheet using an Emacs template. My macro had a > few bugs (notably it tries to create a file in a directory that does not > exists and a few other wrong things causing template-new-file in > trouble). I think that this is what causes some unusual processing going > through bug#20782 source of crash. > > Now please note that I had included some explicit (debug) statement in > my macro in order to debug it. But then when I type 'j' in order to > execute fully the (template-new-file ...) statement right after the > (debug) statement, then it seems that, indeed, some error is met and the > debugger is recursively entered and then Emacs crashes. Can you show the part of the source that invokes 'debug'? > Maybe we could skype together and by sharing my screen you would see the > recipe to make the bug happen and could give further guidance for me to > provide more information. Since you are using an old verion of the development sources, doing that wouldn't be an efficient way of investigating this problem. I suggest to upgrade to the latest sources, and if the problem still persists, we can take it from there.