Closed stevexk closed 7 years ago
os is ubuntu 14.04
TRANS_BY_GPT3
Is there no core file after SegmentFault?
TRANS_BY_GPT3
I didn't see it. Especially when it comes to streaming. Just now, there was another error. Nov 12 10:46:02 eyebest CRON[15924]: (root) CMD ( find /opt/srs-2.0a2/trunk/objs/nginx/html/live -mmin +5 -exec rm -f {} \;) Nov 12 10:46:08 eyebest kernel: [391595.950229] srs[2200]: segfault at 80 ip 0000000000492ed2 sp 00007f02f66c3c90 error 4 in srs[400000+28e000] Nov 12 10:47:01 eyebest CRON[16021]: (root) CMD ( /opt/srs-2.0a2/trunk/srs_watch.sh) Nov 12 10:47:01 eyebest CRON[16022]: (root) CMD ( find /opt/srs-2.0a2/trunk/objs/nginx/html/live -mmin +5 -exec rm -f {} \;)
TRANS_BY_GPT3
Probably you haven't opened the core file. Before starting SRS, use the command: ulimit -c unlimited
TRANS_BY_GPT3
root@eyebest:/opt/srs-2.0a2/trunk# gdb objs/srs core GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from objs/srs...done. [New LWP 9702]
warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libstdc++.so.6" is not at the expected address (wrong library or version mismatch?) Core was generated by `./objs/srs -c conf/srs.conf'. Program terminated with signal SIGSEGV, Segmentation fault.
128 ffmpeg->stop();
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in
Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb)
Seems the thread stop bug #511, please update your code to 2.0.199+ and try again.
Dup to #536
SRS version: srs-2.0a2 The company's network is unstable, with intermittent network interruptions. It has been observed that SRS automatically exits during these interruptions. Additionally, other processes in the system are also terminated, although the exact reason for this is currently unknown and can only be speculated to be related to SRS.
SRS usage: Camera streaming (h264+pcmu), transcoded by SRS into h264+aac, with HLS slicing enabled and DVR recording.
There are no obvious errors in the srs.log file, but a segmentation fault is reported in /var/log/syslog.
SRS.log content (partial):
Please provide the content of the SRS.log file for translation.
TRANS_BY_GPT3