Skip to content

Crashes after running for a few seconds #70

Description

@silica-dev

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions