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

国标拉流播放跑一段时间崩溃 #3530

Closed
boygaoyun opened this issue May 11, 2024 · 5 comments
Closed

国标拉流播放跑一段时间崩溃 #3530

boygaoyun opened this issue May 11, 2024 · 5 comments
Labels

Comments

@boygaoyun
Copy link

现象描述

如何复现?

相关日志或截图

展开查看详细日志
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055ea36e9d968 in typeinfo for mediakit::ProcessInterface ()
[Current thread is 1 (Thread 0x7fbf9a7fc700 (LWP 21))]
(gdb) bt
#0  0x000055ea36e9d968 in typeinfo for mediakit::ProcessInterface ()
#1  0x000055ea368c7437 in mediakit::RtpTrack::inputRtp (this=0x7fbf90007b80, type=mediakit::TrackVideo, sample_rate=90000, ptr=0x7fbf8c01cea0 "\200`\020K\225\071\347\224\006BL\323", len=1396)
    at /opt/media/kmediasever-ms/src/Rtsp/RtpReceiver.cpp:105
#2  0x000055ea368a93f2 in mediakit::RtpReceiverImp::inputRtp (this=0x7fbf90007b80, type=mediakit::TrackVideo, ptr=0x7fbf8c01cea0 "\200`\020K\225\071\347\224\006BL\323", len=1396) at /opt/media/kmediasever-ms/src/Rtp/GB28181Process.cpp:44
#3  0x000055ea368a0111 in mediakit::GB28181Process::inputRtp (this=0x7fbf84003650, data=0x7fbf8c01cea0 "\200`\020K\225\071\347\224\006BL\323", data_len=1396) at /opt/media/kmediasever-ms/src/Rtp/GB28181Process.cpp:159
#4  0x000055ea3676bba2 in mediakit::RtpProcess::inputRtp (this=0x7fbf8800abb0, is_udp=false, sock=warning: RTTI symbol not found for class 'std::_Sp_counted_deleter const&, bool)::{lambda(toolkit::Socket*)#1}, std::allocator, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_deleter const&, bool)::{lambda(toolkit::Socket*)#1}, std::allocator, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (use count 2, weak count 2) = {...}, data=0x7fbf8c01cea0 "\200`\020K\225\071\347\224\006BL\323", len=1396, 
    addr=0x7fbf8800a230, dts_out=0x0) at /opt/media/kmediasever-ms/src/Rtp/RtpProcess.cpp:116
#5  0x000055ea36799a51 in mediakit::RtpSession::onRtpPacket (this=0x7fbf8800a0a0, data=0x7fbf8c01cea0 "\200`\020K\225\071\347\224\006BL\323", len=1396) at /opt/media/kmediasever-ms/src/Rtp/RtpSession.cpp:134
#6  0x000055ea36798d2b in mediakit::RtpSession::onRecv (this=0x7fbf8800a0a0, data=std::shared_ptr (use count 2, weak count 0) = {...}) at /opt/media/kmediasever-ms/src/Rtp/RtpSession.cpp:53
#7  0x000055ea3653858f in toolkit::emitSessionRecv (helper=std::shared_ptr (use count 2, weak count 2) = {...}, buf=std::shared_ptr (use count 2, weak count 0) = {...})
    at /opt/media/kmediasever-ms/3rdpart/ZLToolKit/src/Network/UdpServer.cpp:159
#8  0x000055ea3653a56f in toolkit::UdpServer::::operator()(void) const (__closure=0x7fbf8c011690) at /opt/media/kmediasever-ms/3rdpart/ZLToolKit/src/Network/UdpServer.cpp:342
#9  0x000055ea3653c91a in std::_Function_handler >::_M_invoke(const std::_Any_data &) (__functor=...)
    at /usr/include/c++/9/bits/std_function.h:300
#10 0x000055ea363f093e in std::function::operator()() const (this=0x7fbf8c005740) at /usr/include/c++/9/bits/std_function.h:688
#11 0x000055ea365543eb in toolkit::TaskCancelableImp::operator()() const (this=0x7fbf6c003e50) at /opt/media/kmediasever-ms/3rdpart/ZLToolKit/src/Thread/TaskExecutor.h:111
#12 0x000055ea365539e0 in toolkit::EventPoller::onPipeEvent()::{lambda(std::shared_ptr > const&)#1}::operator()(std::shared_ptr > const&) const (
    __closure=0x7fbf9a7f87a8, task=std::shared_ptr> (use count 1, weak count 0) = {...}) at /opt/media/kmediasever-ms/3rdpart/ZLToolKit/src/Poller/EventPoller.cpp:259
#13 0x000055ea36554d15 in toolkit::List > >::for_each > const&)#1}>(toolkit::EventPoller::onPipeEvent()::{lambda(std::shared_ptr > const&)#1}&&) (this=0x7fbf9a7f87b0, func=...) at /opt/media/kmediasever-ms/3rdpart/ZLToolKit/src/Util/List.h:203
#14 0x000055ea36553d06 in toolkit::EventPoller::onPipeEvent (this=0x55ea36feaf20) at /opt/media/kmediasever-ms/3rdpart/ZLToolKit/src/Poller/EventPoller.cpp:257
#15 0x000055ea3654e732 in toolkit::EventPoller::::operator()(int) const (__closure=0x55ea36feb790, event=1) at /opt/media/kmediasever-ms/3rdpart/ZLToolKit/src/Poller/EventPoller.cpp:57
#16 0x000055ea365518c6 in std::_Function_handler >::_M_invoke(const std::_Any_data &, int &&) (__functor=..., __args#0=@0x7fbf9a7f8c74: 1)
    at /usr/include/c++/9/bits/std_function.h:300
#17 0x000055ea365542fe in std::function::operator()(int) const (this=0x55ea36feb790, __args#0=1) at /usr/include/c++/9/bits/std_function.h:688
#18 0x000055ea36550681 in toolkit::EventPoller::runLoop (this=0x55ea36feaf20, blocked=true, ref_self=true) at /opt/media/kmediasever-ms/3rdpart/ZLToolKit/src/Poller/EventPoller.cpp:331
#19 0x000055ea36561c37 in std::__invoke_impl (__f=
    @0x55ea36feb408: (void (toolkit::EventPoller::*)(toolkit::EventPoller * const, bool, bool)) 0x55ea36550320 , __t=@0x55ea36feb400: 0x55ea36feaf20) at /usr/include/c++/9/bits/invoke.h:73
#20 0x000055ea36561ad9 in std::__invoke (__fn=
    @0x55ea36feb408: (void (toolkit::EventPoller::*)(toolkit::EventPoller * const, bool, bool)) 0x55ea36550320 ) at /usr/include/c++/9/bits/invoke.h:95
#21 0x000055ea365619a9 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul> (this=0x55ea36feb3f8) at /usr/include/c++/9/thread:244
#22 0x000055ea365617b1 in std::thread::_Invoker >::operator() (this=0x55ea36feb3f8) at /usr/include/c++/9/thread:251
#23 0x000055ea36561546 in std::thread::_State_impl > >::_M_run (this=0x55ea36feb3f0) at /usr/include/c++/9/thread:195
#24 0x00007fbfc4e4bdf4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#25 0x00007fbfc5393609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#26 0x00007fbfc4b36353 in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) list

配置

展开查看详细配置
配置内容...

各种环境信息

  • 代码提交记录/git commit hash:
  • 操作系统及版本:
  • 硬件信息:
  • 其他需要补充的信息:
@boygaoyun boygaoyun added the bug label May 11, 2024
@xiongguangjie
Copy link
Member

代码是什么版本的

@boygaoyun
Copy link
Author

boygaoyun commented May 11, 2024

master分支
最新节点
Commit: bcf0c71
Parents: 9d68b66
Author: xiongziliang <771730766@qq.com>
Committer: xiongziliang <771730766@qq.com>
Date: Sat Dec 23 2023 21:32:24 GMT+0800 (中国标准时间)
Update ZLToolKit

@boygaoyun
Copy link
Author

代码是什么版本的

master分支
最新节点
Commit: bcf0c71
Parents: 9d68b66
Author: xiongziliang 771730766@qq.com
Committer: xiongziliang 771730766@qq.com
Date: Sat Dec 23 2023 21:32:24 GMT+0800 (中国标准时间)
Update ZLToolKit

@xiongguangjie
Copy link
Member

太老了更新最新的代码试一下

@xia-chu
Copy link
Member

xia-chu commented May 13, 2024

关联 #3532

@xia-chu xia-chu closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants