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#12774: RE: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 =?UTF-8?Q?crashing=E2=80=8F?= Date: Sun, 04 Nov 2012 05:46:16 +0200 Message-ID: <83obje3u9j.fsf@gnu.org> References: <807gq5sxq9.fsf@gmail.com> <834nl974ml.fsf@gnu.org> <831ugd6oq3.fsf@gnu.org> <83wqy558r8.fsf@gnu.org> <83vcdp58ha.fsf@gnu.org> <834nl66ace.fsf@gnu.org> <83txt64fiz.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1256 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1352000833 6886 80.91.229.3 (4 Nov 2012 03:47:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2012 03:47:13 +0000 (UTC) Cc: 12774@debbugs.gnu.org To: Vincent =?UTF-8?Q?Bela=C3=AFche?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 04 04:47:22 2012 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 1TUrB8-0007KU-DJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2012 04:47:18 +0100 Original-Received: from localhost ([::1]:58003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUrAz-0000Fe-Ly for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2012 23:47:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUrAw-0000FM-4k for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 23:47:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUrAu-0002dP-W9 for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 23:47:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUrAu-0002dL-SI for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 23:47:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TUrDm-0007jB-16 for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 23:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Nov 2012 03:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12774 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12774-submit@debbugs.gnu.org id=B12774.135200096829662 (code B ref 12774); Sun, 04 Nov 2012 03:50:01 +0000 Original-Received: (at 12774) by debbugs.gnu.org; 4 Nov 2012 03:49:28 +0000 Original-Received: from localhost ([127.0.0.1]:47908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUrDD-0007iM-8Q for submit@debbugs.gnu.org; Sat, 03 Nov 2012 23:49:28 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:39422) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUrDB-0007iE-17 for 12774@debbugs.gnu.org; Sat, 03 Nov 2012 23:49:26 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MCY00I0020LLE00@a-mtaout21.012.net.il> for 12774@debbugs.gnu.org; Sun, 04 Nov 2012 05:46:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MCY00IIO2HDL520@a-mtaout21.012.net.il>; Sun, 04 Nov 2012 05:46:25 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:66422 Archived-At: > From: Vincent Bela=EFche > Date: Sat, 3 Nov 2012 23:24:15 +0100 >=20 > The crash can happen without my doing anything special previously e= xcept opening that attached file USING_CEDET_FROM_BZR which causes lo= ading orgmode. Also it seems that it has to do with the size of my in= it.el file --- and not only to its content. >=20 >=20 >=20 > For instance there was in my init file some doit-1 function definit= ion (which is some trash code which I wrote for some purpose and I do= n't need any longer), here is the definition: >=20 >=20 > (defun doit-1 () > (interactive) > (save-excursion > ; (goto-char (point-min)) > (while (re-search-forward "--\\|\\." nil t) > (when (save-match-data (texmathp)) > (cond > ((string=3D (match-string 0) "--") > =09(replace-match "-")) > ((string=3D (match-string 0) ".") > =09(unless (looking-back "\\\\right") > =09 (replace-match "\\cdot " t t)))))))) >=20 >=20 >=20 > If I comment out this definition from the init file, then I cannot = re-produce the crash (or at least I could not succeed in doing it, bu= t it may still be possible), but if I let it, then I can rather easil= y make the crash occur. I cannot believe that this function per se is= the root cause of the problem. However the simple fact that its defi= nition takes some memory space suffices to increase the likelihood th= e crash when I open that file. Is this doit-1 function actually used somewhere in your init.el or in your .emacs? If it is, can you show the code that uses it? > BTW, here is the end of my *Message* buffer when the opening of US= ING_CEDET_FROM_BZR does cause any crash, this reflects what should ha= ppen when this file is visited --- the `Loading dired-x...done' is be= cause I open USING_CEDET_FROM_BZR from a Dired buffer, so what happe= ns is from line `flet' is an obsolete macro (as of 24.3); use eith= er `cl-flet' or `cl-letf'. [2 times].=20 >=20 >=20 > Loading dired-x...done > `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `= cl-letf'. [2 times] > File mode specification error: (void-function org-mode-p) > Loading vc-bzr...done Can you turn on debug-on-error and show the Lisp backtrace for these messages? Each time a backtrace appears, type "C-]" to get out of th= e debugger and continue to the next error.