New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault upon startup with 2.0.1-pg12 and 1.7.5-pg12 using Docker on ARM #2968
Comments
A stacktrace of the segfault would be amazing. Did you try the 2.0.2 version published today? Your log shows you have a data volume mounted do you also get the segfault without a data volume? |
Since our images are based on the postgres alpine images could you try postgres:12.6-alpine as well. |
What is the best way to get the stacktrace?
In addition, |
OK this seems to be an upstream problem. Instructions for getting postgres stacktrace: https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD |
Agreed. Will see if I can get it fixed upstream. Thanks for the assistance |
There is already a bugreport about it on the postgres bugs mailing list: https://www.postgresql.org/message-id/CABnSV8Zswy5vi1Ns_1FX6fKVzJcxPWVw7Mtuv8EXZW13VQJVSg@mail.gmail.com |
For anyone else in the future who runs into the same issue, I believe I have found the issue: This issue stems from the postgres image upgrading to Alpine Linux 3.13. The key change here is time64 compatibility. Critically:
Being on Debian 10, Alpine issue thread: alpinelinux/docker-alpine#135 @svenklemm I believe this is enough to close the issue? |
Yes feel free to close the issue. Thank you for the investigation. |
Relevant system information:
Describe the bug
timescaledb fails to start, citing a segfault. This behavior was observed on a Toradex IMX6 ARM device, no testing was done on other ARM devices. There was no failure when tested on a Debian 10 x86 machine
To Reproduce
docker-compose up
docker logs container-name
might be required as the docker-compose cli will exit after the first crashExpected behavior
timescaledb should startup without issues
Actual behavior
timescaledb fails to start
Screenshots
Logfile from failed startup with 2.0.1. Note the failure to startup and failure after restarting, citing a segfault:
Additional context
The incorrect date in the logs is noteworthy, on successful starts with previous versions, the date is correct
This bug appears to have been introduced between
2.0.0
and2.0.1
. Below is my testing of successes/fails within docker. All volumes, images, and containers were deleted between testsSystem information:
Unsure if this appears on other ARM systems, have not had the opportunity to check
Is there a way to provide a more verbose/informative log? I briefly searched but could not find an easy way to enable this in docker
2.0.1
and1.7.5
were the most recent timescaledb releases. I wonder if there is a shared patch between the two that is causing this, or the switch to 12.6The text was updated successfully, but these errors were encountered: