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) 
  • 相关阅读:
    CodeForces979D:Kuro and GCD and XOR and SUM(Trie树&指针&Xor)
    HDU4188:RealPhobia (连分数的运用之一)
    从HDU2588:GCD 到 HDU5514:Frogs (欧拉公式)
    SPOJ:Eagle and Dogs(求树上每个点最远可以走到哪里---树的直径||DP)
    【字符串】BZOJ上面几个AC自动机求最为字串出现次数的题目
    codeforces round #405 B. Bear and Friendship Condition
    codeforces round #419 C. Karen and Game
    codeforces round #419 B. Karen and Coffee
    codeforces round #419 A. Karen and Morning
    【ZOJ 3609】Modular Inverse 最小乘法逆元
  • 原文地址:https://www.cnblogs.com/dream397/p/14187610.html
Copyright © 2011-2022 走看看