gdb cloud-hypervisor /data1/core/core-virtio_rng-291579_1609745784 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 cloud-hypervisor...done. warning: core file may not match specified executable file. [New LWP 291589] [New LWP 291587] [New LWP 291581] [New LWP 291579] [New LWP 291583] [New LWP 291580] [New LWP 291588] [New LWP 291586] [New LWP 291585] [New LWP 291584] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Core was generated by `cloud-hypervisor --kernel /usr/share/kata-containers/vmlinux-virtiofs.container'. Program terminated with signal SIGSYS, Bad system call. #0 0x0000ffff8abfd4f0 in __kernel_gettimeofday () [Current thread is 1 (Thread 0xffff89bc6f50 (LWP 291589))] (gdb) bt #0 0x0000ffff8abfd4f0 in __kernel_gettimeofday () #1 0x0000ffff8aa8dcf8 in __GI___gettimeofday (tv=0xffff89bc6368, tv@entry=0xffff89bc6378, tz=tz@entry=0x0) at ../sysdeps/unix/sysv/linux/gettimeofday.c:35 #2 0x0000ffff8aa8dc80 in __GI_time (t=t@entry=0x0) at ../sysdeps/posix/time.c:31 #3 0x0000ffff8aacb8e4 in __GI___get_nprocs () at ../sysdeps/unix/sysv/linux/getsysstats.c:131 #4 0x0000ffff8aa6f54c in arena_get2 (size=576, avoid_arena=0x0) at arena.c:888 #5 0x0000ffff8aa7237c in tcache_init () at malloc.c:2986 #6 0x0000ffff8aa732c0 in tcache_init () at malloc.c:2983 #7 __GI___libc_malloc (bytes=32) at malloc.c:3042 #8 0x0000ffff8ab82c44 in pthread_getattr_np (thread_id=281472992571216, attr=0xffff89bc6590) at pthread_getattr_np.c:176 #9 0x0000aaaac0c68d08 in std::sys::unix::thread::guard::current () at src/libstd/sys/unix/thread.rs:404 #10 0x0000aaaac0cbe904 in core::ops::function::FnOnce::call_once{{vtable-shim}} () #11 0x0000aaaac0c68bcc in <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once () at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/liballoc/boxed.rs:1081 #12 <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once () at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/liballoc/boxed.rs:1081 #13 std::sys::unix::thread::Thread::new::thread_start () at src/libstd/sys/unix/thread.rs:87 #14 0x0000ffff8ab81088 in start_thread (arg=0xffff8a3ddc7f) at pthread_create.c:463 #15 0x0000ffff8aacc4dc in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78 (gdb) quit
启动的时候加上
--seccomp false