-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Crash after image processing #529
Comments
Hello! LazPaint doesn’t use Mono so I don’t understand how that would be the issue. Can you give more details on the error you’re getting and the exact steps to reproduce? If you can, you can debug it with Lazarus (I can explain how to) to get more detailed information or I will do that. |
On start from terminal: `Gtk-Message: 08:14:59.115: Failed to load module "xapp-gtk3-module" (lazpaint:450873): dbind-WARNING **: 08:14:59.120: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0.0: Permission denied
Hope that helps. |
Hmmm that looks like an issue between the program and the widget set. I will try on a VM to fix it |
Similar behaviour here on Debian Sid (up to date). |
One way would be to compile it yourself. Here's how. Install Lazarus package.
Then open LazPaint project (lazpaint.lpi) Otherwise I will try to provide debug binaries |
I've tried on a virtual machine with xUbuntu 22.04.1 and resampled an image without issue. Can you provide a sample image that I can try to resample and steps to reproduce the bug? |
I've just downloaded the debug binaries (sorry, I was unable to do it before), and tried but I can't reproduce the bug.
With Debian Sid binaries, it crash, with your debug binaries, no crash (same image). This can be related : when debian binary opens, the window below is shown. |
Breaking news ! it only happened on the Lazpaint Qt5 version. Sorry, I didn't even knows that there is two versions. The GTK2 version works fine for me, no crash, no exception at startup. I suggest to put something about the two existing versions in the About window. |
Thanks for the detailed answer. I understand we are not always available. Xfce is kind of related to Gtk so it makes sense it would be more compatible. Though there may be some way to avoid the crash with Qt5. Ok I was able to reproduce the two bugs with Qt5 version. It it related to timer events. |
I found a way to avoid the bugs by removing the yellow popup about action progress. Here is a fixed version for Qt5 : |
Tested, everything ok
Thanks for the good job Johann ! |
You're very welcome Thanks for helping me finding the bugs ! |
Lazpaint: lazpaint 7.2.2_linux64.deb
OS: xUbuntu 22.04.1 (fresh install)
Mono: version 6.12.0.182 (tarball Tue Jun 14 22:35:00 UTC 2022) via official ppa
Lazpaint opens OK. I can open an image file and change the canvas size but after resampling the program crashes completely.
Opening app via terminal gives a error message that suggests it's a mono failure (hence the updated version) and sometimes I get a error file (json) too.
Same behaviour with standard version of mono and either 7.22 or 7.1.6 too.
What am I missing?
The text was updated successfully, but these errors were encountered: