gdb firecracker

 

 

root@ubuntu:~# gdb firecracker /data1/core/core.53227 
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 firecracker...(no debugging symbols found)...done.
[New LWP 53228]
[New LWP 53227]
Core was generated by `firecracker --api-sock /tmp/firecracker.socket'.
Program terminated with signal SIGSYS, Bad system call.
#0  0x0000ffff85830620 in __kernel_clock_gettime ()
[Current thread is 1 (LWP 53228)]
(gdb) bt
#0  0x0000ffff85830620 in __kernel_clock_gettime ()
#1  0x00000000007113e4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) quit
root@ubuntu:~# rm /tmp/firecracker.socket
root@ubuntu:~# gdb firecracker 
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 firecracker...(no debugging symbols found)...done.
(gdb) b bind_and_run
Breakpoint 1 at 0x41d378
(gdb) set args /tmp/firecracker.socket
(gdb) r
Starting program: /root/firecracker /tmp/firecracker.socket
2020-12-25T10:10:54.203061744 [anonymous-instance:ERROR:src/firecracker/src/main.rs:157] Arguments parsing error: Found argument '/tmp/firecracker.socket' which wasn't expected, or isn't valid in this context. 

For more information try --help.
[Inferior 1 (process 55133) exited with code 0231]
(gdb) 

 

posted on 2020-12-25 10:12  tycoon3  阅读(132)  评论(0编辑  收藏  举报

导航