# gdb /usr/libexec/qemu-kvm /root/NetworkManager-ci/qemu-kvm.core GNU gdb (CentOS Stream) 14.2-3.el9 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/libexec/qemu-kvm... This GDB supports auto-downloading debuginfo from the following URLs: Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Downloading separate debug info for /usr/libexec/qemu-kvm Reading symbols from /root/.cache/debuginfod_client/19a0c597348271f31444c9fa29709469ab352064/debuginfo... BFD: warning: /root/NetworkManager-ci/qemu-kvm.core has a segment extending past end of file [New LWP 69986] [New LWP 69993] [New LWP 69976] [New LWP 69988] [New LWP 69977] [New LWP 69989] [New LWP 69990] [New LWP 69991] [New LWP 69987] warning: Error reading shared library list entry at 0x696e6e75723a5652 Cannot access memory at address 0x69626f6e6e613a5e Cannot access memory at address 0x69626f6e6e613a56 Failed to read a valid object file image from memory. Core was generated by `/usr/libexec/qemu-kvm -cpu max -machine q35 -smp 6 -m 1200 -nodefaults -vga non'. Program terminated with signal SIGSEGV, Segmentation fault. #0 memory_region_get_iommu (mr=0x7efa1fbed0f1) at /usr/src/debug/qemu-kvm-9.0.0-9.el9.x86_64/include/exec/memory.h:1755 1755 if (mr->alias) { [Current thread is 1 (LWP 69986)] (gdb) t a a bt Thread 9 (LWP 69987): #0 0x00007efe97a869b0 in ?? () #1 0x00007efe97a8d042 in ?? () #2 0x000056464b393069 in str.94.llvm () #3 0x000056464bfb66d0 in qemu_pause_cond.llvm () #4 0x0000000000000060 in ?? () #5 0x000056464b227ac6 in qemu_mutex_lock_impl (mutex=0x56464bfb66d0 , file=0x80 , line=2) at ../util/qemu-thread-posix.c:94 #6 0x000056464ad247bd in bql_lock_impl (file=0x7efe98d71124 "../accel/tcg/tcg-accel-ops-mttcg.c", line=96) at ../system/cpus.c:525 #7 0x00007efe98d701b3 in ?? () #8 0x0000000000000000 in ?? () Thread 8 (LWP 69991): #0 0x00007efe97a869b0 in ?? () #1 0x00007efe97a8d042 in ?? () #2 0x00007efe50faca13 in code_gen_buffer () #3 0x000000002c800000 in ?? () #4 0x00007efe31600000 in ?? () #5 0xc00c1c23da12aa00 in ?? () #6 0x000000002c800000 in ?? () #7 0xffffffff93200000 in ?? () #8 0x00007efdef7fef30 in ?? () #9 0xfffffffffffffd10 in ?? () #10 0x0000000000000002 in ?? () #11 0xffffffff93200000 in ?? () #12 0xfffffffffffffd10 in ?? () #13 0x0000000000000000 in ?? () Thread 7 (LWP 69990): #0 0x00007efe97a869b0 in ?? () #1 0x00007efe97a8d042 in ?? () #2 0x00007efe50faca13 in code_gen_buffer () #3 0x000000002c800000 in ?? () #4 0x00007efe31600000 in ?? () #5 0xc00c1c23da12aa00 in ?? () #6 0x000000002c800000 in ?? () #7 0xffffffff93200000 in ?? () #8 0x00007efdfcff9f30 in ?? () #9 0xfffffffffffffd10 in ?? () #10 0x0000000000000002 in ?? () #11 0xffffffff93200000 in ?? () #12 0xfffffffffffffd10 in ?? () #13 0x0000000000000000 in ?? () Thread 6 (LWP 69989): #0 0x00007efe97a869b0 in ?? () #1 0x00007efe97a8d042 in ?? () #2 0xffffffff92be4390 in ?? () #3 0x000056464bfb66d0 in qemu_pause_cond.llvm () #4 0x0000000000000a79 in ?? () #5 0x000056464b227ac6 in qemu_mutex_lock_impl (mutex=0x56464bfb66d0 , file=0x80 , line=2) at ../util/qemu-thread-posix.c:94 #6 0x000056464af3d2b1 in bql_lock_impl (line=2681, file=) at ../system/cpus.c:525 #7 prepare_mmio_access (mr=0x56464e275ae0) at ../system/physmem.c:2681 #8 address_space_ldub (as=, addr=, attrs=..., result=0x0) at ../system/memory_ldst.c.inc:174 --Type for more, q to quit, c to continue without paging--c #9 0x000056464ade8071 in helper_inb (env=, port=) at ../target/i386/tcg/sysemu/misc_helper.c:38 #10 0x00007efe50ba38c3 in code_gen_buffer () #11 0x000056464af6dca6 in cpu_tb_exec (cpu=0x56464dd38050, itb=, tb_exit=0x7efdfdffbf74) at ../accel/tcg/cpu-exec.c:448 #12 0x000056464af6ede8 in cpu_loop_exec_tb (cpu=0x56464dd38050, tb=, pc=, last_tb=, tb_exit=) at ../accel/tcg/cpu-exec.c:903 #13 cpu_exec_loop (cpu=0x56464dd38050, sc=0x7efdfdffbfb0) at ../accel/tcg/cpu-exec.c:1018 #14 0x000056464af6e451 in cpu_exec_setjmp (cpu=0x56464dd38050, sc=0x7efdfdffbfb0) at ../accel/tcg/cpu-exec.c:1035 #15 0x000056464af6e27e in cpu_exec (cpu=0x56464dd38050) at ../accel/tcg/cpu-exec.c:1061 #16 0x00007efe98d7019c in ?? () #17 0x0000000000000000 in ?? () Thread 5 (LWP 69977): #0 0x00007efe97ad40b5 in ?? () Backtrace stopped: Cannot access memory at address 0x7efe95ab2510 Thread 4 (LWP 69988): #0 0x00007efe97a869b0 in ?? () #1 0x00007efe97a8d042 in ?? () #2 0xffffffff9306512e in ?? () #3 0x000056464bfb66d0 in qemu_pause_cond.llvm () #4 0x0000000000000a79 in ?? () #5 0x000056464b227ac6 in qemu_mutex_lock_impl (mutex=0x56464bfb66d0 , file=0x80 , line=2) at ../util/qemu-thread-posix.c:94 #6 0x000056464af3dce0 in bql_lock_impl (line=2681, file=) at ../system/cpus.c:525 #7 prepare_mmio_access (mr=0x56464de9a420) at ../system/physmem.c:2681 #8 address_space_stl_internal (as=, addr=, val=2147487764, attrs=..., result=0x0, endian=DEVICE_NATIVE_ENDIAN) at ../system/memory_ldst.c.inc:318 #9 0x00007efe531ac342 in code_gen_buffer () #10 0x000056464af6dca6 in cpu_tb_exec (cpu=0x56464dcc1e30, itb=, tb_exit=0x7efdfeffdf74) at ../accel/tcg/cpu-exec.c:448 #11 0x000056464af6ede8 in cpu_loop_exec_tb (cpu=0x56464dcc1e30, tb=, pc=, last_tb=, tb_exit=) at ../accel/tcg/cpu-exec.c:903 #12 cpu_exec_loop (cpu=0x56464dcc1e30, sc=0x7efdfeffdfb0) at ../accel/tcg/cpu-exec.c:1018 #13 0x000056464af6e451 in cpu_exec_setjmp (cpu=0x56464dcc1e30, sc=0x7efdfeffdfb0) at ../accel/tcg/cpu-exec.c:1035 #14 0x000056464af6e27e in cpu_exec (cpu=0x56464dcc1e30) at ../accel/tcg/cpu-exec.c:1061 #15 0x00007efe98d7019c in ?? () #16 0x0000000000000000 in ?? () Thread 3 (LWP 69976): #0 0x00007efe97a869b0 in ?? () Backtrace stopped: Cannot access memory at address 0x7ffcaef4b628 Thread 2 (LWP 69993): #0 0x00007efe97a867ea in ?? () #1 0x0000000000000000 in ?? () Thread 1 (LWP 69986): #0 memory_region_get_iommu (mr=0x7efa1fbed0f1) at /usr/src/debug/qemu-kvm-9.0.0-9.el9.x86_64/include/exec/memory.h:1755 #1 address_space_translate_for_iotlb (cpu=0x56464dbbf7e0, asidx=, orig_addr=763428864, xlat=0x7efe94d6ae20, plen=0x7efe94d6ae18, attrs=..., prot=0x7efe94d6ae14) at ../system/physmem.c:688 #2 0x000056464af834cc in tlb_set_page_full (cpu=0x56464dbbf7e0, mmu_idx=, addr=763428864, full=0x7efe94d6ae58) at ../accel/tcg/cputlb.c:1140 #3 0x000056464ade5059 in tlb_set_page_with_attrs (addr=763428864, paddr=, attrs=..., prot=, mmu_idx=6, size=, cpu=) at ../accel/tcg/cputlb.c:1287 #4 x86_cpu_tlb_fill (cs=, addr=, size=, access_type=MMU_DATA_STORE, mmu_idx=6, probe=, retaddr=0) at ../target/i386/tcg/sysemu/excp_helper.c:609 #5 0x000056464ade6111 in probe_access_internal (cpu=0x56464dbbf7e0, addr=, fault_size=0, access_type=MMU_DATA_STORE, mmu_idx=6, nonfault=true, phost=0x7efe94d6ae98, retaddr=0, pfull=, check_mem_cbs=) at ../accel/tcg/cputlb.c:1429 #6 probe_access_full (env=0x56464dbc1f90, addr=, size=0, access_type=MMU_DATA_STORE, mmu_idx=6, nonfault=true, phost=0x7efe94d6ae98, retaddr=0, pfull=) at ../accel/tcg/cputlb.c:1472 #7 ptw_translate (addr=, ra=0, inout=) at ../target/i386/tcg/sysemu/excp_helper.c:68 #8 mmu_translate (env=0x56464dbc1f90, in=0x7efe94d6aed8, out=0x7efe94d6aeb0, err=0x7efe94d6aec0, ra=0) at ../target/i386/tcg/sysemu/excp_helper.c:168 #9 0x000056464ade4f86 in get_physical_address (env=0x56464dbc1f90, addr=139629124156624, access_type=MMU_DATA_LOAD, mmu_idx=0, ra=0, out=, err=) at ../target/i386/tcg/sysemu/excp_helper.c:582 #10 x86_cpu_tlb_fill (cs=0x56464dbbf7e0, addr=18446741874686299840, size=, access_type=MMU_DATA_LOAD, mmu_idx=0, probe=false, retaddr=0) at ../target/i386/tcg/sysemu/excp_helper.c:602 #11 0x000056464af8e470 in tlb_fill (addr=18446741874686299840, size=532599025, access_type=MMU_DATA_LOAD, mmu_idx=0, retaddr=0, cpu=) at ../accel/tcg/cputlb.c:1312 #12 mmu_lookup1 (cpu=, data=0x7efe94d6af00, mmu_idx=0, access_type=MMU_DATA_LOAD, ra=0) at ../accel/tcg/cputlb.c:1709 #13 0x000056464af8e1e0 in mmu_lookup (cpu=0x56464dbbf7e0, addr=18446741874686299840, oi=, ra=0, type=MMU_DATA_LOAD, l=0x7efe94d6af00) at ../accel/tcg/cputlb.c:1799 #14 0x000056464af852f7 in do_ld4_mmu (cpu=0x0, addr=0, oi=532599025, ra=139629124852368, access_type=MMU_DATA_LOAD) at ../accel/tcg/cputlb.c:2431 #15 0x000056464ae792c2 in cpu_ldl_mmu (env=0x56464dbc1f90, addr=18446741874686299840, oi=532599025, ra=0) at ../accel/tcg/ldst_common.c.inc:158 #16 cpu_ldl_le_mmuidx_ra (env=0x56464dbc1f90, addr=18446741874686299840, mmu_idx=, ra=0) at ../accel/tcg/ldst_common.c.inc:294 #17 do_interrupt64 (env=0x56464dbc1f90, intno=236, is_int=0, error_code=0, next_eip=, is_hw=) at ../target/i386/tcg/seg_helper.c:889 #18 do_interrupt_all (cpu=0x56464dbbf7e0, intno=236, is_int=0, error_code=0, next_eip=, is_hw=) at ../target/i386/tcg/seg_helper.c:1130 #19 0x000056464adebf61 in do_interrupt_x86_hardirq (env=, intno=, is_hw=) at ../target/i386/tcg/seg_helper.c:1162 #20 0x000056464adebf61 in x86_cpu_exec_interrupt (cs=0x56464dbbf7e0, interrupt_request=2) #21 0x000056464af6f189 in cpu_handle_interrupt (cpu=0x56464dbbf7e0, last_tb=) at ../accel/tcg/cpu-exec.c:850 #22 cpu_exec_loop (cpu=0x56464dbbf7e0, sc=0x7efe94d6afb0) at ../accel/tcg/cpu-exec.c:957 #23 0x000056464af6e451 in cpu_exec_setjmp (cpu=0x56464dbbf7e0, sc=0x7efe94d6afb0) at ../accel/tcg/cpu-exec.c:1035 #24 0x000056464af6e27e in cpu_exec (cpu=0x56464dbbf7e0) at ../accel/tcg/cpu-exec.c:1061 #25 0x00007efe98d7019c in ?? () #26 0x0000000000000000 in ?? ()