Segfaults
firasuke opened this issue · comments
I've downloaded the latest release of dlm, and was greeted with segfaults regardless of what arguments I pass to it, or what values I specify.
Sorry to hear dlm is crashing for you.
Could you please provide more information about the error, I would need a backtrace to investigate the issue.
Thanks for your reply!
- I downloaded the linux-musl version.
- I created a file called
urls.txt
that has 5 different urls, one url per line - I tried running
dlm
with the following flags:./dlm -i urls.txt -M 3 -o /home/$USER
- I got the following output:
Segmentation fault (core dumped)
Following your reproduction steps, I get a core dumped
error as well IF the output path contains a $
.
Are you able to confirm that it works with a regular path without the $USER
environment variable?
I actually had my real user name instead of $USER
, and in both cases I get the segmentation fault.
It looks like the Linux binary does not work at all for me either, it was being shadowed by a local build that's why I did not see the problem right away 😭
While I investigate the issue you could workaround the issue by building the binary locally by running the following command in the cloned repository cargo install --path=. -f
which will place the binary into /.cargo/bin
.
Sorry for the inconvenience and thank you for spotting the issue!
@vikigenius if you are interested in additional contribution you could have a look at this issue.
No pressure 😉
Have not made progress here.
I will try to setup a different Github action to release x86_64-unknown-linux-gnu
binaries.
I just tried a new GA to build the Linux binaries and it appears to fix the issue for me!
Please give it a try https://github.com/agourlay/dlm/releases/tag/v0.2.2
@agourlay Yup it's working fine now, thanks for your efforts!
Great to hear 👍
Closing the issue!