-
Notifications
You must be signed in to change notification settings - Fork 32
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
segmentation fault in docker containers #38
Comments
Unfortunately this bug report is not really helpful as it is currently written. Can you provide the following information:
|
here is the gdb backtrace
i ended up "solving" the issue by disabling |
This sounds like diesel-rs/diesel#813 then. If I remember correctly the issue there was that libpq did not correctly handle concurrent calls to |
running Ubuntu 18.04.6 LTS in a docker container it looks like upgrading the
proc-macro2
from1.0.30
to1.0.32
andsyn
from1.0.80
to1.0.81
(fromdiesel_derives
) produces a segmentation fault when callingPQconnectdb
i tried reinstalling
postgresql-client-10
since everything seems fine outside of docker and it would've been a dependency issue, but i'm not as familiar with rust's ffi's or debugging seg faults.can provide more context/info if you need it, but it should be reproducible. i'm running
rustc 1.55.0-nightly (a85f584ae 2021-06-16)
and the structure of the connection string ispostgresql://{username}:{password}@{hostname}:{port}/{database_name}
The text was updated successfully, but these errors were encountered: