mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
For coroutine, we should use `__sanitizer_start_switch_fiber` which similar to`VALGRIND_STACK_REGISTER`, see https://github.com/google/sanitizers/issues/189#issuecomment-1346243598 for details. If not fix this, asan will output warning: ``` ==72269==WARNING: ASan is ignoring requested __asan_handle_no_return: stack type: default top: 0x00016f638000; bottom 0x000106bec000; size: 0x000068a4c000 (1755627520) False positive error reports may follow For details see https://github.com/google/sanitizers/issues/189 ``` It will cause asan failed to get the stack, see `research/st/asan-switch.cpp` for example: ``` ==71611==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x000103600733 at pc 0x0001009d3d7c bp 0x000100b4bd40 sp 0x000100b4bd38 WRITE of size 1 at 0x000103600733 thread T0 #0 0x1009d3d78 in foo(void*) asan-switch.cpp:13 ``` After fix this issue, it should provide the full stack when crashing: ``` ==73437==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x000103300733 at pc 0x000100693d7c bp 0x00016f76f550 sp 0x00016f76f548 WRITE of size 1 at 0x000103300733 thread T0 #0 0x100693d78 in foo(void*) asan-switch.cpp:13 #1 0x100693df4 in main asan-switch.cpp:23 #2 0x195aa20dc (<unknown module>) ``` For primordial coroutine, if not set the stack by `st_set_primordial_stack`, then the stack is NULL and asan can't get the stack tracing. Note that it's optional and only make it fail to display the stack information, no other errors. --- Co-authored-by: john <hondaxiao@tencent.com> |
6 months ago | |
---|---|---|
.. | ||
ffmpeg-4-fit | 2 years ago | |
gperftools-2-fit | 3 years ago | |
gprof | 5 years ago | |
gtest-fit | 3 years ago | |
httpx-static | 1 year ago | |
libsrtp-2-fit | 3 years ago | |
openssl-1.1-fit | 3 years ago | |
patches | 1 year ago | |
signaling | 2 years ago | |
srs-bench | 7 months ago | |
srt-1-fit | 1 year ago | |
st-srs | 6 months ago | |
README.md | 1 year ago | |
openssl-OpenSSL_1_0_2u.tar.gz | 5 years ago | |
opus-1.3.1.tar.gz | 5 years ago |
README.md
http-parser-2.1.zip
- for srs to support http callback.
- https://github.com/nodejs/http-parser
- https://github.com/ossrs/http-parser
- https://ossrs.net/lts/zh-cn/license#http-parser
nginx-1.5.7.zip
- http://nginx.org/
- for srs to support hls streaming.
srt-1-fit srt-1.5.3.tar.gz
openssl-1.1-fit openssl-1.1.1l.tar.gz
openssl-1.1.0e.zip openssl-OpenSSL_1_0_2u.tar.gz
- http://www.openssl.org/source/openssl-1.1.0e.tar.gz
- openssl for SRS(with-ssl) RTMP complex handshake to delivery h264+aac stream.
- SRTP depends on openssl 1.0.*, so we use both ssl versions.
- https://ossrs.net/lts/zh-cn/license#openssl
libsrtp-2.3.0.tar.gz
- For WebRTC, SRTP to encrypt and decrypt RTP.
- https://github.com/cisco/libsrtp/releases/tag/v2.3.0
ffmpeg-4.2.tar.gz opus-1.3.1.tar.gz
- http://ffmpeg.org/releases/ffmpeg-4.2.tar.gz
- https://github.com/xiph/opus/releases/tag/v1.3.1
- To support RTMP/WebRTC transcoding.
- https://ossrs.net/lts/zh-cn/license#ffmpeg
gtest-fit
- google test framework.
- https://github.com/google/googletest/releases/tag/release-1.11.0
gperftools-2-fit
- gperf tools for performance benchmark.
- https://github.com/gperftools/gperftools/releases/tag/gperftools-2.9.1
st-srs st-1.9.zip state-threads state-threads-1.9.1.tar.gz
- Patched ST from https://github.com/ossrs/state-threads
- https://ossrs.net/lts/zh-cn/license#state-threads
JSON
USRSCTP
links:
- state-threads: https://github.com/ossrs/state-threads
- x264: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20131129-2245-stable.tar.bz2
- lame: http://nchc.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
- yasm: http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
- speex: http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz