![]() Registered Member ![]()
|
It is not that important since it doesn't affect my work. When I try to close an unsaved document and I get to the warning message, if I chose to save the document, Krita saves it and closes, but then opens the KDE crash handler asking me to report the bug. This what terminal reads when this happens:
And the Developer Information tab of the crash handler gives me the following:
As I said, I don't think it is that important since it doesn't affect my work, but I want to understand what is this?? |
![]() Global Moderator ![]()
|
An application has a lot of objects in memory, which are usually deleted in an ordered manner on shutdown. For most of the objects, this is irrelevant, but some might want to do cleanup when they are deleted, which might be relevant for future runs of the application. As a stupid example, an object describing an open file could have logic to add that file to the list of recently opened files when it is deleted. To make sure all such cleanup-functions are run properly, it makes sense to delete all the objects in an application's memory on shutdown. Usually, though, nothing too bad will happen when this cleanup does not run.
What happens here now is that something goes wrong during this process of deleting everyting from memory. This is a programming error of some kind, for example leading to objects being deleted twice -- and then the second attempt to delete the object will fail and will result in the crash you see. You can see lots of function names beginning with "~", those are called destructors and take care of said clean-up logic. Just because the window closes doesn't mean the application isn't running any more; many KDE apps will close their main window, and only then perform this cleanup in the background (this takes from a few milliseconds to a few seconds, depending on the application). Thus the application is running a bit longer than you actually see it, and this crash here happens during that time. What you should do is report a bug on bugs.kde.org with information on what you do exactly to reproduce this behaviour, and with the backtrace (the information you pasted below already) attached. Cheers! Sven
I'm working on the KDevelop IDE.
|
![]() KDE Developer ![]()
|
|
![]() Registered Member ![]()
|
Thank you Sven for you detailed explanation.
@boudewjin I am using Krita 2.7 (the version available on Kubuntu backports ppa) |
![]() Administrator ![]()
|
Can you please ensure the QtDBus debugging symbols are installed?
If you needed to install them, please regenerate the backtrace.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
@bcooksley
Um sorry, but um a little bit new to Linux, so I don't know how to ensure that they are installed and install them if they are not |
![]() Administrator ![]()
|
You should be able to use your package manager to install and remove software and other packages. If I recall correctly, Kubuntu uses Apper or Muon to perform this task.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
These are the packages I found when I typed QtDBus in my package manager search box:
1) Qt 4 D-Bus module (libqt4-dbus) 2) Qt 4 D-Bus tool (qdbus) Both of them are installed. I don't know if one of them are the debugging symbols or not since their information says only that both of them provide standard GUI functionality. |
![]() Administrator ![]()
|
Please search "libqt4" and see if there is a "libqt4-dbg" or similarly named package - this should contain the needed debugging symbols.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I installed the debugging symbols and this is the backtrace:
|
![]() Administrator ![]()
|
Can you please search to see if a package named "qt-sapi" is installed (or something similar) and remove it?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
The only package I found with a close name is called "qt-at-spi". Its description says that it is "a plugin to export Qt widgets over AT-SPI2." I don't know if this is the package you mean.
|
![]() KDE Developer ![]()
|
|
![]() Registered Member ![]()
|
Somehow the problem is fixed without removing this package. Should I remove it or leave it for now???
|
![]() KDE Developer ![]()
|
If it works, don't touch anything -- you might break it again
![]() |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]