thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nojhan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-4200) commit THRIFT-4034 makes bison++ 1.21 crash
Date Wed, 17 May 2017 08:27:04 GMT
nojhan created THRIFT-4200:
------------------------------

             Summary: 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_64 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 claimed by `bison++
--version`)
- dpkg -l g++: g++ 4:5.3.1-1ubuntu1 / g++ --version: g++ (Ubuntu 5.4.0-6ubuntu1~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.tab.h `echo thrift/thrifty.cc
| sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output thrift/thrifty.output
-- bison -y -d 
*** Error in `bison': double free or corruption (!prev): 0x000000000085c380 ***
======= Backtrace: =========
/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]
======= Memory map: ========
[...]
"[...]/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 grammar
../../../ylwrap : ligne 174 :  3041 Abandon                 (core dumped) "$prog" "$@" "$input"
Makefile:908 : la recette pour la cible « thrift/thrifty.cc » a échouée
[...]


A git bisect search indicates that:

330b3f814a33ab8a740fca4da29106bd7e219b1d is the first bad commit
commit 330b3f814a33ab8a740fca4da29106bd7e219b1d
Author: James E. King, III <jking@apache.org>
Date:   Mon Jan 23 08:52:04 2017 -0500

    THRIFT-4034 compiler build fixes for macos sierra and some cmake cleanup for compiler
    Compiler
    Patch: Robert Lu <robberphex@gmail.com>
    
    This closes #1161

:100755 100755 e7ab87d35ef566143e83f9bf4aecb4fa741a8ceb 82ce366ab3663f4881e3ef3549beec1ff96d5dac
M	appveyor.yml
:040000 040000 69fc0bea59360f17a92304fd5ecc85993a757db7 88a3617a0a66a1d28440121e4f47e0eec4ff993f
M	compiler




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message