aarch64 under Parallels on macBook Pro M4 Max (macOS): The gdb backtrace from a dump is useless (just ipi_stop or doadump for each core)

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
So far dumps have only produced gdb backtraces that look like
the following one:

Tue Feb 25 13:28:37 PST 2025

FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT #2 main-n275290-9ef38a01aea8-dirty: Tue Feb 18 19:42:12 PST 2025     root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main
-src/arm64.aarch64/sys/GENERIC-NODBG-CA76  arm64

panic: softdep_setup_inomapdep: dependency 0xffffa000c5d52a80 for newinode already exists

Reading symbols from /boot/kernel.CA76-NODBG/kernel...
Reading symbols from /usr/lib/debug//boot/kernel.CA76-NODBG/kernel.debug...
Reading symbols from /boot/kernel.CA76-NODBG/virtio_balloon.ko...
Reading symbols from /usr/lib/debug//boot/kernel.CA76-NODBG/virtio_balloon.ko.debug...
0xffff0000004eea98 in doadump (textdump=0)
    at /usr/main-src/sys/kern/kern_shutdown.c:404
404             dump_savectx();
(kgdb) #0  0xffff0000004eea98 in doadump (textdump=0)
    at /usr/main-src/sys/kern/kern_shutdown.c:404
        error = 0
        coredump = <optimized out>
#1  0x64fd0000000f5eac in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(kgdb) (kgdb) Tracing command "clock", '\000' <repeats 14 times> pid 2 tid 100088 (CPU 0)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x3fa80000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100004 (CPU 1)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x5ecf0000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "devd", '\000' <repeats 15 times> pid 430 tid 100184 (CPU 2)
#0  0xffff0000004eea98 in doadump (textdump=0)
    at /usr/main-src/sys/kern/kern_shutdown.c:404
#1  0x64fd0000000f5eac in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100006 (CPU 3)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x849e0000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100007 (CPU 4)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0xc5cb0000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100008 (CPU 5)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x8f900000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100009 (CPU 6)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x5b810000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100010 (CPU 7)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x3ee80000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100011 (CPU 8)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x61e40000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100012 (CPU 9)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0xc18d0000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100013 (CPU 10)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x0aba0000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100014 (CPU 11)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x93820000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100015 (CPU 12)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0xe5ac0000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100016 (CPU 13)
#0  0xffff0000008af864 in ipi_stop (dummy=<optimized out>)
    at /usr/main-src/sys/arm64/arm64/mp_machdep.c:342
#1  0x91880000008a5580 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

(kgdb) 

===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.