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#21474: emacs-25.0.50: compilation error in leim: Args out of Date: Sat, 26 Nov 2016 17:30:46 -0500 Message-ID: References: <20150914124034.GX11695@danbala.tuwien.ac.at> <874m2v2o7x.fsf@trouble.defaultvalue.org> <83r35y3equ.fsf@gnu.org> <87shqe0wmd.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1480199476 23165 195.159.176.226 (26 Nov 2016 22:31:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2016 22:31:16 +0000 (UTC) Cc: 21474@debbugs.gnu.org To: Rob Browning Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 26 23:31:11 2016 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 1cAlV0-000580-BP for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Nov 2016 23:31:10 +0100 Original-Received: from localhost ([::1]:51968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAlV3-0000C1-S4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Nov 2016 17:31:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAlUw-0000Bk-NP for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2016 17:31:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAlUs-0006FH-JI for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2016 17:31:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cAlUs-0006FB-FB for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2016 17:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cAlUs-00053K-8n for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2016 17:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Nov 2016 22:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21474-submit@debbugs.gnu.org id=B21474.148019945519409 (code B ref 21474); Sat, 26 Nov 2016 22:31:02 +0000 Original-Received: (at 21474) by debbugs.gnu.org; 26 Nov 2016 22:30:55 +0000 Original-Received: from localhost ([127.0.0.1]:42698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cAlUk-00052z-Q8 for submit@debbugs.gnu.org; Sat, 26 Nov 2016 17:30:54 -0500 Original-Received: from mail-oi0-f67.google.com ([209.85.218.67]:35223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cAlUj-00052m-88 for 21474@debbugs.gnu.org; Sat, 26 Nov 2016 17:30:53 -0500 Original-Received: by mail-oi0-f67.google.com with SMTP id v84so9109043oie.2 for <21474@debbugs.gnu.org>; Sat, 26 Nov 2016 14:30:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3VIpcR9OYZZ7TvsmArf+JpYdqzpglfAQnQwYhQBp/ow=; b=l0o6rxaQsmq1kaDZUO7W516ua3DWgihyvOXJz5taRBAOdeGF6xu8Nlb7ZLNb02YtHQ 6yDWbsTfaNIHQIt+KEINw+5rAVR7QcG+Z70iePP565DXomuGJi/9OAGUzlMOIQ8/vNjl ZlYypd/87yzqxOGkjiVAe9uaeSpgY9CYhC/rtL3ITVNR0DR6GqDVP8+zNt+qwLLf7Z3n fKmwWj3vUgxk6fYKYHRuk7b6/htnwd5uFrmzvsGmdBbn65OUlQ8zWZBxYQFMd/2zXIGz z6UL576i4eCndJB7nd1dbJ6d0PPr+8jcFLm0KagepEbRo+zL8gJ/gigiWJ63+u1KOr2f 5nKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3VIpcR9OYZZ7TvsmArf+JpYdqzpglfAQnQwYhQBp/ow=; b=KZgMxN/S0nz1BhWGtV+azaGaMPlhH5C0KjV1eegg/ZPOEaIX3pFKnOZCEvid1/yOkP Lnp1fnBLRE2fLcdpxrS4Z+OwLKm6b6CnA5tEHHSu0n2fx9LtrXc6o1+KEJ3xv8+Vw3+N ZnorW/cDwnCPa/7TLwyIM1hlxzCNg9Jlm3b2Xfg/HSurM82zvYZmiKMYGs0qzptLSExx vPrYieo3YUrkfXsjCCSjgJCRyR1BfMPeki+k8t3S0k9gKsj/gXFriLNDRgOe6kHvnqfu FtnSQkxt/yznZeFwMzKwpyvJYAkuguX24fJY0thN8mHuAIuqowjuQ0YvTbAo4iAzTmwj 2lpA== X-Gm-Message-State: AKaTC038LEI5tyhNG+lY9K6kr0OH6q2Fpp/XVgoLqqWZYxpA+9/ntrvaeJaB24Ai2enSuDGxCAQH46y2hn5PUw== X-Received: by 10.202.77.194 with SMTP id a185mr8355584oib.26.1480199447313; Sat, 26 Nov 2016 14:30:47 -0800 (PST) Original-Received: by 10.157.4.67 with HTTP; Sat, 26 Nov 2016 14:30:46 -0800 (PST) In-Reply-To: <87shqe0wmd.fsf@trouble.defaultvalue.org> X-Google-Sender-Auth: WN2D__E6VPNO8UjNIE5jhGaH4ik 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:126133 Archived-At: On Sat, Nov 26, 2016 at 4:17 PM, Rob Browning wrote: > > In any case, after poking around in the newer emacs-25 commits (as > mentioned above), it seemed like applying these allocation related > patches might help: > > b6998ea * src/regex.h (re_match_object): Improve commentary. > ad66b3f Fix handling of allocation in regex matching > f6134bb Port to GCC 6.2.1 + --enable-gcc-warnings > c2a1792 * src/regex.c (re_search_2): Make new code safe for -Wjump-misses-init. > ee04aed Fix handling of buffer relocation in regex.c functions > 7bb5c4f Port --enable-gcc-warnings to bleeding-edge glibc > 1047496 Another fix for using pointer to buffer text > 96ac0c3 Yet another fix for using pointers into buffer text > 32827b3 Default REL_ALLOC to 'no' > fee4cef Revert fixes to allocation of regex matching > 43986d1 Inhibit buffer relocation during regex searches > 0221b7a Mark relocation workarounds with REL_ALLOC You could probably trim a bit, e.g. just the "Default REL_ALLOC to 'no'" by itself should work, or a minimal set with REL_ALLOC=yes should be listed at https://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00971.html. > > And indeed, with those, I've yet to see a crash, but as we know, they're > intermittent. To help increase confidence, two others who have been > able to produce the crash are probably also going to test that tree > soon. Doing 'make extraclean && ./configure && make' seemed to be fairly reliable way of reproducing it (if configured with GTK).