您的位置:首页 > 其它

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)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: