tao
tao copied to clipboard
assertion failed: flush_paint_messages(None, &subclass_input.event_loop_runner)
Describe the bug We have collected a couple of panics about this issue.
- Related: https://github.com/tauri-apps/tao/pull/427#issuecomment-2085774321
A panic occurred: Some("assertion failed: flush_paint_messages(None, &subclass_input.event_loop_runner)")
Location: Some("C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-1949cf8c6b5b557f\\tao-0.34.2\\src\\platform_impl\\windows\\event_loop.rs:2345:11")
Backtrace: Some(
Backtrace [
{ fn: "onig_get_right_range_by_callout_args" },
{ fn: "onig_get_right_range_by_callout_args" },
{ fn: "onig_get_right_range_by_callout_args" },
{ fn: "onig_get_right_range_by_callout_args" },
{ fn: "onig_get_right_range_by_callout_args" },
{ fn: "onig_get_right_range_by_callout_args" },
{ fn: "onigenc_strlen_null" },
{ fn: "onigenc_strlen_null" },
{ fn: "DefSubclassProc" },
{ fn: "DSA_InsertItem" },
{ fn: "DispatchMessageW" },
{ fn: "DispatchMessageW" },
{ fn: "GetClassLongW" },
{ fn: "KiUserCallbackDispatcher" },
{ fn: "NtUserDispatchMessage" },
{ fn: "DispatchMessageW" },
{ fn: "onig_builtin_fail" },
{ fn: "DispatchMessageW" },
{ fn: "CallWindowProcW" },
{ fn: "DefSubclassProc" },
{ fn: "DefSubclassProc" },
{ fn: "DefSubclassProc" },
{ fn: "DSA_InsertItem" },
{ fn: "DispatchMessageW" },
{ fn: "DispatchMessageW" },
{ fn: "User32InitializeImmEntryTable" },
{ fn: "KiUserCallbackDispatcher" },
{ fn: "NtUserPeekMessage" },
{ fn: "PeekMessageW" },
{ fn: "PeekMessageW" },
{ fn: "DefSubclassProc" },
{ fn: "DSA_InsertItem" },
{ fn: "DispatchMessageW" },
{ fn: "DispatchMessageW" },
{ fn: "GetClassLongW" },
{ fn: "KiUserCallbackDispatcher" },
{ fn: "NtUserDispatchMessage" },
{ fn: "DispatchMessageW" },
{ fn: "onig_builtin_fail" },
{ fn: "onig_get_right_range_by_callout_args" },
{ fn: "onigenc_strlen_null" },
{ fn: "BaseThreadInitThunk" },
{ fn: "RtlUserThreadStart" },
],
)
Steps To Reproduce Steps to reproduce the behavior. It must use tao directly and not tauri.
Expected behavior Not panic
Screenshots
Platform and Versions (please complete the following information): OS: Windows Rustc: rustc 1.90.0-nightly (5adb489a8 2025-07-05)
Additional context Add any other context about the problem here.