You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If an Xbox controller is connected to a macOS computer (in my case it's wireless through bluetooth) the simulator will crash when run. Disconnecting the controller allows the simulator to run normally.
Console output:
> Task :simulateJavaRelease FAILED
HAL Extensions: Attempting to load: libhalsim_gui
Simulator GUI Initializing.
Simulator GUI Initialized!
HAL Extensions: Successfully loaded extension
********** Robot program starting **********
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000197137458, pid=33322, tid=259
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.12+7 (17.0.12+7) (build 17.0.12+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (17.0.12+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C [CoreFoundation+0x14f458] CF_IS_OBJC+0x18
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/mjansen/Dev/RobotCode2025/hs_err_pid33322.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
7 actionable tasks: 6 executed, 1 up-to-date
NT: Listening on NT3 port 1735, NT4 port 5810
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':simulateJavaRelease'.
> Process 'command '/Users/mjansen/wpilib/2025/jdk/bin/java'' finished with non-zero exit value 134
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s
4:09:32 PM: Execution finished 'simulateJava'.
To Reproduce
Steps to reproduce the behavior:
Connect Xbox controller to macOS system
Launch robot code simulator
Expected behavior
Simulator should run when controllers are connected, and allow them to be mapped/used.
Desktop (please complete the following information):
I'll work on some more detailed testing when I have time (which might not be for a while), but I was able to run simulation on the :devRobot project in allwpilib with a Logitech controller connected.
Describe the bug
If an Xbox controller is connected to a macOS computer (in my case it's wireless through bluetooth) the simulator will crash when run. Disconnecting the controller allows the simulator to run normally.
Console output:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Simulator should run when controllers are connected, and allow them to be mapped/used.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: