Bug 278348 - Sudden kernel panic Fatal double fault
Summary: Sudden kernel panic Fatal double fault
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2024-04-13 16:32 UTC by mikhail.rokhin
Modified: 2024-04-24 16:16 UTC (History)
2 users (show)

See Also:


Attachments
VirtualBox_FBSD-CUR_13_04_2024_19_24_39.png (15.20 KB, image/png)
2024-04-13 16:32 UTC, mikhail.rokhin
no flags Details
VirtualBox_FBSD-CUR_13_04_2024_19_26_12.png (11.95 KB, image/png)
2024-04-13 16:34 UTC, mikhail.rokhin
no flags Details
VirtualBox_FBSD-CUR_13_04_2024_19_29_02.png (12.90 KB, image/png)
2024-04-13 16:34 UTC, mikhail.rokhin
no flags Details
VirtualBox_FBSD-CUR_13_04_2024_19_29_46.png (12.90 KB, image/png)
2024-04-13 16:35 UTC, mikhail.rokhin
no flags Details
VirtualBox_FBSD-CUR_13_04_2024_19_30_08.png (12.84 KB, image/png)
2024-04-13 16:35 UTC, mikhail.rokhin
no flags Details
VirtualBox_FBSD-CUR_13_04_2024_19_30_23.png (13.00 KB, image/png)
2024-04-13 16:36 UTC, mikhail.rokhin
no flags Details
VirtualBox_FBSD-CUR_13_04_2024_19_30_38.png (13.13 KB, image/png)
2024-04-13 16:36 UTC, mikhail.rokhin
no flags Details
VirtualBox_FBSD-CUR_13_04_2024_19_30_54.png (12.53 KB, image/png)
2024-04-13 16:37 UTC, mikhail.rokhin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mikhail.rokhin 2024-04-13 16:32:57 UTC
Created attachment 249950 [details]
VirtualBox_FBSD-CUR_13_04_2024_19_24_39.png

Sudden kernel panic Fatal double fault at world compilation.
Comment 1 mikhail.rokhin 2024-04-13 16:34:03 UTC
Created attachment 249951 [details]
VirtualBox_FBSD-CUR_13_04_2024_19_26_12.png
Comment 2 mikhail.rokhin 2024-04-13 16:34:37 UTC
Created attachment 249952 [details]
VirtualBox_FBSD-CUR_13_04_2024_19_29_02.png
Comment 3 mikhail.rokhin 2024-04-13 16:35:03 UTC
Created attachment 249953 [details]
VirtualBox_FBSD-CUR_13_04_2024_19_29_46.png
Comment 4 mikhail.rokhin 2024-04-13 16:35:49 UTC
Created attachment 249954 [details]
VirtualBox_FBSD-CUR_13_04_2024_19_30_08.png
Comment 5 mikhail.rokhin 2024-04-13 16:36:11 UTC
Created attachment 249955 [details]
VirtualBox_FBSD-CUR_13_04_2024_19_30_23.png
Comment 6 mikhail.rokhin 2024-04-13 16:36:37 UTC
Created attachment 249956 [details]
VirtualBox_FBSD-CUR_13_04_2024_19_30_38.png
Comment 7 mikhail.rokhin 2024-04-13 16:37:15 UTC
Created attachment 249957 [details]
VirtualBox_FBSD-CUR_13_04_2024_19_30_54.png
Comment 8 Mark Johnston freebsd_committer freebsd_triage 2024-04-13 16:51:41 UTC
The stack pointer is very close to a page boundary, so this looks a bit like a stack overflow.  There is not a lot of other useful detail.

Is it reproducible?  If so, I wonder if reverting commit 7a79d066976149349ecb90240d02eed0c4268737 fixes the problem.
Comment 9 mikhail.rokhin 2024-04-13 18:20:27 UTC
(In reply to Mark Johnston from comment #8)
Thank you for reply.

It is not reproduceable fast and I don't have enough time for thorough continuous heavy, overloading testing (like compiling world). 

But on FBSD side, using fast servers, it is possible to run such burning, automated extended stress-test of example before release, including VMM just RAM and RAM + Swap configuration, paying precise attention to large scale testing like 128GB of RAM & 256GB of Swap, and 64 threads (-j 64) for 32 threads CPU, which easily could be achieved by compiling LLVM source code (and simultaneously in multiple jails), for e.g.

I'll be waiting for new kernel commits in up-coming weeks.
Comment 10 Mark Johnston freebsd_committer freebsd_triage 2024-04-15 13:44:39 UTC
> It is not reproduceable fast

Is it reproducible at all?  I am asking if you saw it more than once.
Comment 11 mikhail.rokhin 2024-04-16 11:27:28 UTC
(In reply to Mark Johnston from comment #10)
No, just once.
Comment 12 Gleb Smirnoff freebsd_committer freebsd_triage 2024-04-23 17:40:17 UTC
Any more occurrences of this panic?
Comment 13 mikhail.rokhin 2024-04-24 16:16:01 UTC
(In reply to Gleb Smirnoff from comment #12)
No.