-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
GUI segmentation fault #416
Comments
Without logs I don't see what thing could crash. I didn't build app from docker file, but I compiled it manually on alpine image and looks that it run fine with xvfb(both release and debug build) https://github.com/jlesage/docker-czkawka/blob/09c0246ea35a43db4ad6774a7b98b1df276ba90b/Dockerfile#L8 - I tested it on 3.14.1 Here glade files are moved to different folders |
How can we get logs ?
Which version of Alpine did you use to compile manually ? Also, are you saying that you tested the manually compiled binary with the Docker image ? |
I used 3.14.1(now it is available 3.14.2)
and later I just installed all dependencies just like here(commands were a little different) - https://github.com/jlesage/docker-czkawka/blob/09c0246ea35a43db4ad6774a7b98b1df276ba90b/Dockerfile#L32-L39 and after compiling I just run czkawka with command |
I'm still getting a segfault with Alpine 3.14. Here is what I did. Use an Alpine 3.14 Docker container:
Run the following commands to build czkawka:
Finally, run the UI:
And I see the crash:
Since you don't see the crash on your side, what are you doing differently ? |
The crash seems to happen when initializing GTK. I tried to run examples from https://github.com/gtk-rs/gtk-rs-core and I also got crashes. So I opened (as you have seen) the following issue: gtk-rs/gtk-rs-core#387. |
After more testing, I see no crash when using Rust from the Alpine repository. So it seems they fixed Rust issues on their side. Note that Czkawka requires the latest Rust stable version (1.56.1) to compile, which is available only in the |
Minimal supported Rust version at this moment is 1.53.0 - it is even tested in CI https://github.com/qarmin/czkawka/runs/4298019886?check_suite_focus=true |
Ok thanks for the precision. I tried to compile with Rust |
I'm closing this issue, since we now better understand from where the crash is coming from. |
To add another detail: using the official Rust version and compiling with |
With the latest 3.2.0 version, the GUI is crashing with segmentation fault:
I'm wondering if you have any hint/idea on how to debug this crash.
Thanks!
The text was updated successfully, but these errors were encountered: