srs之console调试

1.gdb调试
[ root@iZ2857fgnpwZ trunk]# gdb objs/srs
(gdb) run -c conf/console.conf
Program received signal SIGABRT, Aborted.
0x0000003e4de32625 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x0000003e4de32625 in raise () from /lib64/libc.so.6
#1  0x0000003e4de33e05 in abort () from /lib64/libc.so.6
#2  0x0000003e4de2b74e in __assert_fail_base () from /lib64/libc.so.6
#3  0x0000003e4de2b810 in __assert_fail () from /lib64/libc.so.6
#4  0x000000000040e69b in SrsStream::require (this=0x8e7b60, required_size=0) at src/kernel/srs_kernel_stream.cpp:90
#5  0x0000000000417708 in SrsAvcAacCodec::avc_demux_sps_pps (this=0x7ffff7f2b970, stream=0x8e7b60)
    at src/kernel/srs_kernel_codec.cpp:847
#6  0x0000000000416c1a in SrsAvcAacCodec::video_avc_demux (this=0x7ffff7f2b970, data=0x8e79a0 "\027", size=27,
    sample=0x7ffff7f2ad30) at src/kernel/srs_kernel_codec.cpp:687
#7  0x0000000000494df8 in SrsSource::on_video_imp (this=0x8e4120, msg=0x7ffff7f2baf0) at src/app/srs_app_source.cpp:1856
#8  0x00000000004942c0 in SrsSource::on_video (this=0x8e4120, shared_video=0x8c0950) at src/app/srs_app_source.cpp:1732
#9  0x000000000048a89f in SrsRtmpConn::process_publish_message (this=0x8def90, source=0x8e4120, msg=0x8c0950, vhost_is_edge=false)
    at src/app/srs_app_rtmp_conn.cpp:1036
#10 0x000000000048a668 in SrsRtmpConn::handle_publish_message (this=0x8def90, source=0x8e4120, msg=0x8c0950, is_fmle=true,
    vhost_is_edge=false) at src/app/srs_app_rtmp_conn.cpp:1005
#11 0x000000000051da85 in SrsPublishRecvThread::handle (this=0x7ffff7f618a0, msg=0x8c0950) at src/app/srs_app_recv_thread.cpp:386
#12 0x000000000051c626 in SrsRecvThread::cycle (this=0x7ffff7f618a8) at src/app/srs_app_recv_thread.cpp:100
#13 0x00000000004b9e6d in SrsReusableThread2::cycle (this=0x8e7a30) at src/app/srs_app_thread.cpp:516
#14 0x00000000004b8dff in internal::SrsThread::thread_cycle (this=0x8e7a50) at src/app/srs_app_thread.cpp:189
#15 0x00000000004b9011 in internal::SrsThread::thread_fun (arg=0x8e7a50) at src/app/srs_app_thread.cpp:227
#16 0x0000000000541142 in _st_thread_main () at sched.c:327
#17 0x00000000005418dc in st_thread_create (start=0x8b6f00 <_srs_stages>, arg=0x8e754c, joinable=0, stk_size=5135304)
    at sched.c:591
(gdb)  
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值