菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
195
0

gdb qemu

原创
05/13 14:22
阅读数 88933

 

 

qemu-system-aarch64: ../net/net.c:1021: net_client_init1: Assertion `nc' failed.

 

root@cloud:/data1/core# gdb /usr/local/bin/qemu-system-aarch64  /data1/core/core-qemu-system-aar-8045_1605236787
GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git
Copyright (C) 2018 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/qemu-system-aarch64...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 8045]
[New LWP 8046]
[New LWP 8047]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `qemu-system-aarch64 -machine virt,usb=off,accel=kvm,gic-version=3,nvdimm -cpu h'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0xffffae6dc010 (LWP 8045))]
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x0000ffffae786884 in __GI_abort () at abort.c:79
#2  0x0000ffffae77eb44 in __assert_fail_base (fmt=0xffffae87b0c0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xaaaad1888e98 "nc", 
    file=file@entry=0xaaaad1804d90 "../net/net.c", line=line@entry=1021, function=function@entry=0xaaaad1804cc0 "net_client_init1") at assert.c:92
#3  0x0000ffffae77ebc4 in __GI___assert_fail (assertion=0xaaaad1888e98 "nc", file=0xaaaad1804d90 "../net/net.c", line=1021, function=0xaaaad1804cc0 "net_client_init1") at assert.c:101
#4  0x0000aaaad1200304 in ?? ()
#5  0x0000aaaad1ba9000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 

 

发表评论

0/200
195 点赞
0 评论
收藏
为你推荐 换一批