日期:2014-05-16  浏览次数:20648 次

core 文件没有明显错误,不能准确定位BUG,各位给点思路!
$ gdb -c core
Detected 64-bit corefile.
Invoking /opt/langtools/bin/gdb64.
HP gdb 5.4.0 for PA-RISC 2.0 (wide), HP-UX 11.00
and target hppa2.0w-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.


warning: Unknown symbols for 'core'; use the 'symbol-file' command.
Core was generated by `MmServer'.
Program terminated with signal 11, Segmentation fault.
SEGV_UNKNOWN - Unknown Error
#0  0xc00000000019b278 in <unknown_procedure> ()
Cannot access memory at address 0xc00000000019b278
(gdb) where
#0  0xc00000000019b278 in <unknown_procedure> ()
warning: Attempting to unwind past bad PC 0xc00000000019b278 
#1  0xc00000000019b0d4 in <unknown_procedure> ()
#2  0xc00000000019b0d4 in <unknown_procedure> ()
(gdb) 

------解决方案--------------------
Cannot access memory at address 0xc00000000019b278,越界访问。建议先看一下业务逻辑是不是与实现符合,排除业务逻辑导致的问题。然后深入分支查找数组访问,内存释放等有可能越界的代码。