Open winlinvip opened 2 years ago
注意:提问前,请先看FAQ(Please read FAQ before file an issue) https://github.com/ossrs/srs/issues/2716
描述(Description)
海康摄像机注册到 srs 后,删除通道,程序 crash。
SRS版本(Version): feature/h265 5.0.19(Leo),feature/gb28181 也同样存在该问题。
feature/h265 5.0.19(Leo)
SRS的日志如下(Log):
[2022-01-04 10:45:15.100][Trace][45894][e6v5t39x] Hybrid cpu=0.00%,18MB, cid=2,1, timer=62,0,0, clock=0,47,1,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:65,oth:0,buf:0) [2022-01-04 10:45:15.186][Trace][45894][059c20s7] RTP: jitbuffer VerifyAndAllocate:newSize:90000, prevBuffer:51214608, _buffer:48740384 [2022-01-04 10:45:15.200][Trace][45894][059c20s7] RTP: jitbuffer VerifyAndAllocate:newSize:210000, prevBuffer:48740384, _buffer:53378544 [2022-01-04 10:45:15.301][Trace][45894][28k68559] HTTP #6 10.100.6.248:59825 OPTIONS http://192.168.235.10:1985/api/v1/gb28181?action=query_channel&id=34020000001320000001@34020000001320000001, content-length=-1 [2022-01-04 10:45:15.306][Trace][45894][28k68559] HTTP #7 10.100.6.248:59825 GET http://192.168.235.10:1985/api/v1/gb28181?action=query_channel&id=34020000001320000001@34020000001320000001, content-length=-1 [2022-01-04 10:45:15.777][Trace][45894][ae1243ag] -> HTS http: got 9 msgs, age=10035805, min=8, mw=350 [2022-01-04 10:45:16.108][Trace][45894][28k68559] HTTP #8 10.100.6.248:59825 OPTIONS http://192.168.235.10:1985/api/v1/gb28181?action=delete_channel&id=34020000001320000001&chid=34020000001320000001, content-length=-1 [2022-01-04 10:45:16.115][Trace][45894][28k68559] HTTP #9 10.100.6.248:59825 GET http://192.168.235.10:1985/api/v1/gb28181?action=delete_channel&id=34020000001320000001&chid=34020000001320000001, content-length=-1 [2022-01-04 10:45:16.115][Trace][45894][8v5id65z] gb28181: client id=34020000001320000001@34020000001320000001 rtmp muxer is remove [2022-01-04 10:45:16.115][Error][45894][nbwx40sm][4] thread is stopping by (Interrupted system call) srs: src/app/srs_app_st.cpp:199: void SrsFastCoroutine::stop(): Assertion `!stopping_' failed. 已放弃(吐核)
使用的 conf/push.gb28181.conf,没有改动。
重现(Replay)
重现Bug的步骤(How to replay bug?)
使用 conf/push.gb28181.conf 启动 srs
注册摄像机到 srs
在 srs 控制台的 GB28181播放器页面中,点击“查询所有会话”,待 invite 状态变为 InviteOk 后,点击“查询所有通道”,然后再点击“删除通道”
srs crash
期望行为(Expect)
正常删除通道
描述(Description)
SRS版本(Version):
feature/h265 5.0.19(Leo)
,feature/gb28181 也同样存在该问题。SRS的日志如下(Log):
重现(Replay)
使用 conf/push.gb28181.conf 启动 srs
注册摄像机到 srs
在 srs 控制台的 GB28181播放器页面中,点击“查询所有会话”,待 invite 状态变为 InviteOk 后,点击“查询所有通道”,然后再点击“删除通道”
srs crash
期望行为(Expect)