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) 
  • 相关阅读:
    Windows下MongoDB安装与PHP扩展
    仿Smarty替换模板标签时遇到的问题
    class ha_innobase: public handler
    类handler
    类Item_field
    函数buf_pool_init_instance
    函数buf_pool_init
    安装php,nginx 带debug
    gdb调试SAPI方式的php
    重启php-fpm
  • 原文地址:https://www.cnblogs.com/dream397/p/14187610.html
Copyright © 2011-2022 走看看