We are trying to debug some issues in our PG16 environment, they manifest themselves as a crash of postgres and they all appear to be related to PLR. Often the crash is so abrupt that we get no logging from it at all, sometimes we see log
{"level":"info","ts":"2024-01-11T23:30:05Z","logger":"postgres","msg":"Fatal error: unable to initialize the JIT","source":"/controller/log/postgres","logging_pod":"prod16-5"}
Sometimes we see a log with *** stack smashing detected ***
This appears to be from PLR/R. Other projects issues have mentioned perhaps it can't find libR.so. I am unsure. Can you point me in any direction to try and figure out what is causing this?
As an aside we have a problem in which we call pg.spi.exec and if the data returned is over a certain size postgres crashes.
Any sort of way to diagnose this would be fantastic.
Thanks
We are trying to debug some issues in our PG16 environment, they manifest themselves as a crash of postgres and they all appear to be related to PLR. Often the crash is so abrupt that we get no logging from it at all, sometimes we see log
Sometimes we see a log with
*** stack smashing detected ***This appears to be from PLR/R. Other projects issues have mentioned perhaps it can't find libR.so. I am unsure. Can you point me in any direction to try and figure out what is causing this?
As an aside we have a problem in which we call
pg.spi.execand if the data returned is over a certain size postgres crashes.Any sort of way to diagnose this would be fantastic.
Thanks