Bug#878999: protobuf FTBFS on armhf/i386: testMergeFrom (google.protobuf.internal.message_test.Proto3Test) ... Segmentation fault

2017-10-20 Thread Mattia Rizzolo
On Wed, Oct 18, 2017 at 01:09:59PM +0300, Adrian Bunk wrote:
> testMapIterationClearMessage 
> (google.protobuf.internal.message_test.Proto3Test) ... ok
> testMapValidAfterFieldCleared 
> (google.protobuf.internal.message_test.Proto3Test) ... ok
> testMapsAreMapping (google.protobuf.internal.message_test.Proto3Test) ... ok
> testMergeFrom (google.protobuf.internal.message_test.Proto3Test) ... 
> Segmentation fault
> debian/rules:74: recipe for target 'override_dh_auto_test-arch' failed
> make[1]: *** [override_dh_auto_test-arch] Error 139


I couldn't reproduce it on abel.d.o, where I can reliably run the test
(attached the log of
for i in $(seq 1 100) ; do
figlet $i
python3.6 setup.py test --cpp_implementation -s 
google.protobuf.internal.message_test.Proto3Test.testMergeFrom || break
done | tee -a ~/test.log
as run on abel after a successful build.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
 _ 
/ |
| |
| |
|_|
   
running test
running egg_info
writing protobuf.egg-info/PKG-INFO
writing dependency_links to protobuf.egg-info/dependency_links.txt
writing namespace_packages to protobuf.egg-info/namespace_packages.txt
writing requirements to protobuf.egg-info/requires.txt
writing top-level names to protobuf.egg-info/top_level.txt
reading manifest file 'protobuf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'protobuf.egg-info/SOURCES.txt'
running build_ext
copying 
build/lib.linux-armv7l-3.6/google/protobuf/pyext/_message.cpython-36m-arm-linux-gnueabihf.so
 -> google/protobuf/pyext
copying 
build/lib.linux-armv7l-3.6/google/protobuf/internal/_api_implementation.cpython-36m-arm-linux-gnueabihf.so
 -> google/protobuf/internal
   
|___ \ 
  __) |
 / __/ 
|_|
   
running test
running egg_info
writing protobuf.egg-info/PKG-INFO
writing dependency_links to protobuf.egg-info/dependency_links.txt
writing namespace_packages to protobuf.egg-info/namespace_packages.txt
writing requirements to protobuf.egg-info/requires.txt
writing top-level names to protobuf.egg-info/top_level.txt
reading manifest file 'protobuf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'protobuf.egg-info/SOURCES.txt'
running build_ext
copying 
build/lib.linux-armv7l-3.6/google/protobuf/pyext/_message.cpython-36m-arm-linux-gnueabihf.so
 -> google/protobuf/pyext
copying 
build/lib.linux-armv7l-3.6/google/protobuf/internal/_api_implementation.cpython-36m-arm-linux-gnueabihf.so
 -> google/protobuf/internal
 _ 
|___ / 
  |_ \ 
 ___) |
|/ 
   
running test
running egg_info
writing protobuf.egg-info/PKG-INFO
writing dependency_links to protobuf.egg-info/dependency_links.txt
writing namespace_packages to protobuf.egg-info/namespace_packages.txt
writing requirements to protobuf.egg-info/requires.txt
writing top-level names to protobuf.egg-info/top_level.txt
reading manifest file 'protobuf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'protobuf.egg-info/SOURCES.txt'
running build_ext
copying 
build/lib.linux-armv7l-3.6/google/protobuf/pyext/_message.cpython-36m-arm-linux-gnueabihf.so
 -> google/protobuf/pyext
copying 
build/lib.linux-armv7l-3.6/google/protobuf/internal/_api_implementation.cpython-36m-arm-linux-gnueabihf.so
 -> google/protobuf/internal
 _  _   
| || |  
| || |_ 
|__   _|
   |_|  

running test
running egg_info
writing protobuf.egg-info/PKG-INFO
writing dependency_links to protobuf.egg-info/dependency_links.txt
writing namespace_packages to protobuf.egg-info/namespace_packages.txt
writing requirements to protobuf.egg-info/requires.txt
writing top-level names to protobuf.egg-info/top_level.txt
reading manifest file 'protobuf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'protobuf.egg-info/SOURCES.txt'
running build_ext
copying 
build/lib.linux-armv7l-3.6/google/protobuf/pyext/_message.cpython-36m-arm-linux-gnueabihf.so
 -> google/protobuf/pyext
copying 
build/lib.linux-armv7l-3.6/google/protobuf/internal/_api_implementation.cpython-36m-arm-linux-gnueabihf.so
 -> google/protobuf/internal
   
| ___| 
|___ \ 
 ___) |
|/ 
   
running test
running egg_info
writing protobuf.egg-info/PKG-INFO
writing dependency_links to protobuf.egg-info/dependency_links.txt
writing namespace_packages to protobuf.egg-info/namespace_packages.txt
writing requirements to protobuf.egg-info/requires.txt
writing top-level names to protobuf.egg-info/top_level.txt
reading manifest file 'protobuf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'protobuf.egg-info/SOURCES.txt'
running build_ext
copying 

Bug#878999: protobuf FTBFS on armhf/i386: testMergeFrom (google.protobuf.internal.message_test.Proto3Test) ... Segmentation fault

2017-10-18 Thread Adrian Bunk
Source: protobuf
Version: 3.0.0-9.1
Severity: serious

protobuf FTBFS on armhf/i386:

https://buildd.debian.org/status/package.php?p=protobuf=sid

...
testMapIterationClearMessage (google.protobuf.internal.message_test.Proto3Test) 
... ok
testMapValidAfterFieldCleared 
(google.protobuf.internal.message_test.Proto3Test) ... ok
testMapsAreMapping (google.protobuf.internal.message_test.Proto3Test) ... ok
testMergeFrom (google.protobuf.internal.message_test.Proto3Test) ... 
Segmentation fault
debian/rules:74: recipe for target 'override_dh_auto_test-arch' failed
make[1]: *** [override_dh_auto_test-arch] Error 139


In reproducible builds the same segfault happens on armhf, but not on i386:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/armhf/protobuf.html