Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2020 00:58:07 +0100
From:      Peter <pmc@citylink.dinoex.sub.org>
To:        Kristof Provost <kp@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Panic: 12.2 fails to use VIMAGE jails
Message-ID:  <X9ATDzd8GLOXLSAl@gate.oper.dinoex.org>
In-Reply-To: <DDDE7802-1C8C-4EB7-AA0C-DFCD7E5D2BAB@FreeBSD.org>
References:  <20201207125451.GA11406@gate.oper.dinoex.org> <39DBEA53-960F-4D70-86D7-847E6DFA437D@FreeBSD.org> <20201207233449.GA11025@gate.oper.dinoex.org> <DDDE7802-1C8C-4EB7-AA0C-DFCD7E5D2BAB@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

Here is the next funny crashdump - I obtained this one twice
and also the sysctl_rtsock() again.

I can reproduce this by just starting and stopping a most simple jail
that does only
        exec.start = "/bin/sleep 4 &";
(And as usual, when I let it time out, nothing bad happens.)


Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 02
instruction pointer     = 0x20:0xffffffff80a2ac45
stack pointer           = 0x28:0xfffffe0047cf2890
frame pointer           = 0x28:0xfffffe0047cf2890
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 13557 (ifconfig)
trap number             = 9
panic: general protection fault
cpuid = 1
time = 1607469295
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0047cf25a0
vpanic() at vpanic+0x17b/frame 0xfffffe0047cf25f0
panic() at panic+0x43/frame 0xfffffe0047cf2650
trap_fatal() at trap_fatal+0x391/frame 0xfffffe0047cf26b0
trap() at trap+0x67/frame 0xfffffe0047cf27c0
calltrap() at calltrap+0x8/frame 0xfffffe0047cf27c0
--- trap 0x9, rip = 0xffffffff80a2ac45, rsp = 0xfffffe0047cf2890, rbp = 0xfffffe0047cf2890 ---
strncmp() at strncmp+0x15/frame 0xfffffe0047cf2890
ifunit_ref() at ifunit_ref+0x59/frame 0xfffffe0047cf28d0
ifioctl() at ifioctl+0x427/frame 0xfffffe0047cf2990
kern_ioctl() at kern_ioctl+0x275/frame 0xfffffe0047cf29f0
sys_ioctl() at sys_ioctl+0x101/frame 0xfffffe0047cf2ac0
amd64_syscall() at amd64_syscall+0x380/frame 0xfffffe0047cf2bf0
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0047cf2bf0
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800475b2a, rsp = 0x7fffffffe3b8, rbp = 0x7fffffffe450 ---
Uptime: 8m54s
Dumping 880 out of 3959 MB:


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X9ATDzd8GLOXLSAl>