Project

General

Profile

Actions

Bug #3148

closed

gsm0808_test fails sporadically

Added by neels about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
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 #2

Updated by neels about 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90
Actions #3

Updated by laforge almost 6 years ago

  • Assignee set to neels

assignin to neels. we cannot have an "in progress" issue which has nobody assigned to it.

Actions #4

Updated by neels almost 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

ah, my bad.
Since above patch was merged, this one followed to fix the remaining ones: https://gerrit.osmocom.org/7888
All merged.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)