intrepidcs / icsscand

User-mode SocketCAN daemon for Intrepid devices
BSD 2-Clause "Simplified" License
10 stars 6 forks source link

Daemon stops working after a while #9

Open AchilleGR opened 2 years ago

AchilleGR commented 2 years ago

After starting the daemon, it runs for a while, then it aborts.

Copyright Intrepid Control Systems, Inc. 2019

Daemon v2.1.0
libicsneo v0.3.0 HEAD @
Driver v2.1.1

Waiting for connections...
Creating network interface hscan_V11945
Created network interface hscan_V11945
ValueCAN 4-1 V11945 connected
terminate called after throwing an instance of 'std::length_error'
  what():  cannot create std::vector larger than max_size()
Aborted

Ubuntu 21.10 Linux xps 5.13.0-30-generic #33-Ubuntu SMP Fri Feb 4 17:03:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

hollinsky-intrepid commented 2 years ago

How long does this take? Does it happen immediately after connecting the device?

AchilleGR commented 2 years ago

30 to 90 seconds after starting the daemon. Doesn't matter if the interface is connected to the usb or not, or if a can device is connected or not.