srs之console调试
2016-03-03 12:04
501 查看
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)
[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)
相关文章推荐
- 国内外三个不同领域巨头分享的Redis实战经验及使用场景
- DLL中dllmain重定义的解决办法
- 一道关于二级指针传参的问题
- SPRING IN ACTION 第4版笔记-第三章ADVANCING WIRING-008-SpEL介绍
- swift 快速奔跑的兔几 本节的内容是:iOS上基于文档的应用程序
- C++ 虚函数表解析
- [置顶] 面试题总结 —— JAVA高级工程师
- 构建小模板
- Python使用struct处理二进制
- mysql-connector-c++ +vs2013x64 编译
- 系统相机相册最基本调用
- 移植opencv2.3.1 到tiny6410
- 使用OClint进行iOS项目的静态代码扫描
- 实用工具类--第三方开源--Lazy
- uva 10167 Birthday Cake
- linux面试基础考题
- CentOS针对磁盘IO[jdb2进程]的优化
- Android中如何让DialogFragment全屏(DialogFragment fullscreen)
- Activity和Service之间通过handler传递数据
- 【Data Cluster】真机环境下MySQL数据库集群搭建