• 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) 
  • 相关阅读:
    【现代程序设计】【Homework01】
    Apache 关于 mod_rewrite 遇到 %2F或%5C (正反斜杠)等特殊符号导致URL重写失效出现404的问题
    PHP 使用CURL库IP欺骗,隐藏真实客户端IP
    php客服聊天回话系统,长连接加ajax轮询实现
    Which PHP version do I choose
    批量操作,向后台传数组
    angularjs的directive详解
    table中表头不动,表体产生滚动条
    3263232
    forEach、for+i、map的用法及区别
  • 原文地址:https://www.cnblogs.com/dream397/p/14187610.html
Copyright © 2020-2023  润新知