-
Notifications
You must be signed in to change notification settings - Fork 1
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
Open jpeg picture leads to complete labwc desktop crash and freeze #328
Comments
a) Just out of curiosity, why do you need such a huge (13980x4645) solid-red picture? 😉
e) GIMP is also able to open this file okay, so I saved it out as a |
I'd suggest raising this at https://github.com/labwc/labwc/issues |
I'm going to hazard a guess that ImageMagick tries to load the image directly into a texture, and V3D has a maximum texture size that it supports which I think is lower than that (8k x 8k comes to mind). I would have hoped that the import failed, and something threw an error, but being blocked in |
Could you stop labwc with Agree with Dave that it's probably imagemagick submitting a silly surface which 3d then chokes on. labwc will probably say this is a wlroots issue, and I suspect wlroots will say that capping texture size is a hardware-specific hack. But I'll ask them anyway. Edit: The file opens fine in imagemagick on my laptop (intel GPU, Debian, GNOME) which suggests the issue is probably videocore-specific |
I don't need exactly this solid-red picture, I catch this issue when tried to open a usual hi-res photo taken with smartphone. Then I tried to reproduce it with empty image and get the same issue.
yes, it should not lead to a total lock up. And I also catch similar issues with labwc lock up when worked with Audacity, but it's hard to reproduce it with stable steps on Audacity, probably it is the same issue. So, it looks that it may happens with different apps.
it takes for about 2-3 minutes for reboot, something is going wrong... |
@cillian64 Logs from both a Pi4 and a Pi5. In each case I was running EDIT: And (unsurprisingly) I also get the same lockup behaviour if I try opening the huge image in ImageMagick under wayfire. |
Here is test picture in jpeg format created with Krita. This is just an empty image, but large.
Attempt to open it with ImageMagic leads to a complete labwc crash and freeze.
Just save the file, right click and select open in ImageMagick.
First, it leads to a short freezes, CPU load indicator on pi-panel going to 100% and then shows "nan" value, and then mouse stopped to respond, display stops to update and no way to exit from this zombie mode. The only way to fix it is just to reboot the system.
I can connect with ssh and it shows that the system works, CPU load is about 6%, free memory is available. And there is no errors in the system log.
So, I'm confused what is going on. Could you please fix it?
The text was updated successfully, but these errors were encountered: