Mixxx crashes after reloading controller script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
New
|
Undecided
|
Unassigned |
Bug Description
Hello.
I've been working on a Pioneer DDJ-SX3 controller script, based on a different similar script.
I'm running Mixxx official release v2.3.0.8292 64bit on Windows 10 v10.0.19043 Build 19043
When I save my changes to the script, Mixxx reloads the script.
When reloading, sometimes things will go well, and sometimes they don't. It appears the Pioneer DDJ-SX3 doesn't receive its keep-alive message on-time, and exits Serato mode. When it does this, I hear the Windows 10 USB device disconnect notification sound. Mixxx has crashed by this point.
I am not using the DDJ-SX3 as a soundcard; all my Mixxx audio settings route through my Focusrite Saffire Pro 40 for now.
My repository for the script is located here:
https:/
My call trace is attached to this report.
description: | updated |
description: | updated |
description: | updated |
tags: |
added: controllers removed: controller reload script |
Interesting... it looks like PortMidi is trying to dereference a pointer to an address which is no longer valid. I suppose the DDJ-SX3 (or the driver?) is resetting the USB connection or something. Unfortunately PortMidi does not support hotplug although we have been talking about implementing hotplug support in Mixxx for a long time.
I just forked the unmaintained PortMidi library to our GitHub organization and rewrote the build system yesterday: https:/ /github. com/mixxxdj/ portmidi
Feel free to dig in and get to the root of this.