Direct leak of 40 byte(s) in 1 object(s) allocated from:
0 0x560501163106 in __interceptor_calloc (/usr/local/srs/objs/srs+0x4b9106)
#1 0x560501837fb1 in _st_epoll_init /srs/trunk/objs/Platform-SRS5-Linux-5.15.0-GCC9.4.0-x86_64/st-srs/event.c:877
#2 0x56050183308c in st_init /srs/trunk/objs/Platform-SRS5-Linux-5.15.0-GCC9.4.0-x86_64/st-srs/sched.c:197
#3 0x560501388ec8 in srs_st_init() src/protocol/srs_protocol_st.cpp:68
#4 0x5605016be4aa in SrsThreadPool::setup_thread_locals() src/app/srs_app_threads.cpp:561
#5 0x5605016c04f1 in SrsThreadPool::start(void*) src/app/srs_app_threads.cpp:776
#6 0x7f9fa4f7e608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8608)
Indirect leak of 65536 byte(s) in 1 object(s) allocated from:
0 0x560501163106 in __interceptor_calloc (/usr/local/srs/objs/srs+0x4b9106)
#1 0x560501838099 in _st_epoll_init /srs/trunk/objs/Platform-SRS5-Linux-5.15.0-GCC9.4.0-x86_64/st-srs/event.c:893
#2 0x56050183308c in st_init /srs/trunk/objs/Platform-SRS5-Linux-5.15.0-GCC9.4.0-x86_64/st-srs/sched.c:197
#3 0x560501388ec8 in srs_st_init() src/protocol/srs_protocol_st.cpp:68
#4 0x5605016be4aa in SrsThreadPool::setup_thread_locals() src/app/srs_app_threads.cpp:561
#5 0x5605016c04f1 in SrsThreadPool::start(void*) src/app/srs_app_threads.cpp:776
#6 0x7f9fa4f7e608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8608)
Indirect leak of 49152 byte(s) in 1 object(s) allocated from:
0 0x560501162f08 in __interceptor_malloc (/usr/local/srs/objs/srs+0x4b8f08)
#1 0x560501838105 in _st_epoll_init /srs/trunk/objs/Platform-SRS5-Linux-5.15.0-GCC9.4.0-x86_64/st-srs/event.c:902
#2 0x56050183308c in st_init /srs/trunk/objs/Platform-SRS5-Linux-5.15.0-GCC9.4.0-x86_64/st-srs/sched.c:197
#3 0x560501388ec8 in srs_st_init() src/protocol/srs_protocol_st.cpp:68
#4 0x5605016be4aa in SrsThreadPool::setup_thread_locals() src/app/srs_app_threads.cpp:561
#5 0x5605016c04f1 in SrsThreadPool::start(void*) src/app/srs_app_threads.cpp:776
#6 0x7f9fa4f7e608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8608)
SUMMARY: AddressSanitizer: 114728 byte(s) leaked in 3 allocation(s).
Describe the bug Failed to start SRS v5 on Docker [2023-10-16 04:28:14.306][INFO][1][65m469r8] XCORE-SRS/5.0.185(Bee) [2023-10-16 04:28:14.306][INFO][1][65m469r8] config parse complete [2023-10-16 04:28:14.306][INFO][1][65m469r8] you can check log by: tail -n 30 -f /var/log/srs/srs.log [2023-10-16 04:28:14.306][INFO][1][65m469r8] please check SRS by: ./etc/init.d/srs status
================================================================= ==1==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 40 byte(s) in 1 object(s) allocated from:
0 0x560501163106 in __interceptor_calloc (/usr/local/srs/objs/srs+0x4b9106)
Indirect leak of 65536 byte(s) in 1 object(s) allocated from:
0 0x560501163106 in __interceptor_calloc (/usr/local/srs/objs/srs+0x4b9106)
Indirect leak of 49152 byte(s) in 1 object(s) allocated from:
0 0x560501162f08 in __interceptor_malloc (/usr/local/srs/objs/srs+0x4b8f08)
SUMMARY: AddressSanitizer: 114728 byte(s) leaked in 3 allocation(s).
Version docker srs [v5.0.185]
TRANS_BY_GPT4