From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ernesto Alfonso Newsgroups: gmane.emacs.bugs Subject: bug#23667: 24.4; "Stack overflow in regexp matcher" happens in only some buffers, for the same arguments Date: Tue, 31 May 2016 19:41:20 -0700 Message-ID: <87k2i9tyun.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1464748951 15092 80.91.229.3 (1 Jun 2016 02:42:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2016 02:42:31 +0000 (UTC) To: 23667@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 01 04:42:19 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 1b7w6t-0004Lg-4W for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jun 2016 04:42:19 +0200 Original-Received: from localhost ([::1]:39331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7w6s-00031v-5l for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 May 2016 22:42:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7w6g-0002yk-Cc for bug-gnu-emacs@gnu.org; Tue, 31 May 2016 22:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7w6c-00047i-3v for bug-gnu-emacs@gnu.org; Tue, 31 May 2016 22:42:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7w6c-00047e-03 for bug-gnu-emacs@gnu.org; Tue, 31 May 2016 22:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b7w6b-00075j-Ry for bug-gnu-emacs@gnu.org; Tue, 31 May 2016 22:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ernesto Alfonso Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jun 2016 02:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23667 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146474890027230 (code B ref -1); Wed, 01 Jun 2016 02:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jun 2016 02:41:40 +0000 Original-Received: from localhost ([127.0.0.1]:48912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7w6G-000757-BL for submit@debbugs.gnu.org; Tue, 31 May 2016 22:41:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7w6F-00074w-4c for submit@debbugs.gnu.org; Tue, 31 May 2016 22:41:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7w68-000415-0L for submit@debbugs.gnu.org; Tue, 31 May 2016 22:41:33 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7w67-00040r-TE for submit@debbugs.gnu.org; Tue, 31 May 2016 22:41:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7w64-0002gI-NI for bug-gnu-emacs@gnu.org; Tue, 31 May 2016 22:41:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7w60-0003zg-Fv for bug-gnu-emacs@gnu.org; Tue, 31 May 2016 22:41:27 -0400 Original-Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:33347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7w60-0003zZ-5v for bug-gnu-emacs@gnu.org; Tue, 31 May 2016 22:41:24 -0400 Original-Received: by mail-pf0-x230.google.com with SMTP id b124so4875231pfb.0 for ; Tue, 31 May 2016 19:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=xdVaK1Xg/l//vgN23vg4ZG8f2VqGGsMD8yXzmCgPVDU=; b=RS/NfzspzQzOdmn/goVU9ZD2rBF2FiW+VBXWGjRaDxBJDaQo1s7mdp6PG5ce3eQJRz N2AhBJNS0gbT6QthnywWIXCQEaPI2Si9Af/qMzm0avgDFryQyHpBI/Z31zrf/qjEuD1G ThqNTYMqc9N4ahqUVM1u9lMZMqYPVs1xSnBpaFbOzwOMQolZ0p3AOMYDtR4l/Yj8XXSx 7JfwC2+28DS7KjsxxglxhStqXiMWOwYD41idVX66tDQHUhmWGR03pIRhsC314uqyewdV oR0pAz19ypmkoLJImm8yn18foSD0fzYz8jaUIdgpdoVUKOF96y7tbWOE/EUM07aKGjJn 4pDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=xdVaK1Xg/l//vgN23vg4ZG8f2VqGGsMD8yXzmCgPVDU=; b=jiReqAp6hOLsjHglnfY5QasLxN7QeZMoXkuYZQ+kykNnH2s3WomHNd1HBZSfU6qI4C 8ofX/5fRpN3DQgeT0FULXQOKJbTNlPcyEtV365qnLe3kIwyCZdvxFHuJ6cXIUQHxYmU0 7LGujKzsjocKC7qC8lkJrJMsQJZx9nCAASEoWs5dZzQKSchLvjqmDoRHrNyV3GhUOkxw 8mITIF3i0fBMwDKGxIxeQtjQwoJuWA12mDcutp2FTTVzRlGA+19f26P8tNP9QHdNU1At a6wAVYY6DuoGVZH6W+/jFo95GAKEFkg8F/+k0rxVTuuKcV5XYJa3debxM+a6WAgpXHBa lRDw== X-Gm-Message-State: ALyK8tJixlQwkCWesnDEpWlvOEvFeXf1AcnfOq/TJEU7EU5nY9LZUv4tmq2oz+BOXIZ75A== X-Received: by 10.98.101.198 with SMTP id z189mr3114521pfb.63.1464748882788; Tue, 31 May 2016 19:41:22 -0700 (PDT) Original-Received: from debian-lenovo ([4.35.70.115]) by smtp.gmail.com with ESMTPSA id z125sm34093781pfb.27.2016.05.31.19.41.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 May 2016 19:41:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:118917 Archived-At: (let ((out (shell-command-to-string "curl http://pastebin.com/raw/a2pMaW6h"))) (string-match "\\(^[[:space:]]*\\([a-z]+\\) = \\(.*\\)\n\\)+" out 0)) If I try this sexp on an ielm-mode or emacs-lisp-mode buffer (just two examples I tested), this evaluates to 0. If I try it on a message-mode or erc buffer, I get "Stack overflow in regexp matcher". The evaluation should be independent of the buffer since no buffer contents should be involved. In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.4 (jessie) Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t text-scale-mode: t sexchange-mode: 0 show-paren-mode: t global-text-scale-mode: t global-erjoalgo-command-mode: t erjoalgo-command-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: p p n n n M-r l e n p r e w c c c c c c c c c c c x o m . v C-x C-e m e 3 e x a n - z 3 e x g e n 2 2 2 2 2 1 x n v a D x ; i n s e r t SPC e x , r . x x a l n u M-1 r , C-g 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 . s ~ / t m p o u t x ; C-g ' , ' a r M-f C-g / / 1 1 , e r j o a , r . x x 1 r , x x , . x ; s-e e x SPC - 2 SPC b u f f e - c o n s u SPC p o i n t - m i n W SPC v i M-d a x e x i . M-p b - 2 M-p M-p M-p p p k x o m . v C-x C-e 4 # e r e m . v C-x C-e x x e r r e p o r t - e m Recent messages: lasa = [:dfrsphr \"ckuaklihrdsf+t43w5fnm@buyhnkekuyml.ufy\"] xnoevvl = [:tzmv \"Isymqh Dhfpvdpx\"] " Mark set [4 times] eval: Stack overflow in regexp matcher Making completion list... Mark set [2 times] eval: Stack overflow in regexp matcher Quit Load-path shadows: /home/ealfonso/.emacs.d/elpa/go-mode-20160220.1751/go-mode-autoloads hides /home/ealfonso/repos/dotemacs/libs/go-mode-autoloads /home/ealfonso/.emacs.d/elpa/go-mode-20160220.1751/go-mode hides /home/ealfonso/repos/dotemacs/libs/go-mode /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell Features: (shadow emacsbug sendmail cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs nnir tramp-cache filecache sgml-mode debug slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl elp slime-parse slime gud apropos hyperspec sh-script smie executable python url-handlers sort gnus-cite smiley shr browse-url mm-archive gnus-async gnus-bcklg qp gnus-ml disp-table nndraft nnmh nnfolder utf-7 gnutls nnimap parse-time utf7 netrc gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils dired-aux mail-extr pkg-info url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw json lisp-mnt epl cider tramp-sh cider-debug cider-browse-ns cider-inspector cider-mode cider-interaction arc-mode archive-mode cider-repl cider-resolve cider-test cider-overlays cider-stacktrace cider-doc org-table cider-grimoire cider-popup cider-eldoc eldoc cider-client cider-common cider-util nrepl-client tramp tramp-compat tramp-loaddefs trampver shell queue nrepl-dict cider-compat seq seq-24 ewoc spinner mule-util clojure-mode align imenu network-stream starttls tls erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat eieio-opt speedbar sb-image ezimage dframe edebug ielm pp go-mode url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap find-file etags misearch multi-isearch face-remap help-mode ffap thingatpt url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core mm-util mail-prsvr password-cache url-vars diary-lib diary-loaddefs cal-iso vc-git org-element org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org-agenda tmp-completions tetris-o-1 sexchange-mode debian-forum-post-mode wm-windows slime-autoloads epa derived epg org-crypt org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs compile comint ansi-color ring plusx proxy-mode my-emacs-settings paren server easymenu go-mode-autoloads package epg-config legalese isearch-fast-reverse zoom-global erjoalgo-command-mode command-mode-commands wombat-theme edmacro kmacro cl-macs easy-mmode cl cl-loaddefs cl-lib quick-yes advice help-fns goto-last-change f dash gv s ucs-normalize time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 1333406 146899) (symbols 48 59260 0) (miscs 40 2251 6192) (strings 32 162441 28922) (string-bytes 1 6693016) (vectors 16 83154) (vector-slots 8 1992903 167205) (floats 8 581 1083) (intervals 56 149633 1235) (buffers 960 129) (heap 1024 114485 7136))