Open PatrickJScruggs opened 2 years ago
I went poking through the code and saw that there's a call to pthread_attr_setstacksize() in both client/pps-sntp.cpp and client/pps-serial.cpp.
To try and figure out which one was throwing there error, I enabled time-of-day to be set by GPS NMEA sentences over serial in /etc/pps-client.conf, and that fixed the problem. So, I'm assuming the issue has something to do with client/pps-sntp.cpp.
So, that solves the problem for me, but I'll leave this issue open for now since I still don't know why I can't run the client with it getting the time-of-day from NIST.
I have fixed this by increasing the minimum pthread stack size, it was too low for IA-64 architectures. See https://github.com/puchol/PPS-Client/commit/52341ab5e1b9aba0b6026a9d320caef2ccd3ca08
This is for a Raspi3 model B, running the latest 64-bit version of Raspbian lite. PPS-Client had been working with the same setup, but stopped working after I ran an apt-get update/upgrade. After spending hours messing with different configuration settings, and reinstalling PPS-Client multiple times, I decided to try starting over with a fresh install, but the problem is still occurring.
contents of /var/log/pps-client.log
... and so on.