-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
When the SrsHttpApi object is destructed, the program encounters a coredump, caused by srs_close_stfd. #1784
Comments
winlinvip
changed the title
SrsHttpApi对象析构时程序出现coredump
SrsHttpApi对象析构时程序出现coredump,srs_close_stfd引起
Sep 4, 2021
srs_close_stfd Assertion problem, still not reproduced, will find time to investigate.
|
The log has already been updated. We need to wait for the problem to occur again, which has a relatively low probability. Postpone to SRS 5.0.
|
Thank you for your support.
|
Fixed in SRS 4 |
winlinvip
changed the title
SrsHttpApi对象析构时程序出现coredump,srs_close_stfd引起
When the SrsHttpApi object is destructed, the program encounters a coredump, caused by srs_close_stfd.
Jul 28, 2023
This was referenced Jul 23, 2024
winlinvip
added a commit
that referenced
this issue
Jul 24, 2024
…4126) 1. Should always stop coroutine before close fd, see #511, #1784 2. When edge forwarder coroutine quit, always set the error code. 3. Do not unpublish if invalid state. --------- Co-authored-by: Jacob Su <[email protected]>
winlinvip
added a commit
that referenced
this issue
Jul 24, 2024
1. Should always stop coroutine before close fd, see #511, #1784 2. When edge forwarder coroutine quit, always set the error code. 3. Do not unpublish if invalid state. --------- Co-authored-by: Jacob Su <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The SrsHttpApi object causes a program core dump when it is being destructed. Specifically, the assert is triggered when calling srs_close_stfd.
Description of the issue
Please describe the problem you have encountered.
1. SRS Version: ``
SRS Version: 2.0.243
The text was updated successfully, but these errors were encountered: