Project

General

Profile

Bug #4170

osmo-trx(-uhd) stays started after BTS is stopped

Added by pespin 3 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
UHD
Target version:
-
Start date:
08/22/2019
Due date:
% Done:

100%

Spec Reference:

Description

Thu Aug 22 18:11:17 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 139678
Thu Aug 22 18:11:18 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 139895
Thu Aug 22 18:11:19 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 140111
Thu Aug 22 18:11:20 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 140328
Thu Aug 22 18:11:21 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 140545
Thu Aug 22 18:11:22 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 140762   <--- HERE I CLOSE ALL MI NETWORK ELEMENTS EXCEPT osmo-trx-uhd
Thu Aug 22 18:11:23 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:23 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:23 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:23 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:23 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 140979
Thu Aug 22 18:11:23 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 141195
Thu Aug 22 18:11:24 2019 DMAIN <0000> Transceiver.cpp:1112 [tid=140521744869120] mClockSocket write(20) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:24 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:25 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:25 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:25 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:25 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:25 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 141412
Thu Aug 22 18:11:26 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:26 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:26 2019 DMAIN <0000> Transceiver.cpp:1108 [tid=140521744869120] ClockInterface: sending IND CLOCK 141629
Thu Aug 22 18:11:26 2019 DMAIN <0000> Transceiver.cpp:1112 [tid=140521744869120] mClockSocket write(20) failed: -1
Thu Aug 22 18:11:26 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -1
Thu Aug 22 18:11:26 2019 DTRXCTRL <0001> Transceiver.cpp:935 [tid=140521694512896][chan=0] mDataSockets read(21) failed: -

If sockets fail, the thread should send the signal callback to either "stop the transceiver and keep the process alive", or "stop the process".

History

#2 Updated by pespin 3 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Patch fixing the issue here:
https://gerrit.osmocom.org/c/osmo-trx/+/15289 Transceiver: exit process when BTS drops connection

Once merged, ticket can be closed.

#3 Updated by pespin 2 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)