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/.
pespin gerrit-no-reply at lists.osmocom.orgHello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-pcu/+/25044 to look at the new patch set (#2). Change subject: tests/tbf: Fix null pointer access if slowly stepping with gdb ...................................................................... tests/tbf: Fix null pointer access if slowly stepping with gdb When slowly debugging test_tbf_dl_llc_loss, bssgp_tx_llc_discarded() may trigger, submitting events to the libosmogb code. Since it didn't properly set up the callback, it would end up in a null pointer dereference when lib code tried to use backward-compatible API (which was neither set up properly). """ TBF(TFI=0 TLLI=0xc0123456 DIR=DL STATE=ASSIGN) Discarding LLC PDU because lifetime limit reached, count=3 new_queue_size=0 BSSGP (BVCI=2234) Tx LLC-DISCARDED TLLI=0xc0123456, FRAMES=3, OCTETS=57 /git/libosmocore/src/gb/gprs_ns.c:271:2: runtime error: member access within null pointer of type 'struct gprs_ns_inst' """ """ (gdb) bt #0 0x00007ffff729cac0 in gprs_active_nsvc_by_nsei (nsi=nsi at entry=0x0, nsei=2234, bvci=bvci at entry=0) at /git/libosmocore/src/gb/gprs_ns.c:271 #1 0x00007ffff72b1fec in gprs_ns_sendmsg (nsi=0x0, msg=0x621000000160) at /git/libosmocore/src/gb/gprs_ns.c:1087 #2 0x00007ffff72d1803 in _gprs_ns_sendmsg (ctx=<optimized out>, msg=<optimized out>) at /git/libosmocore/src/gb/gprs_bssgp.c:80 #3 0x00007ffff730226f in bssgp_tx_llc_discarded (bctx=<optimized out>, tlli=<optimized out>, num_frames=<optimized out>, num_octets=<optimized out>) at /git/libosmocore/src/gb/gprs_bssgp_bss.c:249 #4 0x000055555588243e in gprs_rlcmac_dl_tbf::llc_dequeue (this=0x7ffff1622860, bctx=<optimized out>) at /git/osmo-pcu/src/tbf_dl.cpp:413 """ Change-Id: Iee5bcf21afc8980a14f90f5b1ead6d2460a244ea --- M tests/tbf/TbfTest.cpp 1 file changed, 41 insertions(+), 29 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/44/25044/2 -- To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/25044 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Change-Id: Iee5bcf21afc8980a14f90f5b1ead6d2460a244ea Gerrit-Change-Number: 25044 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: daniel <dwillmann at sysmocom.de> Gerrit-MessageType: newpatchset -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210726/556620aa/attachment.htm>