Skip to content

[Problem/Bug]: WebView2 / Edge 148 crashes in V8 TurboFan JSInliner::InlineCall; NULL read at [rdi+0x17] #5587

Description

@InoriNatsume

What happened?

I filed the corresponding Chromium issue here:

https://issues.chromium.org/issues/512708691

Microsoft Edge 148.0.3967.54 / WebView2 crashes with STATUS_ACCESS_VIOLATION inside V8's TurboFan inliner, JSInliner::InlineCall.

This was observed in a Tauri application using WebView2. I could not reproduce the same crash in Chrome 148 with the same application data.

Crash signature

I collected 10 Edge Crashpad dumps from the same repro session. All 10 show the same crash signature:

  • Exception code: 0xC0000005
  • RIP: 0x7FF9D408B185
  • RDI: 0x0000000000000000
  • Fault address: 0x0000000000000017
  • Faulting instruction: movzx eax, byte ptr [rdi+0x17]

This is consistent with a NULL read at [rdi+0x17] inside JSInliner::InlineCall.

Isolation

  • Normal launch: crash
  • --js-flags=--no-opt: no crash
  • --js-flags=--no-turbofan: no crash
  • Edge 147.x: not reproduced
  • Chrome 148 with the same application data: not reproduced
  • Edge 149 Dev: not reproduced on my post-update system

Repro steps

  1. Use Microsoft Edge 148.0.3967.54 / WebView2 on Windows 11.
  2. Install or run RisuAI 2026.4.180 Tauri build.
  3. Generate a minimal RISUSAVE database using the attached make_crash_db.mjs: node make_crash_db.mjs 200
  4. Place the generated database.bin at %APPDATA%\com.risuai.risuai\database\database.bin
  5. Launch RisuAI.

Expected behavior

The WebView2-based application should start normally. V8 should not crash while compiling or optimizing the JavaScript reactive state access path.

Actual behavior

The WebView2 runtime crashes on startup with STATUS_ACCESS_VIOLATION in V8 TurboFan JSInliner::InlineCall.

Notes

The crash occurs while launching a Svelte 5 / Tauri application after assigning a large heterogeneous object to a $state reactive store. The synthetic repro database contains 200 heterogeneous properties, above the observed crash threshold of approximately 150 properties.

I only observed this in Edge 148.0.3967.54 / WebView2. I have not proven whether the difference from Chrome 148 is due to Edge-specific V8 changes, WebView2/Edge embedder configuration, build flags, or heap layout.

After rebooting into updated Windows system DLLs from KB5089549, I could no longer reproduce the crash on the same machine. I am including this as a reproducibility caveat. I do not know whether the OS update changed heap layout, timing, or another environmental factor.

Raw minidumps are not attached publicly because they may contain local process metadata. I can provide them privately to Microsoft Edge/WebView2 or V8 maintainers upon request.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

148.0.3967.54

SDK Version

N/A - WebView2 used via Tauri

Framework

Other

Operating System

Windows 11

OS Version

26200.8457

Repro steps

  1. Use Microsoft Edge / WebView2 Runtime 148.0.3967.54 on Windows 11 25H2 build 26200.8457.

  2. Install or run RisuAI(https://github.com/kwaroran/RisuAI) 2026.4.180 Tauri build.

  3. Generate a minimal RISUSAVE database using the attached make_crash_db.mjs:

    node make_crash_db.mjs 200

dump_analysis.txt
read_dump.mjs.txt
make_crash_db.mjs.txt
Bug_Report_Chromium.md
Analysis_Report.md

(GitHub does not allow attaching .mjs files directly, but the repro generator and minidump parser are attached in the Chromium issue linked above. I can also provide them renamed as .txt if needed.)

  1. Place the generated database.bin at:

    %APPDATA%\com.risuai.risuai\database\database.bin

  2. Launch RisuAI.

Expected behavior:
The WebView2-based application should start normally. V8 should not crash while compiling or optimizing the JavaScript reactive state access path.

Actual behavior:
The WebView2 runtime crashes on startup with STATUS_ACCESS_VIOLATION in V8 TurboFan JSInliner::InlineCall.

Isolation:

  • Normal launch: crash
  • --js-flags=--no-opt: no crash
  • --js-flags=--no-turbofan: no crash
  • Edge 147.x: not reproduced
  • Chrome 148 with the same application data: not reproduced

Repros in Edge Browser

Yes, issue can be reproduced in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

Runtime 147.x (exact build unknown); affected Runtime 148.0.3967.54

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymore

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions