openbsc[master]: gsm_ts2chan_nr(): add assertions for lchan_nr

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Fri Jul 29 15:29:26 UTC 2016


Patch Set 2:

Why this assertion is necessary and how was it tested? It's triggered while testing octphy:
<0006> l1_if.c:763 model_init()
<0012> input/ipaccess.c:876 enabling ipaccess BTS mode
<0012> input/ipa.c:129 connection done.
<0012> input/ipaccess.c:700 received ID get
<0012> input/ipa.c:129 connection done.
<0012> input/ipaccess.c:700 received ID get
<0000> rsl.c:244 Tx RSL RF RESource INDication
<0000> rsl.c:2236 (bts=0,trx=0,ts=0,ss=0) Rx RSL BCCH_INFO
<0000> rsl.c:294  Rx RSL BCCH INFO (SI1)
<0005> paging.c:545 Paging: BS_AG_BLKS_RES = 0 != 1 not fully supported
Assert failed lchan_nr == 0 gsm_data_shared.c:595
backtrace() returned 15 addresses
/usr/lib/i386-linux-gnu/libosmocore.so.7(osmo_generate_backtrace+0x16) [0xb7774e06]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x8055eae]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x8055f99]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x80503de]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x805052c]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x8051219]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x8051399]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x804df53]
/usr/lib/i386-linux-gnu/libosmocore.so.7(osmo_wqueue_bfd_cb+0x86) [0xb7771906]
/usr/lib/i386-linux-gnu/libosmocore.so.7(osmo_select_main+0x204) [0xb776deb4]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x8067591]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x804ad6b]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb753caf3]
./src/osmo-bts-octphy/osmo-bts-octphy() [0x804ad8e]

-- 
To view, visit https://gerrit.osmocom.org/589
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibfdef347c85d4a145645a7325cd193ea1b475a54
Gerrit-PatchSet: 2
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: neels_test_account <neels at hofmeyr.de>
Gerrit-HasComments: No



More information about the gerrit-log mailing list