Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Driver with USB MIDI 1.0 device causes memory corruption and green screen when sent a UMP packet with invalid Group Number #562

Open
AmeNote-Michael opened this issue Feb 27, 2025 · 1 comment
Assignees
Labels
area-usb-driver 💻 Related to the USB MIDI 2.0 driver bug 🐞 Something isn't working fixed-awaiting-public-release 🕙 Fixed in our internal builds. Waiting to make its way to a public release.

Comments

@AmeNote-Michael
Copy link
Collaborator

Describe the bug
The USB MIDI 1.0 translation in new driver filters any group number that translates to an invalid (not defined in descriptor) virtual cable number. The Canary version of driver has a bug where the UMP packet is being processed continually without advancing, eventually causing a watchdog as it does not exit the driver routine.

To Reproduce
Steps to reproduce the behavior:

  1. with current Canary version, connect a UM-One with a loopback DIN connection.
  2. update driver to latest Microsoft version of USBMIDI2-ACX
  3. open CMD with midi endpoint monitor selected on UM-One
  4. in second CMD window, send a note on to invalid virtual cable number to UM-One:
    "midi endpoint send 0x2190307f"

Expected behavior
Message will be dropped and no note will appear in endpoint monitor.

Screenshots
Green Screen

Canary version 27788
Intel Windows Surface laptop

@AmeNote-Michael
Copy link
Collaborator Author

Resolved in PR #563

@Psychlist1972 Psychlist1972 added the fixed-awaiting-public-release 🕙 Fixed in our internal builds. Waiting to make its way to a public release. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-usb-driver 💻 Related to the USB MIDI 2.0 driver bug 🐞 Something isn't working fixed-awaiting-public-release 🕙 Fixed in our internal builds. Waiting to make its way to a public release.
Projects
Status: No status
Development

No branches or pull requests

2 participants