~/Projects/indi $ git log -1
commit 04a1d39c566f4d84def71176191feb635ebf1afd
Author: Jasem Mutlaq <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Date: Sun Apr 8 21:36:55 2018 +0300
Fix armhf build on Launchpad
Please Log in or Create an account to join the conversation.
Ok, this is really old ...Magnus_e wrote:
gcc version 4.9.2
Please Log in or Create an account to join the conversation.
valgrind --trace-children=yes indiserver -v indi_simulator_telescope indi_simulator_ccd indi_wiringpi_gpio
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
...
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
Please Log in or Create an account to join the conversation.
if (InputDigitalLP[i]->lp != NULL)
defineLight(InputDigitalLP[i]);
if (OutputDigitalSP[i]->sp != NULL)
defineSwitch(OutputDigitalSP[i]);
WiringPiGPIO::WiringPiGPIO()
{
for (int i = 0; i < NUMBER_OF_PINS; i++)
{
InputDigitalLP[i] = new ILightVectorProperty;
OutputDigitalSP[i] = new ISwitchVectorProperty;
// added
InputDigitalLP[i]->lp = NULL;
OutputDigitalSP[i]->sp = NULL;
//
}
OutputPWMNP = new INumberVectorProperty;
setVersion(0,1);
setDriverInterface(AUX_INTERFACE);
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
must have missed that in my fork.was removed on August 17th 2017
Please Log in or Create an account to join the conversation.