stream读越界
2015-11-23 12:25
344 查看
Breakpoint 1, stream_get (dst=0x7ffff726964c, s=0x7ffff0722dd8, size=20) at stream.c:297
297 STREAM_BOUND_WARN (s, "get");
(gdb) bt
#0 stream_get (dst=0x7ffff726964c, s=0x7ffff0722dd8, size=20) at stream.c:297
#1 0x00007ffff0a22f33 in zapi_nexthop_read (s=0x7ffff0722dd8, nh=0x7ffff7269648) at zclient.c:544
#2 0x00007ffff0a232aa in zapi_ipv4_read (s=0x7ffff0722dd8, length=20, api=0x7ffff7269640, p=0x7ffff72698a0) at zclient.c:625
#3 0x00007ffff09c6a02 in zread_ipv4_add (client=0x7ffff0723098, length=20) at zserv.c:801
#4 0x00007ffff09c8609 in zebra_client_read (thread=0x7ffff7269b00) at zserv.c:1616
#5 0x00007ffff0a0a51d in thread_call (thread=0x7ffff7269b00) at thread.c:1271
#6 0x00007ffff09c98b3 in main (argc=5, argv=0x708f00) at main.c:426
#7 0x00007ffff7a0708f in ns3::DceManager::DoStartProcess (context=0x82a080) at ../model/dce-manager.cc:283
#8 0x00007ffff7a907fc in ns3::TaskManager::Trampoline (context=0x6e0200) at ../model/task-manager.cc:274
#9 0x00007ffff7a8c7d7 in ns3::PthreadFiberManager::Run (arg=0x82a370) at ../model/pthread-fiber-manager.cc:402
#10 0x000000318b2079d1 in start_thread () from /lib64/libpthread.so.0
#11 0x000000318a6e88fd in clone () from /lib64/libc.so.6
(gdb)
297 STREAM_BOUND_WARN (s, "get");
(gdb) bt
#0 stream_get (dst=0x7ffff726964c, s=0x7ffff0722dd8, size=20) at stream.c:297
#1 0x00007ffff0a22f33 in zapi_nexthop_read (s=0x7ffff0722dd8, nh=0x7ffff7269648) at zclient.c:544
#2 0x00007ffff0a232aa in zapi_ipv4_read (s=0x7ffff0722dd8, length=20, api=0x7ffff7269640, p=0x7ffff72698a0) at zclient.c:625
#3 0x00007ffff09c6a02 in zread_ipv4_add (client=0x7ffff0723098, length=20) at zserv.c:801
#4 0x00007ffff09c8609 in zebra_client_read (thread=0x7ffff7269b00) at zserv.c:1616
#5 0x00007ffff0a0a51d in thread_call (thread=0x7ffff7269b00) at thread.c:1271
#6 0x00007ffff09c98b3 in main (argc=5, argv=0x708f00) at main.c:426
#7 0x00007ffff7a0708f in ns3::DceManager::DoStartProcess (context=0x82a080) at ../model/dce-manager.cc:283
#8 0x00007ffff7a907fc in ns3::TaskManager::Trampoline (context=0x6e0200) at ../model/task-manager.cc:274
#9 0x00007ffff7a8c7d7 in ns3::PthreadFiberManager::Run (arg=0x82a370) at ../model/pthread-fiber-manager.cc:402
#10 0x000000318b2079d1 in start_thread () from /lib64/libpthread.so.0
#11 0x000000318a6e88fd in clone () from /lib64/libc.so.6
(gdb)
相关文章推荐
- python3 套接字异常(a byte-like object is required not str)
- Java中的线程
- Java画图程序设计
- C语言基础第二篇--基本数据类型
- xilinx_spartan6_io_电平读书笔记
- python实现爬虫统计学校BBS男女比例(三)数据处理
- 实验八 图的遍历
- 微软面试100题
- volatile的用处
- Nginx反向代理配置
- Intervals(差分约束)
- java课程设计-文本编辑器
- 单例设计模式
- hdu--3468(线段树+lazy思想)
- zookeeper 启动错误
- slf4j+logback 的详细配置
- Mybatis 和 Spring配置
- 高德位置纠偏服务
- 123
- UITableView上编辑UITextView