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

Crashes after running for a few seconds #70

Open
Silicasandwhich opened this issue Sep 21, 2022 · 5 comments
Open

Crashes after running for a few seconds #70

Silicasandwhich opened this issue Sep 21, 2022 · 5 comments

Comments

@Silicasandwhich
Copy link

Whenever I open driver station, it crashes a few moments later. Running in the terminal gives the following output (I changed team number and alliance position so I could tell when the program stops responding):

Log:

00:00.2        DEBUG         Scale factor set to: 1
00:00.4        DEBUG         DS Client: Using new FMS address "0.0.0.0"
00:00.4        DEBUG         DS Client: Using new radio address "0.0.0.0"
00:00.4        DEBUG         DS Client: Using new robot address "0.0.0.0"
00:00.4        DEBUG         DS Client: Using new FMS address ""
00:00.4        DEBUG         DS Client: Using new radio address ""
00:00.4        DEBUG         DS Client: Using new robot address ""
00:00.4        DEBUG         DS Client: Switched to FRC 2020 Protocol
00:00.4        WARNING       qrc:/qml/Widgets/Scrollbar.qml:130:5: QML Rectangle: Binding loop detected for property "height"
00:00.4        DEBUG         DS Client: Resetting joysticks...
00:00.4        DEBUG         DS Client: Registered new joystick with 6 axes, 1 hats and 10 buttons
00:00.4        DEBUG         DS Client: Using new FMS address ""
00:00.4        DEBUG         DS Client: Using new radio address ""
00:00.4        DEBUG         DS Client: Using new robot address ""
00:00.4        DEBUG         DS Client: Resetting joysticks...
00:00.4        DEBUG         DS Client: Registered new joystick with 6 axes, 1 hats and 10 buttons
00:00.5        DEBUG         DS Client: Setting position to 0
00:00.5        DEBUG         DS Client: Setting alliance to 0
00:00.5        DEBUG         Initialized in  513 milliseconds
00:01.3        DEBUG         DS Events: FMS communications set to false
00:01.3        DEBUG         DS Events: Robot code status set to false
00:01.3        DEBUG         DS Events: Robot enabled state set to false
00:01.3        DEBUG         DS Events: ESTOP set to false
00:01.3        DEBUG         DS Events: Robot communications set to false
00:03.4        DEBUG         DS Client: Setting position to 0
00:03.4        DEBUG         DS Client: Setting alliance to 1
00:03.4        DEBUG         DS Events: Team alliance set to 1
00:03.4        DEBUG         DS Events: Team position set to 0
00:04.8        DEBUG         DS Client: Setting position to 2
00:04.8        DEBUG         DS Client: Setting alliance to 0
00:04.8        DEBUG         DS Events: Team alliance set to 0
00:04.8        DEBUG         DS Events: Team position set to 2
00:04.8        DEBUG         DS Events: Team alliance set to 0
00:04.8        DEBUG         DS Events: Team position set to 2
00:05.9        DEBUG         DS Client: Setting position to 1
00:05.9        DEBUG         DS Client: Setting alliance to 1
00:06.0        DEBUG         DS Events: Team alliance set to 1
00:06.0        DEBUG         DS Events: Team position set to 1
00:06.0        DEBUG         DS Events: Team alliance set to 1
00:06.0        DEBUG         DS Events: Team position set to 1
00:08.3        DEBUG         DS Client: Changing team number to 1
00:08.3        DEBUG         DS Events: Team number set to 1
00:09.9        DEBUG         DS Client: Changing team number to 3
00:09.9        DEBUG         DS Events: Team number set to 3
00:10.2        DEBUG         DS Client: Changing team number to 34
00:10.2        DEBUG         DS Events: Team number set to 34
00:10.4        DEBUG         DS Client: Changing team number to 348
00:10.4        DEBUG         DS Events: Team number set to 348
00:10.5        DEBUG         DS Client: Changing team number to 3487
00:10.5        DEBUG         DS Events: Team number set to 3487
*** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated
*** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated
*** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated
*** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated
[1]    10504 IOT instruction (core dumped)  qdriverstation

Here is my neofetch in case any of the information would help.

neofetch

Honestly, in any other scenario I'd try and find a workaround myself, but this is too deep into c++ land for me. I’m struggling to understand what FD_SETSIZE even is lol

@Silicasandwhich Silicasandwhich changed the title Crashes after changing a few values in driver station Crashes after running for a few seconds Sep 21, 2022
@onlycs
Copy link

onlycs commented Nov 15, 2022

same issue here, also running Arch + Gnome... maybe this is an Arch/Gnome-specific issue?

@Silicasandwhich
Copy link
Author

it's not arch exclusive, Ubuntu also has the problem. might be a gnome problem, I might test on kde.

@AlokSwaminathan
Copy link

Same issue on Fedora KDE

@Silicasandwhich
Copy link
Author

so i kind of found a workaround for this problem by manually compiling the app natively for my system instead of using the appimage. however, it's kind of moot because i think FRC has changed the protocol for handling inputs, and i can only enable and disable my 2023 robot from QDriverStation, it can't send the robot joystick inputs. that part is way, way beyond my level of expertise.

@NovaAndrom3da
Copy link

Same issue on Arch, not GNOME, with no robot connected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants