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] MidiSrv gets stuck by sending MT3. #437

Open
sat-okada opened this issue Nov 15, 2024 · 1 comment
Open

[BUG] MidiSrv gets stuck by sending MT3. #437

sat-okada opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels
area-usb-driver 💻 Related to the USB MIDI 2.0 driver bug 🐞 Something isn't working

Comments

@sat-okada
Copy link
Collaborator

Describe the bug
If I send a 1-byte length System Exclusive Start message (F0 xx) in MT3 format, MIDI Service gets stuck.
If this happens, MidiSrv cannot be stopped and restarting OS is required.

To Reproduce
1.Set the Roland UM-ONE mk2 to class-compliant mode and attach it to the UM-ONE to PC.
2.Driver uses UsbMidi2.
3.Start up two consoles, One is a monitor.

midi ep monitor --verbose

Send on the other

midi ep send 0x30110100 0x00000000

4.On the monitor window, press escape to stop monitoring.
Monitoring cannot be terminated.
And finally, it is necessary to restart OS to recover.

Expected behavior
Wait for the next SxsEx Continue message and get the first 1 byte to complete the SysEx Start data.

Installer Name or Version
・Windows.MIDI.Services.In-Box.Service.-.1.0.1-preview.7.24305.1438-x64.exe
・Windows.MIDI.Services.Tools.and.SDKs.1.0.1-preview.7.24305.1438-x64.exe
・USB MIDI 2.0 class driver (USBMIDI2_10.0.1.7.x64.zip)

Desktop (please complete the following information):
・OS: Windows 11 Pro Insider Preview Build 27729.rs_prerelease.241011-1428

Device information, if this is with an external MIDI device:
Roland UM-ONE mk2

Application Information
midi.exe console app.

Additional context
This issue is very similar to #300.

@sat-okada sat-okada added the bug 🐞 Something isn't working label Nov 15, 2024
@Psychlist1972 Psychlist1972 added the area-usb-driver 💻 Related to the USB MIDI 2.0 driver label Nov 15, 2024
@MusicMaker
Copy link

MusicMaker commented Nov 24, 2024

(Replaced the previous comment because realized the device is legacy MIDI)
This command is actually not valid UMP . Its a 1 byte SYSEX7 START (status 1)instead of COMPLETE ( status 0)
Assume the device is in MIDI legacy mode and in loop-back mode.
Can reproduce with a custom hardware device in legacy mode that internally loopbacks the incoming data to the host via USB (no DIN)
In my case not only the service but the whole Win 11 crashed and needed to power off the system. (System was used via RDP)

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
Projects
Status: No status
Development

No branches or pull requests

4 participants