Skip to content

Fatal error when on fullscreen apps #386

@JuanMM94

Description

@JuanMM94

Version

v2.6.3.0

Platform

Windows 11 Pro 26100.4351

Steps to reproduce

Lightbulb is currently installed via scoop v0.5.2

Steps:

  • Step 1: Have Lightbulb open
  • Step 2: Whitelist a fullscreen app (for example, CS2.exe on fullscreen mode)
  • Step 3: Open a fullscreen app

Details

  • Expected behavior: App/Game works correctly without any errors. Lightbulb disables temporally.
  • Actual behavior: App/Game alt tabs more than once, and in extreme cases Lightbulb crashes.

This is taken from Event Viewer of the last crash:

Source: Application Error

Faulting application name: LightBulb.exe, version: 2.6.3.0, time stamp: 0x67fe0000
Faulting module name: KERNELBASE.dll, version: 10.0.26100.4202, time stamp: 0xfc5b8f29
Exception code: 0xe0434352
Fault offset: 0x00000000000c85ea
Faulting process id: 0x6264
Faulting application start time: 0x1DBE3BAD8A2EF0A
Faulting application path: C:\Users***\scoop\apps\lightbulb\2.6.3\LightBulb.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 000632ad-ee05-47ba-b223-e812e1b46843
Faulting package full name:
Faulting package-relative application ID:

Source: .NET Runtime

Application: LightBulb.exe
CoreCLR Version: 9.0.525.21509
.NET Version: 9.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException: Object reference not set to an instance of an object.
at Avalonia.Threading.DispatcherPriorityQueue.RemoveItemFromPriorityChain(DispatcherOperation item)
at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
at Avalonia.Threading.Dispatcher.OnOSTimer()
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at LightBulb.Program.Main(String[] args)

Error shown by Lightbulb.exe:

Image

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the application
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions