pauledd replied to the topic 'help on indi wiringPi gpio crash' in the forum. 6 years ago

Ok, thanks Magnus_e.
In the meantime just out of curiosity and for personal pleasure :huh: I am playing with valgrind and it found some issues:

#valgrind --leak-check=full --show-leak-kinds=all --trace-children=yes --track-origins=yes indiserver indi_wiringpi_gpio

...
2018-04-10T07:36:51: Driver indi_wiringpi_gpio: ==4988== Conditional jump or move depends on uninitialised value(s)

2018-04-10T07:36:51: Driver indi_wiringpi_gpio: ==4988==  Uninitialised value was created by a heap allocation

2018-04-10T07:36:53: Driver indi_wiringpi_gpio: ==4988== Invalid read of size 8
full log: pastebin.com/X4Mruu6F

PS. Line Numbers refer to my cleaned code of indi_wiringpi_gpio (github.com/pauledd/indi_wiringpi_gpio_clean)

Read More...