From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Stack overflow in regexp matcher Date: Sat, 25 Oct 2014 11:24:00 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhxoV-0006vx-Jy for emacs-orgmode@gnu.org; Sat, 25 Oct 2014 05:39:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhxoQ-0007XN-9P for emacs-orgmode@gnu.org; Sat, 25 Oct 2014 05:39:11 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:61997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhxoQ-0007XG-1p for emacs-orgmode@gnu.org; Sat, 25 Oct 2014 05:39:06 -0400 In-Reply-To: (Charles Berry's message of "Fri, 24 Oct 2014 19:02:52 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Charles Berry Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2014-10-24 19:02, Charles Berry writes: > Alan Schmitt polytechnique.org> writes: > >>=20 >> Hello, >>=20 >> I've just got the following backtrace when opening an org >> file. Unfortunately I cannot reproduce it reliably, but I was wondering >> if others had seen something similar. >>=20 > > I do. Try this. Start emacs 24.4.1. > > 1) Copy this line: > > CLOCK: [2013-07-22 Mon 12:29]--[2013-07-22 Mon 15:26] =3D> 2:57 > > into a new *.org file. > > 2) Save and close the file and reopen.=20 > > 3) If no such error, kill the text in the buffer, and yank it twice. > > 4) Repeat 2 and 3 till the message > > File mode specification error: (error "Stack overflow in regexp matche= r") > > shows up.=20 > > 5) prune lines from the file and try step 2 till the error disappears. > > > For me somewhere between 400 and 500 lines is the difference between open= ing > with no error message and opening with the message. Interesting. I don't use clocking, but the files in question use tags and logbooks. I can actually open the file when I try a second time, so to bisect this I would need to restart emacs each time. I'll try to see if I can get a reproduceable recipe on my side. Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUS2w1AAoJEAQNCjtO0uXHfToIAJM3dNg8HaGZwkKlP2wWJnvv Vt/1KleXjBYorb5WkaDOkIEt/zqCitR2k8W6ye09LLxaL6NzRVk//2o5FATFGuQx 3Qie9yJld5XgO04TBFma/ABI13heivAA/7EM3aMwRcmJr5AEZC05Q6xzB9MY+8dQ A6ZaQaY4C9UlES7YAGJD6bpJ5olVbPGxTlh5hp4PhQmYApfqgEIZrpB66bRiH/Po XdfK9/u7HIeT0JvkfMUxnAdEu7mLSEyoGYO3/OMx4WJQTxs8iMPC6Sul/WqsvgRh tyMCZhb2NSIUb8GjWA6vjzLelvVb8XbIgafBtke4ULdByp6LhCbaZhjePeJghEw= =ICPw -----END PGP SIGNATURE----- --=-=-=--