ossrs/srs

Core dumped: transcoding: cleanup when unpublish

Closed this issue · 6 comments

XCORE-SRS/6.0.177(Hang)
STABLE

3a390f0

Frequent crashes start after adding transcoding (exec or transcode directives)

RTC whip publish
cleanup when unpublish
CRASH

RTC whip publish
cleanup when unpublish
CRASH

RTC whip publish
cleanup when unpublish
CRASH
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.321][INFO][2900536][783a31k6] HTTP #0 127.0.0.1:38578 POST http://example.ru/rtc/v1/whip/?app=live&stream=gena&key=otjgy5h97qh8mcy>
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.321][INFO][2900536][783a31k6] RTC whip publish /live/gena, clientip=127.0.0.1, app=live, stream=gena, offer=5136B, eip=, co>
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.321][INFO][2900536][783a31k6] ignore attribute=, value=
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.323][INFO][2900536][783a31k6] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/3
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.324][INFO][2900536][783a31k6] free rtc source id=[]
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.324][INFO][2900536][783a31k6] cleanup when unpublish, created=1, deliver=0

Sep 19 20:58:41 Schrodinger srs[2085267]: [2025-09-19 20:58:41.542][INFO][2085267][1107k8u4] HTTP #0 127.0.0.1:56012 POST http://example.ru/rtc/v1/whip/?app=live&stream=adam&key=b1vvdc97m2x783rsq>
Sep 19 20:58:41 Schrodinger srs[2085267]: [2025-09-19 20:58:41.542][INFO][2085267][1107k8u4] RTC whip publish /live/adam, clientip=127.0.0.1, app=live, stream=adam, offer=1090B, eip=, codec=>
Sep 19 20:58:41 Schrodinger srs[2085267]: [2025-09-19 20:58:41.543][INFO][2085267][1107k8u4] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=0/0
Sep 19 20:58:41 Schrodinger srs[2085267]: [2025-09-19 20:58:41.543][INFO][2085267][1107k8u4] free rtc source id=[]
Sep 19 20:58:41 Schrodinger srs[2085267]: [2025-09-19 20:58:41.543][INFO][2085267][1107k8u4] cleanup when unpublish, created=1, deliver=0

Sep 17 18:26:42 Schrodinger srs[2010780]: [2025-09-17 18:26:42.499][INFO][2010780][42z94b02] cleanup when unpublish, created=1, deliver=0
Sep 17 18:26:42 Schrodinger srs[2010780]: AddressSanitizer:DEADLYSIGNAL
Sep 17 18:26:42 Schrodinger srs[2010780]: =================================================================
Sep 17 18:26:42 Schrodinger srs[2010780]: ==2010780==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5d92baa69b3a bp 0x71bb7d440500 sp 0x71bb7d440400 T0)
Sep 17 18:26:42 Schrodinger srs[2010780]: ==2010780==The signal is caused by a READ memory access.
Sep 17 18:26:42 Schrodinger srs[2010780]: ==2010780==Hint: address points to the zero page.
Sep 17 18:26:42 Schrodinger srs[2010780]: AddressSanitizer:DEADLYSIGNAL
Sep 17 18:26:42 Schrodinger srs[2010780]: AddressSanitizer: nested bug in the same thread, aborting.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Main process exited, code=exited, status=1/FAILURE
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2010813 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2010815 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2010870 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2010871 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011059 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011060 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011098 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011099 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011214 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011240 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011792 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011806 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2015267 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2043402 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2066306 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2066307 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2073425 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2074054 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011916 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2010809 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2010816 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011808 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2054824 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2015268 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2043401 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011791 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011213 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2067754 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2010871 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011099 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011214 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011240 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011792 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011806 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2043402 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2066306 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2066307 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2074054 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011916 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011808 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2054824 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011791 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011213 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011098 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2015268 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2043401 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011791 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011213 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2067754 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2010871 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011099 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011214 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011240 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011792 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011806 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2043402 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2066306 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2066307 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2074054 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011916 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011808 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2054824 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011791 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011213 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011098 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2011059 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Killing process 2015267 (ffmpeg) with signal SIGKILL.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Failed with result 'exit-code'.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2010871 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011099 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011214 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011240 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011806 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2043402 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2066306 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2066307 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2074054 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011916 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011808 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2054824 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011791 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011213 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Unit process 2011098 (ffmpeg) remains running after unit stopped.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Consumed 1h 28min 22.405s CPU time, 2.8G memory peak, 0B memory swap peak.
Sep 17 18:26:42 Schrodinger systemd[1]: srs.service: Scheduled restart job, restart counter is at 2.
Sep 17 18:26:42 Schrodinger systemd[1]: Started srs.service - Srs PROD.
Sep 17 18:26:42 Schrodinger srs[2074508]: [2025-09-17 18:26:42.814][INFO][2074508][lm9du6p9] XCORE-SRS/6.0.177(Hang)
Sep 17 18:26:42 Schrodinger srs[2074508]: [2025-09-17 18:26:42.814][INFO][2074508][lm9du6p9] config parse complete
Sep 17 18:26:42 Schrodinger srs[2074508]: [2025-09-17 18:26:42.814][INFO][2074508][lm9du6p9] write log to console
Sep 17 18:26:42 Schrodinger srs[2074508]: [2025-09-17 18:26:42.815][INFO][2074508][lm9du6p9] SRS/6.0.177(Hang), MIT
Sep 17 18:26:42 Schrodinger srs[2074508]: [2025-09-17 18:26:42.815][INFO][2074508][lm9du6p9] authors: Winlin<winlinvip@gmail.com> XiaoZhihong<hondaxiao@tencent.com> Winlin<winlinvip@gmail.com> ZhaoWenjie<zh>
    transcode {
        enabled on;
        ffmpeg /usr/local/bin/ffmpeg;
        engine ff {
            enabled on;

            perfile {
                re;
            }
            iformat flv;

            vfilter {
                vf 'scale=360:-2';
            }
            vcodec libx264;
            vbitrate 300;
            vfps 20;
            vthreads 12;
            vprofile baseline;
            vpreset superfast;
            vparams {
            }
            acodec aac;
            abitrate 48000;
            asample_rate 44100;
            achannels 2;
            aparams {
            }
            output rtmp://127.0.0.1:1937/[app]/[stream]?vhost=small;
        }
    }

Again

I noticed that it starts to crash if I add EXEC to the config.

exec {
    enabled on;
    publish /usr/bin/bash /opt/transcode.sh --app [app] --stream [stream] --port 1935 1>/opt/srs/prod/transcode_[app]_[stream].log 2>/opt/srs/prod/transcode_[app]_[stream].log;
}

transcode.sh

#!/usr/bin/env bash
PID=$$
echo "PID#$PID"
echo "Run $@"

VIDEO_BITRATE="300k"
VIDEO_WIDTH="360"
VIDEO_FPS="20"
VIDEO_KEYINT="40" #every 40 frames //2 sec
THREADS=1
#the read/write timeout to 5 seconds. If no data is received or sent within this period, FFmpeg will consider the connection timed out
TIMEOUT="5000000" #5s
AUDIO_BITRATE="48k"

while [[ "$#" -gt 0 ]]; do
    case "$1" in
        -a|--app)
            APP="$2"
            shift # Consume the argument's value
            ;;
        -s|--stream)
            STREAM="$2"
            shift # Consume the argument's value
            ;;
        -p|--port)
            PORT="$2"
            shift # Consume the argument's value
            ;;
        *)
            echo "Unknown parameter: $1"
            #exit 1
            ;;
    esac
    shift # Consume the current argument (flag or unknown)
done

if [ -z "$APP" ]; then
  echo "app required"
  exit 1
fi

if [ -z "$PORT" ]; then
  echo "port required"
  exit 1
fi

if [ "$APP" != "live" ]; then
  echo "$APP no transcodin, ignore"
  exec sleep 86400
  exit 0
fi

INPUT="rtmp://127.0.0.1:$PORT/$APP/$STREAM"
echo "start '$INPUT'"
exec /opt/srs/ffmpeg -rw_timeout $TIMEOUT -nostats -hide_banner -f flv -i $INPUT -vf scale=$VIDEO_WIDTH:-2 -vcodec libx264 -b:v $VIDEO_BITRATE -r $VIDEO_FPS -threads $THREADS -profile:v baseline -preset superfast -map 0:v? -map 0:a -x264-params keyint=$VIDEO_KEYINT:scenecut=0 -acodec aac -b:a $AUDIO_BITRATE -ar 44100 -ac 2 -f flv rtmp://127.0.0.1:$PORT/sd/$STREAM -vn -acodec copy -f flv rtmp://127.0.0.1:$PORT/audio/$STREAM

CORE-DUMPED

Sep 19 20:58:41 Schrodinger srs[2085267]: [2025-09-19 20:58:41.543][INFO][2085267][1107k8u4] cleanup when unpublish, created=1, deliver=0
Sep 19 20:58:41 Schrodinger srs[2085267]: AddressSanitizer:DEADLYSIGNAL
Sep 19 20:58:41 Schrodinger srs[2085267]: =================================================================
Sep 19 20:58:41 Schrodinger srs[2085267]: ==2085267==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5f4eebe7ab3a bp 0x7adc49100500 sp 0x7adc49100400 T0)
Sep 19 20:58:41 Schrodinger srs[2085267]: ==2085267==The signal is caused by a READ memory access.
Sep 19 20:58:41 Schrodinger srs[2085267]: ==2085267==Hint: address points to the zero page.
Sep 19 20:58:41 Schrodinger srs[2085267]: AddressSanitizer:DEADLYSIGNAL
Sep 19 20:58:41 Schrodinger srs[2085267]: AddressSanitizer: nested bug in the same thread, aborting.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Main process exited, code=exited, status=1/FAILURE
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 1775986 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2579740 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2627254 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2674745 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2674807 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2676219 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2711417 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2714199 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2724222 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2724256 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2759522 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2759920 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2760363 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2770304 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2776192 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2794827 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2826470 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2826966 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2827102 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2829409 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2839605 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2841110 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2841182 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2857553 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2865609 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2865625 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2882804 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2882934 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2885603 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2885644 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2887550 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2895875 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2896244 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2896268 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2896281 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2897753 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2897764 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 1775775 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 1775768 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2555686 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2673763 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2714092 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 1775779 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2743160 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2770248 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2776172 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2676002 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2838669 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2828367 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2857465 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2827003 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2886998 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2894884 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2579096 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2627063 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2793812 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2865591 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2825805 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2424765 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2896081 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2897734 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 1775986 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2579740 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2627254 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2674745 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2676219 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2711417 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2724256 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2759522 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2759920 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2760363 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2770304 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2776192 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2794827 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2826966 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2827102 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2829409 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2841110 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2857553 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2865609 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2882804 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2882934 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2885603 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2885644 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2887550 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2895875 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2896244 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2896268 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2896281 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2897753 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2897764 (sleep) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 1775775 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2555686 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2673763 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2714092 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 1775779 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2743160 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2776172 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2676002 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2838669 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2828367 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2857465 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2827003 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2886998 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2894884 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2627063 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2793812 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2865591 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2825805 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2424765 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2896081 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Killing process 2897734 (ffmpeg) with signal SIGKILL.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Failed with result 'exit-code'.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 1775986 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2579740 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2627254 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2674745 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2676219 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2711417 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2724256 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2759920 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2760363 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2770304 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2776192 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2794827 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2826966 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2827102 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2829409 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2841110 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2857553 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2865609 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2882804 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2882934 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2885603 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2885644 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2887550 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2896244 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2896268 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2896281 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2897764 (sleep) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 1775775 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2555686 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2673763 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 1775779 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2743160 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2776172 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2676002 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2838669 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2828367 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2857465 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2827003 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2886998 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2894884 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2627063 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2793812 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2865591 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2825805 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2424765 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2896081 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Unit process 2897734 (ffmpeg) remains running after unit stopped.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Consumed 2d 6h 36min 21.847s CPU time, 5.1G memory peak, 0B memory swap peak.
Sep 19 20:58:41 Schrodinger systemd[1]: srs.service: Scheduled restart job, restart counter is at 4.
Sep 19 20:58:41 Schrodinger systemd[1]: Started srs.service - Srs PROD.
Sep 19 20:58:41 Schrodinger srs[2900536]: [2025-09-19 20:58:41.799][INFO][2900536][578z4u59] XCORE-SRS/6.0.177(Hang)
Sep 19 20:58:41 Schrodinger srs[2900536]: [2025-09-19 20:58:41.800][INFO][2900536][578z4u59] config parse complete
Sep 19 20:58:41 Schrodinger srs[2900536]: [2025-09-19 20:58:41.800][INFO][2900536][578z4u59] write log to console
Sep 19 20:58:41 Schrodinger srs[2900536]: [2025-09-19 20:58:41.800][INFO][2900536][578z4u59] SRS/6.0.177(Hang), MIT

more

Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.321][INFO][2900536][783a31k6] RTC whip publish /live/gena, clientip=127.0.0.1, app=live, stream=gena123-ilyaha, offer=5136B, eip=, co>
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.321][INFO][2900536][783a31k6] ignore attribute=, value=
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.323][INFO][2900536][783a31k6] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/3
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.324][INFO][2900536][783a31k6] free rtc source id=[]
Sep 19 22:19:10 Schrodinger srs[2900536]: [2025-09-19 22:19:10.324][INFO][2900536][783a31k6] cleanup when unpublish, created=1, deliver=0
Sep 19 22:19:10 Schrodinger srs[2900536]: AddressSanitizer:DEADLYSIGNAL
Sep 19 22:19:10 Schrodinger srs[2900536]: =================================================================
Sep 19 22:19:10 Schrodinger srs[2900536]: ==2900536==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5bc35267ab3a bp 0x7634984b6500 sp 0x7634984b6400 T0)
Sep 19 22:19:10 Schrodinger srs[2900536]: ==2900536==The signal is caused by a READ memory access.
Sep 19 22:19:10 Schrodinger srs[2900536]: ==2900536==Hint: address points to the zero page.
Sep 19 22:19:10 Schrodinger srs[2900536]: AddressSanitizer:DEADLYSIGNAL
Sep 19 22:19:10 Schrodinger srs[2900536]: AddressSanitizer: nested bug in the same thread, aborting.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Main process exited, code=exited, status=1/FAILURE
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900546 (ffmpeg) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900638 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900639 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900664 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900739 (ffmpeg) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900794 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900848 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900890 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2900915 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2901447 (ffmpeg) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2901832 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2901973 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2902028 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2902363 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2902392 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2902428 (sleep) with signal SIGKILL.
Sep 19 22:19:10 Schrodinger systemd[1]: srs.service: Killing process 2902481 (sleep) with signal SIGKILL.

Well, why is it CRASHED???

When I turn on Exec, the SRS crashes every 3 hours!

Sep 20 16:23:55 Schrodinger srs[603946]: [2025-09-20 16:23:55.594][INFO][603946][91652dve] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/3
Sep 20 16:23:55 Schrodinger srs[603946]: [2025-09-20 16:23:55.594][INFO][603946][91652dve] free rtc source id=[]
Sep 20 16:23:55 Schrodinger srs[603946]: [2025-09-20 16:23:55.594][INFO][603946][91652dve] cleanup when unpublish, created=1, deliver=0
Sep 20 16:23:55 Schrodinger srs[603946]: AddressSanitizer:DEADLYSIGNAL
Sep 20 16:23:55 Schrodinger srs[603946]: =================================================================
Sep 20 16:23:55 Schrodinger srs[603946]: ==603946==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x57cdd1614b3a bp 0x7edecc988500 sp 0x7edecc988400 T0)
Sep 20 16:23:55 Schrodinger srs[603946]: ==603946==The signal is caused by a READ memory access.
Sep 20 16:23:55 Schrodinger srs[603946]: ==603946==Hint: address points to the zero page.
Sep 20 16:23:55 Schrodinger srs[603946]: AddressSanitizer:DEADLYSIGNAL
Sep 20 16:23:55 Schrodinger srs[603946]: AddressSanitizer: nested bug in the same thread, aborting.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Main process exited, code=exited, status=1/FAILURE
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Failed to kill control group /system.slice/srs.service, ignoring: Invalid argument
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 603997 (ffmpeg) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 604440 (sleep) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 604468 (sleep) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 604554 (sleep) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 604628 (sleep) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 604877 (sleep) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 604990 (sleep) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 605025 (ffmpeg) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 605179 (sleep) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 606172 (ffmpeg) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 606213 (sleep) with signal SIGKILL.
Sep 20 16:23:55 Schrodinger systemd[1]: srs.service: Killing process 652801 (sleep) with signal SIGKILL.

Dear winlinvip, please provide some advice on how to avoid this. I've come a long way using SRS, please don't abandon me.

What should I do to prevent my SRS from dropping every 2-3 hours?

I just add EXEX to the config and it starts crashing.

Please try v6.0.179.

winlinvip

Thanks for your response, friend!

I've now stopped running transcoding through EXEC in SRS. I'm now running all transcoding processes externally. The crash issue is gone. I'll wait for the release and update SRS with these fixes.

You are absolutely correct; you should run transcoding on an external system rather than using SRS for this purpose. As a media server that accepts and delivers streams, it should be kept as simple as possible. The transcoding and exec features are intended for quick testing and experimentation, so they should be avoided in a production environment.