Battle.net crashes when a CircuitPython device is connected
Devices and Versions
Some examples from devices on my desk:
Adafruit CircuitPython 6.2.0 on 2021-04-05; Adafruit Trellis M4 Express with samd51g19
Adafruit CircuitPython 6.1.0 on 2021-01-21; Adafruit Feather M4 Express with samd51j19
Adafruit CircuitPython 5.0.0-alpha.0-6-g31e459169-dirty on 2019-07-24; Adafruit CircuitPlayground Express with samd21g18
Behavior
The presence of a CircuitPython board causes Battle.net to crash, during IOHID related code.
Plug a CircuitPython board and start Battle.net. Battle.net will crash.
Start Battle.net without any CircuitPython boards plugged in. Plug one in, and Battle.net will crash.
Double-press the reset button to enter the boot loader. Start Battle.net. It does not crash.
Exit the bootloader with a reset. Battle.net crashes.
Description
There appears to be something special about the HID device behaviour while CircuitPython is running that causes Battle.net to crash at startup.
This is not a new bug. It was first observed in Sept or Oct 2019.
Additional Info
Here is a sample crash dump from Battle.net (~Library/Application Support/Battle.net/Errors) always contains an attempt to access memory at 0x0
Battle.net crashes when a CircuitPython device is connected
Devices and Versions
Some examples from devices on my desk:
Adafruit CircuitPython 6.2.0 on 2021-04-05; Adafruit Trellis M4 Express with samd51g19
Adafruit CircuitPython 6.1.0 on 2021-01-21; Adafruit Feather M4 Express with samd51j19
Adafruit CircuitPython 5.0.0-alpha.0-6-g31e459169-dirty on 2019-07-24; Adafruit CircuitPlayground Express with samd21g18
Behavior
The presence of a CircuitPython board causes Battle.net to crash, during IOHID related code.
Plug a CircuitPython board and start Battle.net. Battle.net will crash. Start Battle.net without any CircuitPython boards plugged in. Plug one in, and Battle.net will crash.
Double-press the reset button to enter the boot loader. Start Battle.net. It does not crash. Exit the bootloader with a reset. Battle.net crashes.
Description
There appears to be something special about the HID device behaviour while CircuitPython is running that causes Battle.net to crash at startup.
This is not a new bug. It was first observed in Sept or Oct 2019.
Additional Info
Here is a sample crash dump from Battle.net (~Library/Application Support/Battle.net/Errors) always contains an attempt to access memory at 0x0