-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
requesting the HTTP-FLV using the HEAD method will cause a nullptr crash #4140
Comments
Why closed this issue? |
还没摸索出详细的复现步骤。目前是会出现在 排查代码是 但是又碰到一个问题,后续重复推流会一直报错 |
Please use open source version of SRS to reproduce this issue, do not use modified version of SRS. |
release6.0分支 编译命令: 复现步骤:
之后重新推流就会一直出现这个错误:Stream already exists or busy。 完整日志:
|
这是另一次的日志。 断开马上重推后报错,之后ffplay重新拉流播放也会一直有错误日志出现
这是详细的日志
|
看着跟 #4103 这个issue有点类似。
|
简单改了下代码,没有详细测试,暂时没出现这个问题了
|
Make sense. I think it should be caused by the handler callback that will stop the coroutine: _can_publish = true;
handler->on_unpublish(req); In this handler, the void SrsHttpStreamServer::http_unmount(SrsRequest* r)
cache->stop(); In this Please file an PullRequest to fix this issue. Thanks. |
…e are active viewers, it can cause an abnormal state. ossrs#4140
!!! Before submitting a new bug report, please ensure you have searched for any existing bugs and utilized
the
Ask AI
feature at https://ossrs.io or https://ossrs.net (for users in China). Duplicate issues orquestions that are overly simple or already addressed in the documentation will be removed without any
response.
Describe the bug
When there is a pull stream, if the push stream is disconnected, the subsequent push will always fail
SrsHttpStreamServer::hijack
Version
release6.0
To Reproduce
Steps to reproduce the behavior:
之后重新推流就会一直出现这个错误:Stream already exists or busy。
Expected behavior
Screenshots

Additional context
The text was updated successfully, but these errors were encountered: