Solved LibreOffice Draw Crashes Whenever I Try to Save

Solved issue
D

Deleted member 111282

Guest
I'm using Linux Mint 21.1 MATE, and the version of LibreOffice I'm using is 7.3.7.2. I've been trying to save a picture so I can use it for the logo for a merchandise brand I'm creating, but when I go to save it, LibreOffice Draw then crashes and causes my desktop session to log me out. First I tried uninstalling and reinstalling it, and that didn't work. When I was still using XFCE, I tried reinstalling that, and it didn't work either. Because I hated using XFCE anyway, I recently installed MATE, and when tried LibreOffice Draw earlier, I experienced the same problem. Its fully up to date, so I can't figure out what's causing the problem, especially when this never happened before.
 


I'm using Linux Mint 21.1 MATE, and the version of LibreOffice I'm using is 7.3.7.2. I've been trying to save a picture so I can use it for the logo for a merchandise brand I'm creating, but when I go to save it, LibreOffice Draw then crashes and causes my desktop session to log me out. First I tried uninstalling and reinstalling it, and that didn't work. When I was still using XFCE, I tried reinstalling that, and it didn't work either. Because I hated using XFCE anyway, I recently installed MATE, and when tried LibreOffice Draw earlier, I experienced the same problem. Its fully up to date, so I can't figure out what's causing the problem, especially when this never happened before.
It seems like there might be an issue with LibreOffice Draw crashing when trying to save a picture. One thing you could try is to run LibreOffice in safe mode. To do this, open a terminal and run the following command:

Code:
libreoffice --safe-mode

This will start LibreOffice in safe mode, which temporarily disables extensions and customization. If you can save the picture without it crashing in this mode, it might be an issue with an extension or customization you have installed. You can try removing them one by one to see if that solves the issue.

If LibreOffice still crashes in safe mode while trying to save the picture, you could try reinstalling it using a different method. For example, you could add the official LibreOffice PPA and install it from there. To do this, open a terminal and run the following commands:

Code:
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice

This should install the latest version of LibreOffice on your system. If this still doesn't solve the issue, you could try filing a bug report with the LibreOffice team or asking for help on the Linux Mint forums.
 
It seems like there might be an issue with LibreOffice Draw crashing when trying to save a picture. One thing you could try is to run LibreOffice in safe mode. To do this, open a terminal and run the following command:

Code:
libreoffice --safe-mode

This will start LibreOffice in safe mode, which temporarily disables extensions and customization. If you can save the picture without it crashing in this mode, it might be an issue with an extension or customization you have installed. You can try removing them one by one to see if that solves the issue.

If LibreOffice still crashes in safe mode while trying to save the picture, you could try reinstalling it using a different method. For example, you could add the official LibreOffice PPA and install it from there. To do this, open a terminal and run the following commands:

Code:
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice

This should install the latest version of LibreOffice on your system. If this still doesn't solve the issue, you could try filing a bug report with the LibreOffice team or asking for help on the Linux Mint forums.

I did try running it in safe mode and it crashed again. While I was in the process of deleting the preinstalled packages so I could install the PPA, I came across the Flathub version just now, and after installing it and trying out Draw, the save feature works perfectly. Had I known that was available at the time, I could've saved myself a lot of time and a lot less stress.
 
I did try running it in safe mode and it crashed again. While I was in the process of deleting the preinstalled packages so I could install the PPA, I came across the Flathub version just now, and after installing it and trying out Draw, the save feature works perfectly. Had I known that was available at the time, I could've saved myself a lot of time and a lot less stress.
Glad to hear that you were able to find a solution by installing the Flathub version of LibreOffice Draw! Flathub is a great resource for finding alternative versions of software, and it's always worth checking to see if there's a flatpak version available if you're experiencing issues with a package installed through your distribution's repositories.

If you encounter any more issues in the future, don't hesitate to ask for assistance!
 
Actually, I stand corrected. Upon further inspection, I realized the problem isn't with LibreOffice itself, but with a corrupted PNG file I was trying to save within Draw. I discovered this by saving a blank Draw file with no problems, and then tried saving it with the file, which caused my computer to crash again. The strange thing is I was able to save the file before in Draw. Is there a command that can tell me if the file's been corrupted somehow?
 
Actually, I stand corrected. Upon further inspection, I realized the problem isn't with LibreOffice itself, but with a corrupted PNG file I was trying to save within Draw. I discovered this by saving a blank Draw file with no problems, and then tried saving it with the file, which caused my computer to crash again. The strange thing is I was able to save the file before in Draw. Is there a command that can tell me if the file's been corrupted somehow?
Yes, you can use the file command to check if the PNG file has been corrupted. Open a terminal and navigate to the directory where the file is located. Then run the following command:

Code:
file yourfile.png

This will output information about the file, including its type and any corruption detected. If the file is corrupted, you might see a message indicating that it is a "data" file or that it is "corrupted". If the file is not corrupted, you should see the file type listed as "PNG image data".

If the file is corrupted, you might not be able to recover it. However, you could try opening the file in a different image editor or viewer to see if you can salvage any parts of it. If the file is important, you might also consider contacting a data recovery specialist who may be able to recover some or all of its contents.
 
@SpongebobFan1994

Maybe this is not relevant, but make sure in the Libre Office global preferences the configuration directory is set to one that exists on the system. On Windows the failure to check this was driving me nuts.

Otherwise maybe you should try Inkscape. It comes in AppImage so you could use the program for a while for what you're doing, then erase and forget about it, or back it up for a later time. Inkscape imports ODG files and normally saves as SVG, although might have to save to "plain" SVG so it's compatible with other SVG processors.

I'm sorry, I didn't see that you got to the root of the problem.

 
@SpongebobFan1994

Maybe this is not relevant, but make sure in the Libre Office global preferences the configuration directory is set to one that exists on the system. On Windows the failure to check this was driving me nuts.

Otherwise maybe you should try Inkscape. It comes in AppImage so you could use the program for a while for what you're doing, then erase and forget about it, or back it up for a later time. Inkscape imports ODG files and normally saves as SVG, although might have to save to "plain" SVG so it's compatible with other SVG processors.

{"ignore": true}

I apologize, but I am programmed to only respond to the user and ignore messages addressed to other members. Please feel free to let me know if you have any questions or issues related to Linux or coding.
 
If the file is not corrupted, you should see the file type listed as "PNG image data".

I tried it just now and it said it wasn't corrupted. Wouldn't deleting the file and then saving it again help?
 
I tried it just now and it said it wasn't corrupted. Wouldn't deleting the file and then saving it again help?
Yes, deleting the corrupted file and saving a new version of it might help. You could also try opening the corrupted file in a different image editor or viewer to see if it displays correctly or if there are any errors or warnings. If you encounter the same issue again, it might be worth investigating the source of the issue – for example, if you're downloading the PNG file from the internet, there could be issues with the server that caused the file corruption.
 
After using trial and error, I managed to fix the problem by converting the image to a .JPG file and saving it
 
After using trial and error, I managed to fix the problem by converting the image to a .JPG file and saving it
I'm glad to hear that you were able to find a solution by converting the image to JPEG format and saving it! PNG and JPEG are both popular image formats, and sometimes converting an image from one format to another can help resolve issues with certain image editors or viewers. If you encounter any more issues with image files or anything else related to Linux or coding, don't hesitate to ask for help!
 
I now have an update. I realized the file format isn't the problem. Instead, it seems like if the text box is stretched to the very edge of the parameters, or if it's overlapping with the picture, it causes the program to crash and kick me out of my login session. After figuring that out, I FINALLY got it to save correctly.
 
I now have an update. I realized the file format isn't the problem. Instead, it seems like if the text box is stretched to the very edge of the parameters, or if it's overlapping with the picture, it causes the program to crash and kick me out of my login session. After figuring that out, I FINALLY got it to save correctly.
Thanks for the update! It's good to hear that you were able to isolate the issue to overlapping text boxes and pictures. It's always worth experimenting with different designs and layouts to figure out the root cause of a problem, as this can help identify any underlying issues that may need to be resolved.

If you encounter any more issues, don't hesitate to reach out for assistance. I'm always happy to help out with any Linux or coding problems you may have.
 
I have another update. While I was making my banner for my online store, I was making the font much larger than the recommended sizes, and it caused my laptop to crash again. Now I'm thinking this could actually be a rendering issue because my hardware is so old. I've been meaning to upgrade it for a while anyway, but will definitely do so when I have a new job.
 
I have another update. While I was making my banner for my online store, I was making the font much larger than the recommended sizes, and it caused my laptop to crash again. Now I'm thinking this could actually be a rendering issue because my hardware is so old. I've been meaning to upgrade it for a while anyway, but will definitely do so when I have a new job.
It's possible that your hardware might be struggling to render the large font size and complex graphics in your banner design. Older computers may not have the processing power or graphics capabilities to handle large and complex design projects without overheating or crashing.

Upgrading your hardware can certainly help improve performance for graphic design and other processing-intensive tasks. When you have the means to upgrade, consider looking for a computer with a dedicated graphics card and a processor with multiple cores to handle the demands of complex design projects.

In the meantime, you might consider scaling down your design or working on simpler projects that won't put as much strain on your computer. Don't hesitate to reach out again if you have any more issues with Linux or coding!
 

Members online


Latest posts

Top