ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 使用gdb来诊断系统问题的一个例子

使用gdb来诊断系统问题的一个例子

原创 Linux操作系统 作者:cc59 时间:2007-06-10 00:00:00 0 删除 编辑
d

使用gdb来诊断系统问题的一个例子

这是以前处理的一个问题,现将处理过程描述出来,
主要是因为在imp时报错.
使用gdb调试、跟踪启动失败过程中的core dump文件,信息如下:

gdb $ORACLE_HOME/bin/imp core.21277
GNU gdb Red Hat Linux (6.3.0.0-0.31rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `imp '.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /u01/app/oracle/product/8.1.7/lib/libclntsh.so.8.0...done.
Loaded symbols for /u01/app/oracle/product/8.1.7/lib/libclntsh.so.8.0
Reading symbols from /u01/app/oracle/product/8.1.7/lib/libwtc8.so...done.
Loaded symbols for /u01/app/oracle/product/8.1.7/lib/libwtc8.so
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x001d612a in memcpy () from /lib/libc.so.6
(gdb) where
#0 0x001d612a in memcpy () from /lib/libc.so.6
#1 0x0805a45f in imprbl ()
#2 0x0805add3 in imprdi ()
#3 0x08065f2d in impsel ()
#4 0x08064bfa in impskr ()
#5 0x08064a3d in imprpd ()
#6 0x0805fde7 in imptabskp ()
#7 0x08057a0e in impdta ()
#8 0x0804eaa8 in main ()
(gdb)

在memcpy函数处,因为收到信号亮signal 11,导致imp终止。


这里可以判断出来oracle软件造成的错误,经重装oracle软件后正常使用

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/104152/viewspace-140017/,如需转载,请注明出处,否则将追究法律责任。

上一篇: Checking RAC
请登录后发表评论 登录
全部评论

注册时间:2007-12-21

  • 博文量
    132
  • 访问量
    286097