Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 545E2200C87 for ; Wed, 17 May 2017 17:16:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 515E7160BBA; Wed, 17 May 2017 15:16:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 99346160BB5 for ; Wed, 17 May 2017 17:16:11 +0200 (CEST) Received: (qmail 66388 invoked by uid 500); 17 May 2017 15:16:10 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 66342 invoked by uid 99); 17 May 2017 15:16:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2017 15:16:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2546DCD5C4 for ; Wed, 17 May 2017 15:16:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.951 X-Spam-Level: X-Spam-Status: No, score=-98.951 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id F0ipzVK2hFHw for ; Wed, 17 May 2017 15:16:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 17ADE60DBE for ; Wed, 17 May 2017 15:16:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 30CADE0DBA for ; Wed, 17 May 2017 15:16:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 78579263B4 for ; Wed, 17 May 2017 15:16:04 +0000 (UTC) Date: Wed, 17 May 2017 15:16:04 +0000 (UTC) From: "James E. King, III (JIRA)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (THRIFT-4200) commit THRIFT-4034 makes bison++ 1.21 crash MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 17 May 2017 15:16:12 -0000 [ https://issues.apache.org/jira/browse/THRIFT-4200?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D160= 14188#comment-16014188 ]=20 James E. King, III edited comment on THRIFT-4200 at 5/17/17 3:15 PM: --------------------------------------------------------------------- Bison should never crash, that is a bug in bison. We may be able to work a= round it, perhaps, but I think this should be reported to the bison team in= stead. It also seems a bit strange your bison executable is reporting a di= fferent version than your dpkg command - it could be a corrupted install. was (Author: jking3): Bison should never crash, that is a bug in bison. We may be able to work a= round it, perhaps, but I think this should be reported to the bison team in= stead. > commit THRIFT-4034 makes bison++ 1.21 crash > ------------------------------------------- > > Key: THRIFT-4200 > URL: https://issues.apache.org/jira/browse/THRIFT-4200 > Project: Thrift > Issue Type: Bug > Components: Build Process > Affects Versions: 0.11.0 > Environment: - Linux 4.4.0-72-generic #93-Ubuntu SMP x86_64 x86_6= 4 x86_64 GNU/Linux > - Ubuntu 16.04.2 LTS xenial > - bison++ 1.21.11-3.1 (as claimed by `dpkg -l bison*`) or 1.21.9-1 (as cl= aimed by `bison++ --version`) > - dpkg -l g++: g++ 4:5.3.1-1ubuntu1 / g++ --version: g++ (Ubuntu 5.4.0-6u= buntu1~16.04.4) 5.4.0 20160609 > - cmake 3.5.1-1ubuntu3 > Reporter: nojhan > Priority: Blocker > > When trying to build a freshly cloned Thrift repository: > ./bootstrap.sh > ./configure > make > It ends on this error: > [...] > /bin/bash ../../../ylwrap thrift/thrifty.yy y.tab.c thrift/thrifty.cc y.t= ab.h `echo thrift/thrifty.cc | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hx= x/ -e s/c++$/h++/ -e s/c$/h/` y.output thrift/thrifty.output -- bison -y -d= =20 > *** Error in `bison': double free or corruption (!prev): 0x000000000085c3= 80 *** > =3D=3D=3D=3D=3D=3D=3D Backtrace: =3D=3D=3D=3D=3D=3D=3D=3D=3D > /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f6ba63ca7e5] > /lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7f6ba63d2e0a] > /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f6ba63d698c] > /lib/x86_64-linux-gnu/libc.so.6(fclose+0x103)[0x7f6ba63c0363] > bison[0x407b34] > bison[0x40ec3a] > bison[0x40ed37] > bison[0x4012e4] > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f6ba6373830] > bison[0x4013d4] > =3D=3D=3D=3D=3D=3D=3D Memory map: =3D=3D=3D=3D=3D=3D=3D=3D > [...] > "[...]/thrift/compiler/cpp/src/thrift/thrifty.yy", line 1: junk after `%%= ' in definition section > "[...]/thrift/compiler/cpp/src/thrift/thrifty.yy", line 1: no input gramm= ar > ../../../ylwrap : ligne 174 : 3041 Abandon (core dumped)= "$prog" "$@" "$input" > Makefile:908=C2=A0: la recette pour la cible =C2=AB=C2=A0thrift/thrifty.c= c=C2=A0=C2=BB a =C3=A9chou=C3=A9e > [...] > A git bisect search indicates that: > 330b3f814a33ab8a740fca4da29106bd7e219b1d is the first bad commit > commit 330b3f814a33ab8a740fca4da29106bd7e219b1d > Author: James E. King, III > Date: Mon Jan 23 08:52:04 2017 -0500 > THRIFT-4034 compiler build fixes for macos sierra and some cmake clea= nup for compiler > Compiler > Patch: Robert Lu > =20 > This closes #1161 > :100755 100755 e7ab87d35ef566143e83f9bf4aecb4fa741a8ceb 82ce366ab3663f488= 1e3ef3549beec1ff96d5dac M=09appveyor.yml > :040000 040000 69fc0bea59360f17a92304fd5ecc85993a757db7 88a3617a0a66a1d28= 440121e4f47e0eec4ff993f M=09compiler -- This message was sent by Atlassian JIRA (v6.3.15#6346)