NUbots / robocup

The NUbot's RoboCup Code
GNU General Public License v3.0
34 stars 17 forks source link

SensorReadManager Segfault #67

Closed BrendanAnnable closed 7 years ago

BrendanAnnable commented 11 years ago

darwin@darwin4:~$ sudo ./darwinNUbotStart [sudo] password for darwin: ConfigStorageManager::loadConfig(...): ConfigurationFiles/defaultConfig.json: cannot open file ConfigManager::ConfigManager(std::string): Could not load configuration 'defaultConfig'. RLAgent::loadAgent - RLAgent loaded successfully.HeadBehaviour::HeadBehaviour():Mrlagent() - agent loaded successfully. x_min_right_forward = 5 x_max_right_forward = 11 y_min_right_forward = -3.2 y_max_right_forward = -9.5 x_min_left_forward = 5 x_max_left_forward = 11 y_min_left_forward = 3.2 y_max_left_forward = 9.5 x_min_right_side = 5 x_max_right_side = 11 y_min_right_side = -3.2 y_max_right_side = -6.5 x_min_left_side = 5 x_max_left_side = 11 y_min_left_side = 3.2 y_max_left_side = 6.5 Reads from all sensors are succeeding! CheckForCM730ResetState sensor: 2, errors: 0 Robot::SensorReadDescriptor* Robot::SensorReadManager::GetDescriptorById(int): Sensor 111 not found. TERMINATION HANDLER: SIGSEGV Home directory /home/darwin not ours. Playing WAVE '/home/darwin/nubot/Sounds/seg_fault.wav' : Signed 16 bit Little Endian, Rate 11025 Hz, Stereo ./darwinNUbotStart: line 3: 1095 Segmentation fault ./nubotbin darwin@darwin4:~$ tail nubot/error.log ./nubotbin(_ZN5NUbot18terminationHandlerEi+0xbf) [0x80d23ef] [0xb777b400] ./nubotbin(ZN5Robot17SensorReadManager24FilterLimbSensorFailuresERSt6vectorIiSaIiEES4+0x3a) [0x82c9d7a] ./nubotbin(_ZN5Robot17SensorReadManager31GetFilteredLikelySensorFailuresEPSt6vectorIiSaIiEE+0xfd) [0x82c9ebd] ./nubotbin(_ZN13DarwinSensors30copyFromHardwareCommunicationsEv+0x113) [0x82b80a3] ./nubotbin(_ZN9NUSensors6updateEv+0x2f) [0x80d6caf] ./nubotbin(_ZN15SenseMoveThread3runEv+0x2d) [0x80f212d] ./nubotbin(_ZN6Thread9runThreadEPv+0xf) [0x814b63f] /lib/i386-linux-gnu/libpthread.so.0(+0x6d4c) [0xb7633d4c] /lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xb7439dde]