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

Current stopStream breaks moxygen server #17

Open
kota-yata opened this issue Mar 19, 2025 · 1 comment
Open

Current stopStream breaks moxygen server #17

kota-yata opened this issue Mar 19, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@kota-yata
Copy link
Owner

No description provided.

@kota-yata kota-yata changed the title Current stopStream crashes moxygen server Current stopStream breaks moxygen server Mar 19, 2025
@kota-yata
Copy link
Owner Author

Moxygen logs:

V0319 16:03:06.889614 311320 MoQSession.cpp:1978] SubscribeDone id=0 code=2 reason=Publisher has stopped sending the track
V0319 16:03:06.889630 311320 MoQSession.cpp:1012] subscribeDone trackReceiveState=0x7f1a040c1c30
V0319 16:03:06.889645 311320 MoQForwarder.h:205] Resetting open subgroups for subscriber=0x7f1a040c16d0
V0319 16:03:06.889685 311320 MoQSession.cpp:2848] subscribeDone sess=0x7f1a04101f90
V0319 16:03:06.889710 311320 MoQForwarder.h:195] subscribers_.size()=0
I0319 16:03:06.889725 311320 MoQRelay.cpp:357] Removed last subscriber for moqtail/video0
V0319 16:03:06.889739 311320 MoQSession.cpp:2808] unsubscribe sess=0x7f1a040e29a0
V0319 16:03:06.889753 311320 MoQSession.cpp:2824] unsubscribing from ftn=moqtail/video0 sess=0x7f1a040e29a0

Assertion failure: (tags_[index] & 0x80) != 0
Message: 
File: /home/kota/dev/moxygen/_build/deps/include/folly/container/detail/F14Table.h
Line: 719
Function: clearTag
*** Aborted at 1742367786 (Unix time, try 'date -d @1742367786') ***
*** Signal 6 (SIGABRT) (0x3f00004c017) received by PID 311319 (pthread TID 0x7f1a0b861640) (linux TID 311320) (maybe from PID 311319, UID 1008) (code: -6), stack trace: ***
./_build/bin/moqrelayserver(+0x1d2b02)[0x5568eba1eb02]
./_build/bin/moqrelayserver(+0x183ebd)[0x5568eb9cfebd]
./_build/bin/moqrelayserver(+0x181f52)[0x5568eb9cdf52]
/lib/x86_64-linux-gnu/libc.so.6(+0x4251f)[0x7f1a0b8c951f]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f1a0b91d9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x15)[0x7f1a0b8c9475]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd2)[0x7f1a0b8af7f2]
./_build/bin/moqrelayserver(+0xa7c20)[0x5568eb8f3c20]
./_build/bin/moqrelayserver(+0xa7cc1)[0x5568eb8f3cc1]
./_build/bin/moqrelayserver(+0x27cdb0)[0x5568ebac8db0]
./_build/bin/moqrelayserver(+0x25358d)[0x5568eba9f58d]
./_build/bin/moqrelayserver(+0x2319ba)[0x5568eba7d9ba]
./_build/bin/moqrelayserver(+0x232d8e)[0x5568eba7ed8e]
./_build/bin/moqrelayserver(+0x25c9fc)[0x5568ebaa89fc]
./_build/bin/moqrelayserver(+0x1cf8e1)[0x5568eba1b8e1]
./_build/bin/moqrelayserver(+0x568183)[0x5568ebdb4183]
./_build/bin/moqrelayserver(+0x10fa2e)[0x5568eb95ba2e]
./_build/bin/moqrelayserver(+0x108f69)[0x5568eb954f69]
./_build/bin/moqrelayserver(+0x1090fd)[0x5568eb9550fd]
./_build/bin/moqrelayserver(+0x10becf)[0x5568eb957ecf]
./_build/bin/moqrelayserver(+0x10c8f4)[0x5568eb9588f4]
./_build/bin/moqrelayserver(+0x10c98f)[0x5568eb95898f]
./_build/bin/moqrelayserver(+0x10eabc)[0x5568eb95aabc]
./_build/bin/moqrelayserver(+0x597652)[0x5568ebde3652]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xdc252)[0x7f1a0bc95252]
/lib/x86_64-linux-gnu/libc.so.6(+0x94ac2)[0x7f1a0b91bac2]
/lib/x86_64-linux-gnu/libc.so.6(+0x12684f)[0x7f1a0b9ad84f]
./_build/bin/moqrelayserver(+0x183f6c)[0x5568eb9cff6c]
./_build/bin/moqrelayserver(+0x1cf8e2)[0x5568eba1b8e2]
./_build/bin/moqrelayserver(+0x25eb96)[0x5568ebaaab96]
./_build/bin/moqrelayserver(+0xfbae9)[0x5568eb947ae9]
(safe mode, symbolizer not available)

*** Check failure async stack trace: ***
*** First async stack root: 0x7f1a0b858f50, normal stack frame pointer holding async stack root: 0x7f1a0b858f90, return address: 0x5568ebdb4184 ***
*** First async stack frame pointer: 0x7f1a040a2348, return address: 0x5568eba1b8e2, async stack trace: ***
(safe mode, symbolizer not available)
Aborted (core dumped)

stopStream sends SUBSCRIBE_DONE and close every encoder worker

@kota-yata kota-yata added the bug Something isn't working label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant