Actions
Bug #3148
closedgsm0808_test fails sporadically
Start date:
04/08/2018
Due date:
% Done:
100%
Spec Reference:
Description
On my debian testing gcc (Debian 7.3.0-12) 7.3.0 with address sanitizer enabled,
gsm0808_test fails, say, one out of 20 times with:
▶ cat testsuite.dir/21/testsuite.log # -*- compilation -*- 21. testsuite.at:129: testing gsm0808 ... ../../../src/libosmocore/tests/testsuite.at:132: $abs_top_builddir/tests/gsm0808/gsm0808_test stderr: ../../../../src/libosmocore/src/gsm/gsm0808_utils.c:187:8: runtime error: load of value 2, which is not a valid value for type '_Bool' Assert failed memcmp(&enc_sc, &dec_sc, sizeof(enc_sc)) == 0 ../../../src/libosmocore/tests/gsm0808/gsm0808_test.c:640 /n/s/dev/make/libosmocore/tests/testsuite.dir/at-groups/21/test-source: line 25: 12069 Aborted $abs_top_builddir/tests/gsm0808/gsm0808_test --- expout 2018-04-09 01:47:31.026472626 +0200 +++ /n/s/dev/make/libosmocore/tests/testsuite.dir/at-groups/21/stdout 2018-04-09 01:47:31.030472660 +0200 @@ -1,22 +0,0 @@ -Testing generation of GSM0808 messages -Testing creating Layer3 [...] -Testing prepend DTAP -Done ../../../src/libosmocore/tests/testsuite.at:132: exit code was 134, expected 0 21. testsuite.at:129: 21. gsm0808 (testsuite.at:129): FAILED (testsuite.at:132)
Actions