Project

General

Profile

Actions

Bug #5326

closed

odr-violation when running osmo-mgw

Added by laforge over 2 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11/24/2021
Due date:
% Done:

0%

Spec Reference:

Description

I'm getting this when trying to run osmo-mgw current master on Debian unstable (gcc-11.2.0-12):

laforge@nataraja%pts/9 (15:13) git/osmo-mgw/src/osmo-mgw > ./osmo-mgw -c ./osmo-mgw.cfg
=================================================================
==253718==ERROR: AddressSanitizer: odr-violation (0x7f09df40f7c0):
  [1] size=8 'tall_sigh_ctx' signal.c:39:7
  [2] size=8 'tall_sigh_ctx' signal.c:39:7
These globals were registered at these points:
  [1]:
    #0 0x7f09dfcbffb8 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341
    #1 0x7f09df1e8f6f in _sub_I_00099_1 (/usr/local/lib/libosmocore.so.18+0x11cf6f)
    #2 0x7f09e06bf10d in call_init elf/dl-init.c:74

  [2]:
    #0 0x7f09dfcbffb8 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341
    #1 0x7f09dd74119f in _sub_I_00099_1 (/usr/local/lib/libosmocore.so.16+0x4119f)
    #2 0x7f09e06bf10d in call_init elf/dl-init.c:74

==253718==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'tall_sigh_ctx' at signal.c:39:7
==253718==ABORTING
Actions #1

Updated by laforge over 2 years ago

  • Status changed from New to Rejected

problem was osmo-e1d still linked against libosmcore.so.16 while everything else was libosmocore.so.18 resulting in two global variables with the same name.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)