From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-refresh-stats-properties: Stack overflow in regexp matcher Date: Sat, 20 May 2017 09:12:25 +0200 Message-ID: <874lwgovc6.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dByYw-0007XH-Fa for emacs-orgmode@gnu.org; Sat, 20 May 2017 03:12:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dByYv-00040E-GE for emacs-orgmode@gnu.org; Sat, 20 May 2017 03:12:30 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:54179) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dByYv-0003zr-9c for emacs-orgmode@gnu.org; Sat, 20 May 2017 03:12:29 -0400 In-Reply-To: (Kevin Zettler's message of "Fri, 19 May 2017 15:25:43 -0700") 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" To: Kevin Zettler Cc: emacs-orgmode@gnu.org Hello, Kevin Zettler writes: > Apologies if this is a duplicate. I first sent when I wasn't registered > with the mailing list. Looks like org Gmane is down > http://news.gmane.org/gmane.emacs.orgmode I get a 404. > > I suddenly am unable to open my org agenda. Invoking ~C-a~ and selecting > any agenda command results in > > ~org-refresh-stats-properties: Stack overflow in regexp matcher~ > > The debug trace looks like: > > #+BEGIN_SRC > Debugger entered--Lisp error: (error "Stack overflow in regexp matcher") > re-search-forward("^\\*+ > .*\\(?:\\[\\([0-9]+\\)%\\|\\([0-9]+\\)/\\([0-9]+\\)\\]\\)" > nil t) I cannot reproduce it, but I pushed a regexp simplification in maint branch. Does it solve your issue? There's also a dubious (progn (org-end-of-subtree t t) (point)) in the function, which means that non-top-level headlines are skipped. I don't know if this is intended. Anyway, that's unrelated to your issue. Regards, -- Nicolas Goaziou