I have a c++ program running on login on the raspberry pi, this program checks data for multiple devices attached on to it (Arduino Mega 2560 + Modbus RS485), gets inputted data from them and sends that to mysql database.
The program itself runs fine, but after (what i suppose is causing the problem) rebooting several times the raspberry completely blocks after giving me some weird info (see pic) (the program reboots the raspberry pi when it cant reach the mysql db or it cant connect to any of the devices)
I can't be sure of what the problem is since my program will easily run +12hourse before bloking the rPi so i can't really monitor my screen for errors or anything
Or a close - up
Download -> Kern.log & syslog.log files