signal 4, Illegal instruction宕机问题,求助
power pc单板,有一个宕机问题,
调用栈最后一个函数是oltdb_AlarmHisTbl ,但代码中oltdb_AlarmHisTbl 是一个结构体变量,不明所以。求高手指教,调用栈如下:
GNU gdb (GDB) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-fsl-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/RC_snmpd...Reading symbols from /usr/sbin/RC_snmpd.debug...done.
done.
[New LWP 1360]
[New LWP 1364]
[New LWP 1361]
[New LWP 1363]
[New LWP 1355]
[New LWP 1362]
[New LWP 1357]
[New LWP 1359]
[New LWP 1358]
warning: Could not load shared library symbols for linux-vdso32.so.1.
Do you need "set solib-search-path" or "set sysroot"?
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Core was generated by `/usr/sbin/RC_snmpd'.
Program terminated with signal 4, Illegal instruction.
#0 0x100d42c4 in oltdb_AlarmHisTbl ()
(gdb) bt
#0 0x100d42c4 in oltdb_AlarmHisTbl ()
#1 0x0ff5d238 in idbDispatch (request=request@entry=IDB_GET_NEXT, pObjName=pObjName@entry=0x100611f0 "raisecomCommonManagement:raisecomConfigLoadOperation", pIndex=pIndex@entry=0xb5a98a4c,
pIndexSubIdCount=pIndexSubIdCount@entry=0xb5a98c0c, pValueBuf=pValueBuf@entry=0xb5a97d48, pValueLen=pValueLen@entry=0xb5a98c10, flags=flags@entry=0xb5a97d28)
at /home/niuyue/views/AHPY/SMCB_EX/ucs_v2/plat/common/lib/idb/idbLib.c:2801
#2 0x0ff5d670 in idbGetNext (pObjName=pObjName@entry=0x100611f0 "raisecomCommonManagement:raisecomConfigLoadOperation", pIndex=pIndex@entry=0xb5a98a4c, pIndexSubIdCount=pIndexSubIdCount@entry=0xb5a98c0c,
pValueBuf=pValueBuf@entry=0xb5a97d48, pValueLen=pValueLen@entry=0xb5a98c10) at /home/niuyue/views/AHPY/SMCB_EX/ucs_v2/plat/common/lib/idb/idbLib.c:3217
#3 0x10007c88 in envoyIdbNext (compc=0, compl=<optimized out>, pktp=0xb51165b8, vbp=0xb5116c80, lastmatch=<optimized out>) at /home/niuyue/views/AHPY/SMCB_EX/ucs_v2/plat/common/snmp/common/envIdb.c:1658
#4 0x1002d510 in SNMP_Process_Next_PDU (pktp=pktp@entry=0xb51165b8) at /home/niuyue/views/AHPY/SMCB_EX/ucs_v2/plat/common/snmp/epilogue/envoy/snmp/nextpdu.c:367
#5 0x100286c8 in process_packet_two (dptr=0xb51165b8) at /home/niuyue/views/AHPY/SMCB_EX/ucs_v2/plat/common/snmp/epilogue/envoy/snmp/rpktasy.c:644
#6 0x100289ac in Process_Rcvd_SNMP_Packet_Async (pktl=pktl@entry=60, pktp=pktp@entry=0x100a61a8 <snmpBuf> "0\202", for_addr=for_addr@entry=0xb5a98d58, loc_addr=loc_addr@entry=0xb5a98d68, pktsize=pktsize@entry=8192,
io_complete=io_complete@entry=0x10005a20 <snmpAgentOutputRtn>, error_complete=error_complete@entry=0x10005a10 <snmpAgentErrorRtn>, complete_cookie=complete_cookie@entry=0x100a3d34 <snmpSock>)
at /home/niuyue/views/AHPY/SMCB_EX/ucs_v2/plat/common/snmp/epilogue/envoy/snmp/rpktasy.c:873
#7 0x10005dcc in snmpTask () at /home/niuyue/views/AHPY/SMCB_EX/ucs_v2/plat/common/snmp/common/envSnmpInit.c:562
#8 0x0fec3b94 in ?? () from /lib/libpthread.so.0
#9 0x0fd3ff58 in clone () from /lib/libc.so.6
(gdb)