zoukankan      html  css  js  c++  java
  • 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) 
  • 相关阅读:
    解决Fatal error: Allowed memory size of 33554432 bytes exhausted
    VS2008 LINK : fatal error LNK1000: Internal error during IncrBuildImage
    天天算法01——左旋转字符串
    二叉排序数的判定
    数据结构绪论思维导图
    痛苦!很痛苦!
    【转】qt交叉环境编译
    [转]linux联想Y450屏幕亮度调节
    【转载】arm指令
    HTTP请求和响应——GET与POST区别以及SOAP(网络整理)
  • 原文地址:https://www.cnblogs.com/dream397/p/14187610.html
Copyright © 2011-2022 走看看