Project

General

Profile

Actions

Bug #4170

closed

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

Added by pespin over 4 years ago. Updated over 4 years 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".

Actions #2

Updated by pespin over 4 years 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.

Actions #3

Updated by pespin over 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)