ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.87k stars 5.39k forks source link

WIP: debug segment fault problem when SRS quit. #4114

Closed suzp1984 closed 2 months ago

suzp1984 commented 4 months ago

related to #4102

Env

mac os

How to reproduce the segment fault error?

  1. ./objs/srs -c conf/rtmp2rtc.conf
  2. push a stream, use RTC in web browser.
  3. send QUIT signal to srs process: kill -3 [pid] or ctrl-\ if process in foreground.

Still need to fix

crash when release or stop _timer100ms.