osmo-pcu.git branch master updated. 0.2-874-gb78a4a6

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/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Fri Jan 6 13:54:20 UTC 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, master has been updated
       via  b78a4a6dfef217c538d45949a6ae725e22a36b05 (commit)
      from  06bdb3550c7dea052884a65e5a585d4d79d8fe7d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=b78a4a6dfef217c538d45949a6ae725e22a36b05

commit b78a4a6dfef217c538d45949a6ae725e22a36b05
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Dec 28 20:18:31 2016 +0100

    fix segfault: check for NULL tbf in sched_select_ctrl_msg()
    
    Apparently fixes a corrupted stack looking like this on sysmobts:
    
      (gdb) run
      Starting program: /usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/libthread_db.so.1".
      <000b> telnet_interface.c:95 telnet at 127.0.0.1 4240
      <0001> osmobts_sock.cpp:227 Opening OsmoPCU L1 interface to OsmoBTS
      <0001> osmobts_sock.cpp:285 osmo-bts PCU socket has been connected
      <0001> pcu_l1_if.cpp:368 BTS available
      <0008> gprs_ns.c:233 NSVCI=65534 Creating NS-VC
      <0008> gprs_ns.c:233 NSVCI=100 Creating NS-VC
      <0008> gprs_ns.c:1568 NSEI=100 RESET procedure based on API request
      <0008> gprs_ns.c:393 NSEI=100 Tx NS RESET (NSVCI=100, cause=O&M intervention)
      <0001> pcu_l1_if.cpp:83 Sending activate request: trx=0 ts=2
      <0001> pcu_l1_if.cpp:495 PDCH: trx=0 ts=2
      <0001> pcu_l1_if.cpp:83 Sending activate request: trx=0 ts=3
      <0001> pcu_l1_if.cpp:495 PDCH: trx=0 ts=3
      <0001> pcu_l1_if.cpp:83 Sending activate request: trx=0 ts=4
      <0001> pcu_l1_if.cpp:495 PDCH: trx=0 ts=4
      <0001> pcu_l1_if.cpp:83 Sending activate request: trx=0 ts=5
      <0001> pcu_l1_if.cpp:495 PDCH: trx=0 ts=5
      <0001> pcu_l1_if.cpp:83 Sending activate request: trx=0 ts=6
      <0001> pcu_l1_if.cpp:495 PDCH: trx=0 ts=6
      <0001> pcu_l1_if.cpp:83 Sending activate request: trx=0 ts=7
      <0001> pcu_l1_if.cpp:495 PDCH: trx=0 ts=7
      <0001> pcu_l1_if.cpp:319 RACH request received: sapi=1 qta=0, ra=120, fn=103198
      <0009> tbf_ul.cpp:373 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0x7f2dd569 DIR=UL STATE=FLOW) len=6
      <0008> gprs_ns.c:684 All NS-VCs for NSEI 100 are either dead or blocked!
    
      Program received signal SIGSEGV, Segmentation fault.
      gprs_rlcmac_rcv_rts_block (bts=0x60a08, trx=trx at entry=0 '\000', ts=ts at entry=4 '\004', fn=7, fn at entry=103272,
          block_nr=block_nr at entry=0 '\000') at gprs_rlcmac_sched.cpp:349
      349	gprs_rlcmac_sched.cpp: No such file or directory.
      (gdb) bt
      #0  gprs_rlcmac_rcv_rts_block (bts=0x60a08, trx=trx at entry=0 '\000', ts=ts at entry=4 '\004', fn=7, fn at entry=103272,
          block_nr=block_nr at entry=0 '\000') at gprs_rlcmac_sched.cpp:349
      #1  0x0001151c in pcu_rx_rts_req_pdtch (trx=<optimized out>, ts=<optimized out>, fn=103272, block_nr=<optimized out>)
          at pcu_l1_if.cpp:279
      #2  0x0000bfcc in handle_ph_readytosend_ind (fl1h=0xafa40, rts_ind=0xb03f8) at osmo-bts-sysmo/sysmo_l1_if.c:142
      #3  l1if_handle_l1prim (wq=<optimized out>, fl1h=0xafa40, msg=0xb0330) at osmo-bts-sysmo/sysmo_l1_if.c:259
      #4  0x4fcd6330 in osmo_fd_disp_fds (_eset=0xbefffb68, _wset=0xbefffae8, _rset=0xbefffa68) at select.c:149
      #5  osmo_select_main (polling=<optimized out>) at select.c:189
      #6  0x0000b2a0 in main (argc=<optimized out>, argv=0x66628 <_ZStL8__ioinit>) at pcu_main.cpp:295
    
    Fixes: coverity CID#158969
    Related: https://lists.osmocom.org/pipermail/osmocom-net-gprs/2016-December/000785.html
    Change-Id: I357492e558e98cfdbf5bb3438b5013029195b02b

-----------------------------------------------------------------------

Summary of changes:
 src/gprs_rlcmac_sched.cpp | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
UNNAMED PROJECT



More information about the osmocom-commitlog mailing list