Skip to content

[Bug]: VirtualBoxVM segfault in DarwinHidDevicesApplyAndReleaseLedsState after host USB KVM switch (macOS, 7.2.22) #965

Open

Description

@gerardkr

Version

7.2.22

Host OS Type

macOS

Host OS name + version

Mac Tahoe Version 26.6.2 (25G83)

Host Architecture

ARM

Guest OS Type

macOS

Guest Architecture

ARM

Guest OS name + version

Ubuntu 26.10

Component

Unspecified

What happened?

I have a KVM switch (AV Access iDock C20) to switch between two Mac Book Pro M4 laptops. I'm running VirtualBox only on Mac #1. I switch back-and-forth between the Macs during the day. When I do that, VirtualBox crashes.

Primary error:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 11, Segmentation fault: 11

Environment:

  • VirtualBox 7.2.22 r175245, darwin.arm64 release, running in driverless mode
  • Host: Mac16,5 (M4 Max, 16 cores, 128 GB), macOS 26.6.2 (25G83)
  • Guest: Ubuntu 26.10 (arm64), 16 vCPUs, Guest Additions 6.0.0 reported by guest

How can we reproduce this?

Steps:

  1. Run a VM with the GUI. Keyboard and mouse are connected through a USB KVM
    switch shared with another Mac.
  2. Switch the KVM to the other Mac, then switch back.
  3. Click between the VirtualBox window and other apps.

Result: VirtualBoxVM crashes with EXC_BAD_ACCESS (SIGSEGV), KERN_INVALID_ADDRESS
at 0x0 on the main thread. Crashing stack:
0 IOKit IOHIDDeviceCopyMatchingElements + 44
1 UICommon.dylib
2 UICommon.dylib DarwinHidDevicesApplyAndReleaseLedsState + 512
3 VirtualBoxVM
4 QtCore ... QApplicationPrivate::notify_helper / setActiveWindow
...
QCocoaWindow::windowDidBecomeKey (crash 1) and windowDidResignKey (crash 2)

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Activity

  1. Xxcoolgamerx2022X commented on Nov 10, 2026

    @Xxcoolgamerx2022X

    prolly a bug bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions