Skip to content
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

using vlc play srt stream, play fail and coredump #4138

Open
flnewsoft opened this issue Aug 8, 2024 · 1 comment
Open

using vlc play srt stream, play fail and coredump #4138

flnewsoft opened this issue Aug 8, 2024 · 1 comment

Comments

@flnewsoft
Copy link

Describe the bug
two problem:

  1. using vlc play srt stream, play fail and coredump
  2. after coredump happen, can't start srs successfully.

Version
5.0.

To Reproduce
Steps to reproduce the behavior:

  1. come to centos7.2
  2. download and build srs
  3. objs/srs -c conf/srt.conf
  4. using ffmpeg to send srt stream to srs
  5. using vlc to play srt stream, some error report:
  6. [2024-08-08 14:30:03.226][INFO][5737][a7879328] SRT: before dispose resource(srt-ts-conn)(0x7f046406f340), conns=2, zombies=0, ign=0, inz=0, ind=0
    [2024-08-08 14:30:03.226][ERROR][5737][a7879328][104] srt serve error code=6007(SrtStreamBusy)(SRT stream already exists or busy) : srt stream /live/livestream busy
    thread [5737][a7879328]: acquire_publish() [./src/app/srs_app_srt_conn.cpp:368][errno=104](Connection reset by peer)
    [2024-08-08 14:30:03.226][INFO][5737][570d94tp] SRT: clear zombies=1 resources, conns=2, removing=0, unsubs=0
    [2024-08-08 14:30:03.226][INFO][5737][a7879328] SRT: disposing #0 resource(srt-ts-conn)(0x7f046406f340), conns=2, disposing=1, zombies=0
    [2024-08-08 14:30:03.226][ERROR][5737][a7879328][104][SRT] /root/srs/srs_5/srs/trunk/objs/Platform-SRS5-Linux-3.10.0-GCC4.8.5-x86_64/srt-1-fit/srtcore/epoll.cpp:906(update_events) # : epoll/update: IPE: update struck E1 which is NOT SUBSCRIBED to @652245706(Connection reset by peer)
    [2024-08-08 14:30:03.226][INFO][5737][a7879328] close srt_fd=652245706
  7. don't stop vlc, and push CTRL_C to stop srs, coredump happen.
  8. objs/srs -c conf/srt.conf
  9. some error report:
  10. [2024-08-08 15:07:47.808][INFO][26015][c837y74f] SRT: before dispose resource(srt-ts-conn)(0x7f542405b1b0), conns=1, zombies=0, ign=0, inz=0, ind=0
    [2024-08-08 15:07:47.808][ERROR][26015][c837y74f][4] srt serve error code=6002(SrtTimeout)(SRT connection is timeout) : srt: recvmsg : wait readable : srt socket 7871921 timeout
    thread [26015][c837y74f]: do_publishing() [./src/app/srs_app_srt_conn.cpp:478][errno=62]
    thread [26015][c837y74f]: recvmsg() [./src/protocol/srs_protocol_srt.cpp:801][errno=62]
    thread [26015][c837y74f]: wait_readable() [./src/protocol/srs_protocol_srt.cpp:861][errno=62](Interrupted system call)
    [2024-08-08 15:07:47.808][INFO][26015][7089iv44] SRT: clear zombies=1 resources, conns=1, removing=0, unsubs=0
  11. change srt.conf and change srt port from 10080 to 10081, start srs ok.
@winlinvip
Copy link
Member

Could you attach the stack of coredump?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants