Bug#792070: FTBFS: Writer tests give: Segmentation fault

2015-08-02 Thread Rene Engelhard
Hi,

On Tue, Jul 28, 2015 at 10:01:46PM +0200, Rene Engelhard wrote:
 On Fri, Jul 10, 2015 at 09:18:25PM +, Chris West (Faux) wrote:
  [--] 20 tests from Writer
  [ RUN  ] Writer.Compact
  [   OK ] Writer.Compact (0 ms)
  [ RUN  ] Writer.Root
  [   OK ] Writer.Root (0 ms)
  [ RUN  ] Writer.Int
  Segmentation fault
  debian/rules:41: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 139
  make[1]: Leaving directory '/tmp/buildd/rapidjson-0.12~git20141031'
 
 Yeah, same here :/
[...]
 When I build here I see
 
 [237033.938824] unittest_releas[19831]: segfault at 2e20e29 ip 
 004d0405 sp 7fff27d24d60 error 4 in 
 unittest_release_native_gmake[40+164000]
 
 in dmesg.

Interestingly it seems it works when built with gcc 5...

Regards,
 
Rene


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#792070: FTBFS: Writer tests give: Segmentation fault

2015-07-28 Thread Rene Engelhard
Hi,

On Fri, Jul 10, 2015 at 09:18:25PM +, Chris West (Faux) wrote:
 [--] 20 tests from Writer
 [ RUN  ] Writer.Compact
 [   OK ] Writer.Compact (0 ms)
 [ RUN  ] Writer.Root
 [   OK ] Writer.Root (0 ms)
 [ RUN  ] Writer.Int
 Segmentation fault
 debian/rules:41: recipe for target 'override_dh_auto_test' failed
 make[1]: *** [override_dh_auto_test] Error 139
 make[1]: Leaving directory '/tmp/buildd/rapidjson-0.12~git20141031'

Yeah, same here :/

 I managed to rebuild the tests in the debug configuration, and they pass fine.

OK, that would in emergency be a workaround...

 I didn't manage to rebuild the whole package in release mode with debug 
 information,
 so I can't give you a useful backtrace.

 It happens on both builders I care about.  Here are the full build logs from 
 one of them:
 https://reproducible.debian.net/rb-pkg/unstable/amd64/rapidjson.html

When I build here I see

[237033.938824] unittest_releas[19831]: segfault at 2e20e29 ip 004d0405 
sp 7fff27d24d60 error 4 in unittest_release_native_gmake[40+164000]

in dmesg.

Given the test only does

TEST(Writer, Int) {
TEST_ROUNDTRIP([-1]);
TEST_ROUNDTRIP([-123]);
TEST_ROUNDTRIP([-2147483648]);
}

I don't believe it's rapidjson at fault but gtest... Cc'ing gtests maintainer.

Regards,

Rene


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#792070: FTBFS: Writer tests give: Segmentation fault

2015-07-28 Thread Rene Engelhard
Hi,

On Tue, Jul 28, 2015 at 10:01:46PM +0200, Rene Engelhard wrote:
  I managed to rebuild the tests in the debug configuration, and they pass 
  fine.

Mmh.

[237524.815956] unittest_debug_[24054]: segfault at 2e20e29 ip 004d0405 
sp 7ffc0712bec0 error 4 in unittest_debug_native_gmake[40+164000]

Doesn't look like it (at least here).
Regards,
 
Rene


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#792070: FTBFS: Writer tests give: Segmentation fault

2015-07-28 Thread Steve M. Robbins
On July 28, 2015 10:01:46 PM Rene Engelhard wrote:

 Given the test only does
 
 TEST(Writer, Int) {
 TEST_ROUNDTRIP([-1]);
 TEST_ROUNDTRIP([-123]);
 TEST_ROUNDTRIP([-2147483648]);
 }
 
 I don't believe it's rapidjson at fault but gtest... Cc'ing gtests
 maintainer.

This gtests maintainer is overloaded, so I can't do any troubleshooting for 
you.  

One shot-in-the-dark: if you use the gtest-provided CMake files and use 
pthreads, you might suffer from #789267.  Try the patch provided.

Otherwise, standard advice: check with gtest upstream.

Sorry,
-Steve


signature.asc
Description: This is a digitally signed message part.


Bug#792070: FTBFS: Writer tests give: Segmentation fault

2015-07-10 Thread Chris West (Faux)
Source: rapidjson
Version: 0.12~git20141031-1
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package fails to build:

[--] 20 tests from Writer
[ RUN  ] Writer.Compact
[   OK ] Writer.Compact (0 ms)
[ RUN  ] Writer.Root
[   OK ] Writer.Root (0 ms)
[ RUN  ] Writer.Int
Segmentation fault
debian/rules:41: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 139
make[1]: Leaving directory '/tmp/buildd/rapidjson-0.12~git20141031'

I managed to rebuild the tests in the debug configuration, and they pass fine.
I didn't manage to rebuild the whole package in release mode with debug 
information,
so I can't give you a useful backtrace.

It happens on both builders I care about.  Here are the full build logs from 
one of them:
https://reproducible.debian.net/rb-pkg/unstable/amd64/rapidjson.html

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-22-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org