Skip to content
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

CheryTree .99.56 Keeps Crashing/Closing on Windows #2304

Open
Patuba13 opened this issue Jul 8, 2023 · 11 comments
Open

CheryTree .99.56 Keeps Crashing/Closing on Windows #2304

Patuba13 opened this issue Jul 8, 2023 · 11 comments

Comments

@Patuba13
Copy link

Patuba13 commented Jul 8, 2023

Version, Operative system
Cherry Tree .99.56 Windows 10 Build 10.0.19045

Describe the bug
I have been using CherryTree 0.99.56 for about 2 weeks without issue. I only have 1 data file I am working on. When I try to create a new child node to my existing data file, CherryTree just closes out. I have tried making a new instance and that automatically closes CherryTree. I have uninstalled and re-installed CherryTree with no luck. I am able to download and use CherryTree 0.39.4 for the time being.

Not sure if you can reproduce but I have attached my data file in case you need it.

Cherry_Notes.zip

@Sisyfos3
Copy link

Sisyfos3 commented Jul 11, 2023

@giuspen ,I experience the same thing, running 0.99.56 flatpak version on Linux Mint Mate 21.1. Attempting to create a new node or subnode immediately closes Cherrytree. Noticed this today.
However, on my work computer, Windows 10 Enterprise 22H2, everything works as expected.

Downloaded the "regular" version, updated through the ppa, and it works fine under Linux.
/Sisyfos3

@demijohn
Copy link

I have the same problem as @Sisyfos3, running 0.99.56 snap version on Ubuntu 22.04.2 LTS. Creating new node (or edit properties of existing node) closes CherryTree with this message in command line:
[2023-07-11 12:02:00.735] [gtk] [info] unhandled exception (type std::exception) in signal handler: what: basic_string::_M_construct null not valid

@giuspen
Copy link
Owner

giuspen commented Jul 11, 2023

I'll try and reproduce shortly and update here

@giuspen
Copy link
Owner

giuspen commented Jul 11, 2023

It would help me to have the config file exported and attached to the ticket. File-->Preferences-->Export Preferences

@demijohn
Copy link

It would help me to have the config file exported and attached to the ticket. File-->Preferences-->Export Preferences

My config:
config_2023.07.12_09.09.37.zip

@giuspen
Copy link
Owner

giuspen commented Jul 12, 2023

Many thanks @demijohn I can confirm that this bug is fixed with yesterday's commit. I will release a new version in the next few days.

@giuspen
Copy link
Owner

giuspen commented Jul 12, 2023

NOTE: an immediate workaround is to remove in config.cfg, while cherrytree is not running, the line last_icon_sel=0 - in fact doing that and confirming that then cherrytree is not crashing anymore will be a further confirmation (cherrytree should regenerate that in the subsequent session with the default value last_icon_sel=132).

Honestly I haven't understood yet what caused that value to go zero so it can happen again but at least that will be harmless since the next version.

@giuspen
Copy link
Owner

giuspen commented Jul 12, 2023

UPDATE: I managed to understand what caused last_icon_sel=0 should not happen anymore in new version

@demijohn
Copy link

I can confirm workaround is working. Thanks @giuspen for fast solution.

@Patuba13
Copy link
Author

@giuspen That fixed it on the Windows version as well, thank you very much!

I've noticed I have a lot of .Cherry_Notes x.ctb~~~ files in my CherryTree folder. With X being a different number, are those normal?

@giuspen
Copy link
Owner

giuspen commented Jul 16, 2023

@Patuba13 the backup files should be .filename~ while those with the number should be only temporary, so no it's not expected. Such thing may have happened because of the crashes though. Can you remove all unexpected files and monitor if that appears again after you save?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants