-
-
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
SRS crash when forward and http hooks #752
Comments
Last two connection's log:
|
I can't get the coredump and call stack information. Maybe it's caused by source cleanup. So please show me the callstack or upgrade to latest 2.0. |
Another crash log passing a couple of hours after upgrading to XCORE-SRS/2.0.231(ZhouGuowen)\ |
Last connection logs from srs.log:
|
I'm not sure whether I run correctly to trace the crash file, I did as shown below and got some results:
|
I think I caught a consequence of the crash.
Without http callback function the server is working well |
The same crashes with the exact output's been noticed in the releases started from v2.0-b3. |
The crash signal |
我试了2.0.231加上了 |
There is call stack version srs-2.0-b4 I got:
|
srs.conf config file where I call my http server:
|
Yes, without http_hooks section the server acts perfectly without any crashes. |
OK, following by a recent tests, I tried the same steps on Ubuntu 16.04, no crashes. |
It seems the forwarder crash when unpublish, maybe caused by http hooks. I will finger it out. |
The io must be released by set_io(NULL) before free it:
This bug also exists in:
|
Fixed in 2.0.232 |
Hi, the SRS is crashed for some reason that I couldn't research further but getting crash log(attached below).
It's happened yesterday, though it was working more than 2 months perfectly.
SRS version:XCORE-SRS/2.0.221(ZhouGuowen)
OS type:Ubuntu 14.04. deployed on AWS EC2 t2.medium instance\
SRS config file:
The text was updated successfully, but these errors were encountered: