免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 12044 | 回复: 1
打印 上一主题 下一主题

又问大家一个“<value optimized out>“ 的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-21 11:25 |只看该作者 |倒序浏览
在下面的调用栈中,有几个地方函数参数出现,"<value optimized out>" . 怎么解决这个问题啊? 要用volatile 吗?谢谢

#0  0x480f6a90 in kill () from /lib/libc.so.0
#1  0x48127d60 in abort () from /lib/libc.so.0
#2  0x10742110 in _default_assert (expr=<value optimized out>,
    file=<value optimized out>, line=<value optimized out> at assert.c:69
#3  0x107420d0 in _sal_assert (expr=0x0, file=0x6 <Address 0x6 out of bounds>,
    line=671105154) at assert.c:101
#4  0x107424b8 in sal_mutex_give (m=<value optimized out> at sync.c:358
#5  0x105a4880 in bcm_esw_field_entry_remove (unit=<value optimized out>,
    entry=1) at field.c:20414
#6  0x10491534 in bcm_field_entry_remove (unit=0, entry=1) at dispatch.c:3220
#7  0x100bdd0c in policy_group_set_ipbm (unit=0, group=0, entry=1, ipbm=
        {pbits = {10402516, 0}}, ipbmMask={pbits = {536870910, 0}})
    at broad_group_xgs3.c:1933
#8  0x100b63fc in l7_bcm_policy_apply (unit=0, policy=0, port=2)
    at broad_group_bcm.c:294
#9  0x100b55dc in custom_policy_set_handler (unit=0, port=2, setget=1,
    args=0xbd3feb30) at broad_policy_bcm.c:70
#10 0x100cd0c4 in custom_bcmx_port_handler (unit=0, port=2, setget=1, type=5,
    args=0xbd3feb30) at broad_bcmx.c:513
#11 0x10616ff8 in bcm_common_custom_port_set (unit=0, port=6, type=1053,
    args=0x480f64d4) at custom.c:91
#12 0x10496658 in bcm_custom_port_set (unit=0, port=2, type=5, args=0x41d)
    at dispatch.c:1202
---Type <return> to continue, or q <return> to quit---
#13 0x104377c4 in bcmx_custom_port_set (port=<value optimized out>, type=5,
    args=0xbd3feb30) at custom.c:67
#14 0x100c5e9c in customx_port_policy_apply (policyId=0, port=134217730)
    at broad_policy_bcmx.c:139
#15 0x100c4280 in hapiBroadPolicyApplyToIface (policy=0, lport=134217730)
    at broad_policy.c:1027
#16 0x100c5430 in hapiBroadPolicyUtilApply (policy=0, lport=134217730)
    at broad_policy_util.c:97
#17 0x100f45e4 in hapiBroadCosCommitDot1pParams (hapiPortPtr=0x10e49d24,
    dot1pMap=0x10e49f6c "\001" at efx500_vlan.c:1587
#18 0x100f4914 in hapiBroadCosSetDot1pParams (usp=0xbd3ff0b8, dot1p=7 '\a',
    cosq=3 '\003', dapi_g=0x115b4e2 at efx500_vlan.c:1641
#19 0x100f4284 in hapiBroadQvlanPortPriorityToTcMap (usp=0xbd3ff0b8,
    cmd=DAPI_CMD_QVLAN_PORT_PRIORITY_TO_TC_MAP, data=0xbd3ff19c,
    dapi_g=0x115b4e2 at efx500_vlan.c:1509
#20 0x109b6f28 in hapiEFX500 (dapiUsp=0xbd3ff0b8,
    cmd=DAPI_CMD_QVLAN_PORT_PRIORITY_TO_TC_MAP, data=0xbd3ff19c,
    dapi_g=0x115b4e2 at efx500.c:610
#21 0x109ac2b0 in dapiCtl (usp=0xbd3ff1c8,
    cmd=DAPI_CMD_QVLAN_PORT_PRIORITY_TO_TC_MAP, data=0xbd3ff19c) at dapi.c:555
#22 0x1080f3c4 in dtlDot1dTrafficClassSet (intIfNum=24, priority=7,
    trafficClass=3) at dtl_l2_dot1q.c:760
#23 0x107f9560 in dot1dPortTrafficClassSet (intIfNum=24, priority=7,
---Type <return> to continue, or q <return> to quit---
    trafficClass=3) at dot1q_api.c:3121
#24 0x107f8f8c in dot1dPortNumTrafficClassesSet (intIfNum=24,
    numTrafficClasses=7) at dot1q_api.c:2940
#25 0x107fc9f4 in dot1qApplyIntfConfigToHW (intIfNum=24) at dot1q_cfg.c:484
#26 0x107f3150 in dot1qIntfChangeCallback (intIfNum=24, event=35,
    correlator=1813) at dot1q.c:1141
#27 0x1001b2d0 in nimDoNotify (correlator=1813, eventInfo=
      {component = L7_CARDMGR_COMPONENT_ID, event = L7_ATTACH, intIfNum = 24, pCbFunc = 0x109597a8 <cmgrNimSyncSemGive>}) at nim_events.c:152
#28 0x1001d7f0 in nimNotifyUserOfIntfChange (correlator=1813, eventInfo=
      {component = L7_CARDMGR_COMPONENT_ID, event = L7_ATTACH, intIfNum = 24, pCbFunc = 0x109597a8 <cmgrNimSyncSemGive>}) at nim_events.c:534
#29 0x1001ecb4 in nimTask () at nim_events.c:825
#30 0x100ad59c in osapi_task_wrapper (arg=0x11531270) at osapi_task.c:216
#31 0x4801b468 in pthread_start_thread () from /lib/libpthread.so.0

#32 0x4801b4ac in pthread_start_thread_event () from /lib/libpthread.so.0
#33 0x480f4f44 in clone () from /lib/libc.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

论坛徽章:
0
2 [报告]
发表于 2008-11-21 13:19 |只看该作者
真诚地希望能够提供帮助
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP