Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upsegmentation fault on "diesel setup" #700
Comments
This comment has been minimized.
|
Can you provide additional information, such as the version of Diesel CLI you were using, the version of Rust you were using, and whether |
This comment has been minimized.
alexkamp
commented
Feb 16, 2017
|
I called diesel in a directory which contains a .env file with DATABASE_URL=postgres://postgres:***@postgres/reminder (of course the pwd is not ***).
diesel_cli v0.10.1 I just noticed that in fact no diesel-command works. Even diesel -v segfaults. That made me wonder whether there is something fishy about my setup, however, compiling a hello-world with rustc works as expected. Anything more I can try? |
This comment has been minimized.
|
If you can give a list of steps I could follow to reproduce that would be helpful. I agree that it's probably something fishy with your setup. Maybe try compiling a program that links diesel without using the CLI? It could also be the loading of one of the c libraries. Do you still see a segfault if you do |
This comment has been minimized.
alexkamp
commented
Feb 16, 2017
|
First of all, thanks for your help! The behaviour does not change for I wrote a docker file and a shell script to reproduce the problem. The script starts postgreSQL in a Docker container, then it builds a container with rustup and diesel in it, links it to the postgreSQL instance and opens a root shell into the container. On my machine, Please mind: |
killercup
added
bug
cli
labels
Feb 17, 2017
This comment has been minimized.
|
I'm also having segfaults for Steps to reproduce:
When debugging the coredump:
Does that help? |
alexkamp commentedFeb 13, 2017
hey,
When I run "diesel setup" in the docker container https://hub.docker.com/r/liuchong/rustup/, I get a segmentation fault. A (zipped) core dump is attached.
core.zip
Best,
Alex