Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible loop rtsp.cpp #16

Open
DocSnyd3r opened this issue Nov 2, 2019 · 1 comment
Open

possible loop rtsp.cpp #16

DocSnyd3r opened this issue Nov 2, 2019 · 1 comment

Comments

@DocSnyd3r
Copy link

DocSnyd3r commented Nov 2, 2019

Hi,

my satipclient crashes (actually it goes to 100% CPU usage) when the receiver is trying to end a stream (like on standby or pvr playback).

Debug output
`[956.662][2206 ../git/rtsp.cpp : 340][handleResponse ] debug: RTSP rx data end (0)
[956.662][2206 ../git/rtsp.cpp : 735][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TRANSMITTING
[956.662][2206 ../git/rtsp.cpp : 921][startTimerKeepAliveMessage] debug: startTimerKeepAliveMessage
[957.716][2206 ../git/rtsp.cpp : 735][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TRANSMITTING
[959.362][2206 ../git/vtuner.cpp : 530][vtunerEvent ] debug: MSG_SET_TONE: low
[959.362][2206 ../git/rtsp.cpp : 735][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TRANSMITTING
[959.362][2206 ../git/vtuner.cpp : 534][vtunerEvent ] debug: MSG_SET_VOLTAGE: 2
[959.362][2206 ../git/rtsp.cpp : 735][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TRANSMITTING
[959.362][2206 ../git/rtsp.cpp : 927][stopTimerKeepAliveMessage] debug: stopTimerKeepAliveMessage
[959.362][2206 ../git/rtsp.cpp : 909][startTimerResetConnect ] debug: startTimerResetConnect
[959.362][2206 ../git/vtuner.cpp : 534][vtunerEvent ] debug: MSG_SET_VOLTAGE: 2
[959.362][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[959.490][2206 ../git/rtsp.cpp : 881][handlePollEvents ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[959.490][2206 ../git/rtsp.cpp : 226][handleResponse ] debug: RTSP: RX 87/0
[959.490][2206 ../git/rtsp.cpp : 256][handleResponse ] debug: RTSP rx data (0x337c1/87) :
RTSP/1.0 200 OK
CSeq: 24
Date: Wed, 07 Jan 1970 00:43:03 GMT
Session: 710BF384

[959.490][2206 ../git/rtsp.cpp : 915][stopTimerResetConnect ] debug: stopTimerResetConnect
[959.490][2206 ../git/rtsp.cpp : 340][handleResponse ] debug: RTSP rx data end (2)
[959.490][2206 ../git/rtsp.cpp : 256][handleResponse ] debug: RTSP rx data ((nil)/2) :

[959.490][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[960.492][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[961.492][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[962.493][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[963.494][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[964.496][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[965.496][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[966.497][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[967.498][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[968.499][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[969.500][2206 ../git/rtsp.cpp : 769][handleRTSPStatus ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING
[969.626][2206 ../git/rtsp.cpp : 881][handlePollEvents ] debug: RTSP STATUS : RTSP_STATUS_SESSION_TEARDOWNING`

Wireshark showed me two additional bytes of data in the last response, there was an additional 0d 0a after the two previous 0d 0a. So there were three 0d 0a pairs after "Session: 710BF384"

@DocSnyd3r
Copy link
Author

Meanwhile I have a raspeberry with minisatip between the receiver and my satip hardware Telestar Digibit Twin which fixes the problem.
But a native fix would be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant