Clicking "Save As" and "Export" crashes Krita with files that has been saved. Obs: With new files the export and save as open normally but ass soon as i save the file no matter the format, and no matter if i save and try the bug or open a existing file, i can't use the export or save as it crashes and closes Krita. STEPS TO REPRODUCE 1. Open a existing file, or save a new file(In sum use a file that already exists/has format). 2. Try to use the "File->Save As(or Export)" 3. As soon as the "Save as" or "Export" Dialog shows signal of appearing on screen Krita closes. SOFTWARE VERSIONS Lubuntu 18.04 64bits (Uses LXDE or LXQT not sure)
We discussed this on https://forum.kde.org/viewtopic.php?f=139&t=154169&p=404546#p404546 , right? -- could you please add the backtrace after installing the debug symbols?
Yes i just installed the symbols after you told me to... but i'm lost on the procedure... Mind helping me in the steps?
There's a manual on how to get a backtrace here :) : https://docs.krita.org/en/reference_manual/dr_minw_debugger.html
That page above won't help at all since it only contains windows guides. Now i found what i believe is the crash log is a file named _usr_bin_krita.1000.crash in the /var/crash folder however that file has 70mb (apparently it has a core image with it) it that the file i need? If is... which part you need for the info needed?
no, that's not the right guide, nor the right crash file. *buntu should actually pop up a crash dialog, but if it doesn't, use gdb: From the terminal, start krita like this: gdb krita In gdb, type 'r' and press enter to run Krita. Reproduce the crash. If krita crashes, tab to the terminal with gdb running. There, type 'set pagination off' and press enter Then type thread apply all bt There will be a lot of scrolling. Copy the entire contents of the terminal and add it this bug report.
Created attachment 115482 [details] Terminal output while crashing.
Created attachment 115483 [details] Results of "GDB thread apply all bt"
Tnx Boudewijn with that lvl of detail in the instructions was easy... One comment to add to future references... Lubutu 18.04 DIDN'T had gdb... but apt install gdb did the job... Now i uploaded two files.... one with the results you needed... another with the outputs of the terminal while i was using and crashing krita... i added what i was doing also...
Okay, the crash happens in libfm-qt.so.3 -- that's apparently the "Companion library for PCManFM". So, basically, lubuntu has its own file dialog with crashes. The crash happens when accessing the QButtonBox class. Now the QButtonBox class was changed in Qt 5.11. It looks like this library was built against a different version of Qt than the one in the PPA. I don't know which was build against which... This is an upstream issue, but you might be able to work around it by disabling the "native file dialog" option Krita's settings. If that is already disabled, then lubuntu is doing some really sneaky to replace the file dialog. You could also try to use the appimage instead of the ppa.