-
Notifications
You must be signed in to change notification settings - Fork 468
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
Getting core dump when closing the app #2302
Comments
Hi @A-ri-eL it would be useful if you can build for debug from the source code following https://github.com/giuspen/cherrytree#building-cherrytree-on-ubuntu but instead of |
Thanks for your answer. As I'm using a Debian 12 docker container to compile, ninja was not able to perform some tests that seem to need graphical user interface, then it always failed. So I managed to get a
|
I'm having difficulty to read that crash dump, probably because the binary of cherrytree that I pass to gdb is not the same that you are using. |
I have now improved build.sh if you git pull the latest, I also added support for the argument 'help'. |
@giuspen ^-^ I proceeded exactly as you described so I've got:
Then starting
|
Unfortunately in your backtrace the symbols (names of functions) are not visible, I don't understand why.
...after it crashes |
@giuspen thanks for your instructions. Hope I was able to get some useful backtrace now.
|
Yes this is a good backtrace I will have a look vs the code, may get back with more questions |
Could you please pull the latest from git, rebuild and if it crashes again generate again a backtrace for me? |
It worked! No more crashes :) |
Thanks! |
Hi, all!
For some reason cherrytree is performing core dumps every time I close the app after some time working on it. All of them points to the same issue (segfault):
~$ cherrytree --version
CherryTree 0.99.56
~$ lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
~$ kf5-config --version
Qt: 5.15.8
KDE Frameworks: 5.103.0
kf5-config: 1.0
~$ ls -lhS /var/lib/systemd/coredump/
total 53M
... 20M jul 3 22:03 core.cherrytree.1000.d64dfff681984efa9d44251c0dd62f2b.30844.1688432589000000.zst
... 14M jul 3 14:58 core.cherrytree.1000.d64dfff681984efa9d44251c0dd62f2b.4464.1688407082000000.zst
Here is the most recent one:
The text was updated successfully, but these errors were encountered: