zoukankan      html  css  js  c++  java
  • gdb + qemu+core

    [root@localhost android]# gdb /usr/local/bin/qemu-system-aarch64 /data1/core/core-qemu-system-aar-75383_1605777158
    GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
    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 "aarch64-redhat-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/local/bin/qemu-system-aarch64...done.
    
    warning: core file may not match specified executable file.
    [New LWP 75383]
    [New LWP 75387]
    [New LWP 75384]
    [New LWP 75385]
    [New LWP 75389]
    
    warning: the debug information found in "/usr/lib/debug//lib64/libnettle.so.4.7.debug" does not match "/lib64/libnettle.so.4" (CRC mismatch).
    
    
    warning: the debug information found in "/usr/lib/debug/usr/lib64/libnettle.so.4.7.debug" does not match "/lib64/libnettle.so.4" (CRC mismatch).
    
    
    warning: the debug information found in "/usr/lib/debug//usr/lib64/libnettle.so.4.7.debug" does not match "/lib64/libnettle.so.4" (CRC mismatch).
    
    
    warning: the debug information found in "/usr/lib/debug/usr/lib64//libnettle.so.4.7.debug" does not match "/lib64/libnettle.so.4" (CRC mismatch).
    
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib64/libthread_db.so.1".
    
    warning: the debug information found in "/usr/lib/debug//lib64/libhogweed.so.2.5.debug" does not match "/lib64/libhogweed.so.2" (CRC mismatch).
    
    
    warning: the debug information found in "/usr/lib/debug/usr/lib64/libhogweed.so.2.5.debug" does not match "/lib64/libhogweed.so.2" (CRC mismatch).
    
    
    warning: the debug information found in "/usr/lib/debug//usr/lib64/libhogweed.so.2.5.debug" does not match "/lib64/libhogweed.so.2" (CRC mismatch).
    
    
    warning: the debug information found in "/usr/lib/debug/usr/lib64//libhogweed.so.2.5.debug" does not match "/lib64/libhogweed.so.2" (CRC mismatch).
    
    Core was generated by `qemu-system-aarch64 -machine virt,usb=off,accel=kvm,gic-version=3,nvdimm -cpu h'.
    Program terminated with signal 6, Aborted.
    #0 0x0000ffff832b5238 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55
    55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
    Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.aarch64 elfutils-libelf-0.172-2.el7.aarch64 elfutils-libs-0.172-2.el7.aarch64 libattr-2.4.46-13.el7.aarch64 libcap-2.22-9.el7.aarch64 nettle-2.7.1-8.el7.aarch64 pixman-0.34.0-1.el7.aarch64 systemd-libs-219-78.el7_9.2.aarch64 xz-libs-5.2.2-1.el7.aarch64
    (gdb) bt
    #0 0x0000ffff832b5238 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55
    #1 0x0000ffff832b68b0 in __GI_abort () at abort.c:90
    #2 0x0000ffff832ae72c in __assert_fail_base (fmt=0xffff833b8c50 "%s%s%s:%u: %s%sAssertion `%s' failed.
    %n", assertion=assertion@entry=0xaaaab09a0470 "*errp == ((void *)0)", file=file@entry=0xaaaab09a0488 "../util/error.c", line=line@entry=59, 
    function=<optimized out>) at assert.c:92
    #3 0x0000ffff832ae7e4 in __GI___assert_fail (assertion=0xaaaab09a0470 "*errp == ((void *)0)", file=0xaaaab09a0488 "../util/error.c", line=59, function=<optimized out>) at assert.c:101
    #4 0x0000aaaab0644b4c in error_setv (errp=0xffff8255fdd8, src=0xaaaab09ab4d8 "../qapi/qmp-dispatch.c", line=156, func=0xaaaab09ab7f8 <__func__.21794> "qmp_dispatch", err_class=ERROR_CLASS_COMMAND_NOT_FOUND, 
    fmt=0xaaaab09ab680 "The command %s has not been found", ap=..., suffix=0x0) at ../util/error.c:59
    #5 0x0000aaaab0644cf8 in error_set_internal (errp=0xffff8255fdd8, src=0xaaaab09ab4d8 "../qapi/qmp-dispatch.c", line=156, func=0xaaaab09ab7f8 <__func__.21794> "qmp_dispatch", err_class=ERROR_CLASS_COMMAND_NOT_FOUND, 
    fmt=0xaaaab09ab680 "The command %s has not been found") at ../util/error.c:86
    #6 0x0000aaaab067f2f0 in qmp_dispatch (cmds=0xaaaab0ec3630 <qmp_cap_negotiation_commands>, request=0xfffd7c00e600, allow_oob=false, cur_mon=0xaaaab9e4e800) at ../qapi/qmp-dispatch.c:155
    #7 0x0000aaaab041d300 in monitor_qmp_dispatch (mon=0xaaaab9e4e800, req=0xfffd7c00e600) at ../monitor/qmp.c:145
    #8 0x0000aaaab041d800 in monitor_qmp_dispatcher_co (data=0x0) at ../monitor/qmp.c:282
    #9 0x0000aaaab067e78c in coroutine_trampoline (i0=-1179000416, i1=43690) at ../util/coroutine-ucontext.c:173
    #10 0x0000ffff832c49c0 in ?? () at ../sysdeps/unix/sysv/linux/aarch64/setcontext.S:122 from /lib64/libc.so.6
    (gdb)
  • 相关阅读:
    【设计模式】第九篇:组合模式解决层级关系结构问题
    【设计模式】第八篇:喝豆浆就是装饰者模式吗?
    【设计模式】第七篇:和我一起简单认识桥接模式
    【设计模式】第六篇:来康康适配器模式
    【设计模式】第五篇:什么是原型模式?浅提浅拷贝和深拷贝
    【计算机网络】学习笔记,第三篇:数据链路层(谢希仁版)
    一篇搞定工厂模式【简单工厂、工厂方法模式、抽象工厂模式】
    单例模式的几种实现And反射对其的破坏
    缓存穿透、击穿、雪崩什么的傻傻分不清楚?看了这篇文后,我明白了
    图文并茂,带你深入了解AQS的源码
  • 原文地址:https://www.cnblogs.com/dream397/p/14006760.html
Copyright © 2011-2022 走看看