From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#28329: 25.2; Eshell: 40M+ output: Stack overflow in regexp matcher Date: Fri, 20 Oct 2017 21:20:06 -0400 Message-ID: <87o9p1e1q1.fsf@users.sourceforge.net> References: <87lglxbg00.fsf@gmail.com> <87ziac5xsn.fsf@users.sourceforge.net> <87r2uwmf25.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1508548895 7713 195.159.176.226 (21 Oct 2017 01:21:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 21 Oct 2017 01:21:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: Pierre Neidhardt To: 28329@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 21 03:21:27 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5iTN-0006wD-GT for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Oct 2017 03:21:09 +0200 Original-Received: from localhost ([::1]:56292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5iTT-0006TD-9y for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Oct 2017 21:21:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5iTN-0006SS-A6 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 21:21:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5iTG-0005Iw-Q6 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 21:21:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5iTG-0005Is-Lh for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 21:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e5iTG-0001Um-F6 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 21:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2017 01:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28329-submit@debbugs.gnu.org id=B28329.15085488175672 (code B ref 28329); Sat, 21 Oct 2017 01:21:02 +0000 Original-Received: (at 28329) by debbugs.gnu.org; 21 Oct 2017 01:20:17 +0000 Original-Received: from localhost ([127.0.0.1]:52922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5iSX-0001TK-3q for submit@debbugs.gnu.org; Fri, 20 Oct 2017 21:20:17 -0400 Original-Received: from mail-it0-f48.google.com ([209.85.214.48]:44392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5iSU-0001Sz-1n; Fri, 20 Oct 2017 21:20:14 -0400 Original-Received: by mail-it0-f48.google.com with SMTP id n195so1583070itg.1; Fri, 20 Oct 2017 18:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HuKmgtVV5zhHGCk+O9XkeHQBiMEo8n8TP/q22Kyr0YE=; b=qv9WUTsaYGJcT8P0fWvHJLgneIH84HBkFJQm0RfQT0lIhu6A1zGOafeV6avnokCcEQ CC2esxiXzAcHLKYtoVidxDwZeran4kdrRG4nBAAdRY1+oPCH4OFJJOi69qtWDMseHY6l rvUEHZ5ckfPgqNJ24s95cOTCjECfn1Phs37muxZjkXoF30vJbTh20FHwz8Q0x4NTEzPe r//R7jypaZg8W9aqH/L0LMIqVB99CYBZK1pkIkQoW5wr8PiZ65M/q8O5e6Kv5jrZ37+Y z64uTj+HbcfLdgp15p+jkKLpdPyyR94ogvDEYRYQk3KvFSwdx92d1KqV6pvUqOJ2bHiA Tk4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=HuKmgtVV5zhHGCk+O9XkeHQBiMEo8n8TP/q22Kyr0YE=; b=VnfoPCEHL+tSVFyDGjaVfXMwoDmvw9zIshgAfmvoaF+6hMMT2DuS+c+N8gMC+FM4IV wXUxW1hytSX/x8du0ZqV5ngIfJajO1JwuFFLFfapq3tFKRZBKQhTaeu7msLscdmOkk+T +f4nzhK/T0eX1KWKi8Zithjpj2hbNSk7x5kIBCZQvOvBap7Ubanf1F8R3WTOwQuUfCn7 ktDFyUeskqTK2bImonqyFtg84YWGEgESa6fodTYPvDFd54BX8VJmzq1ldBAdoF+YdTHR YdSIFgUxAwFIjNQYDJUUUzQ4gj2g9+00oS0LqorDGGmExjmyp7R+WPa9exQiR1aAsOkt 5X1g== X-Gm-Message-State: AMCzsaVuE/mhBetsV2tDfAlT+QRt4ogRioQbpHmCBdYYn49o61vfRSWw vQgp2qhRaI4MJqh5EIQolXT0MA== X-Google-Smtp-Source: ABhQp+Qy3RvvWaHZcTCdcNDgs2qW5qWrPH4qN8xa5bGELXDf4yL0jiQGhvWUZtqdHWydXBScDyDg1w== X-Received: by 10.36.103.75 with SMTP id u72mr958176itc.42.1508548808319; Fri, 20 Oct 2017 18:20:08 -0700 (PDT) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id e68sm27892ite.0.2017.10.20.18.20.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 18:20:07 -0700 (PDT) In-Reply-To: <87r2uwmf25.fsf@users.sourceforge.net> (Noam Postavsky's message of "Sun, 24 Sep 2017 08:55:30 -0400") 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:138790 Archived-At: tags 28329 + moreinfo unreproducible quit Noam Postavsky writes: >> Apparently, the line is just plain too long... >> I guess limiting the regexp matcher over, say, the first 256 characters >> would fix the issue. >> ---------- > > Can you catch that build output in a file, so it could be reproduced by > running 'cat build.log' in eshell? I tried copying the fragment you > have in your backtrace a couple of times to make it longer, but I was > unable to trigger the error. Perhaps the particular contents of the > string matters too (some values might let the matcher short-circuit the > backtracking). ping?