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

crash when importing gnotes folder #1686

Closed
kerlerm opened this issue May 16, 2021 · 4 comments
Closed

crash when importing gnotes folder #1686

kerlerm opened this issue May 16, 2021 · 4 comments

Comments

@kerlerm
Copy link

kerlerm commented May 16, 2021

Version, Operative system
Linux x64, cherrytree PPA build 0.99.36

Describe the bug
Cherrytree crashes when trying to import gnotes from folder with 100 gnotes files in it.

Perhaps related to issue #1593

Dump

==22830== Invalid read of size 8
==22830==    at 0x5FE972A: xmlpp::Node::get_first_child(Glib::ustring const&) (in /usr/lib/x86_64-linux-gnu/libxml++-2.6.so.2.0.7)
==22830==    by 0x442D01: CtTomboyImport::import_file(fs::path const&) (in /usr/bin/cherrytree)
==22830==    by 0x43C7F0: CtImports::traverse_dir(fs::path const&, CtImporterInterface*) (in /usr/bin/cherrytree)
==22830==    by 0x3D78B2: CtActions::_import_from_dir(CtImporterInterface*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (in /usr/bin/cherrytree)
==22830==    by 0x3D7ED2: CtActions::import_nodes_from_gnote_directory() (in /usr/bin/cherrytree)
==22830==    by 0x5DC6801: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==22830==    by 0x5DDA813: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==22830==    by 0x5DE5BBD: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==22830==    by 0x5DE60F2: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==22830==    by 0x5508AB1: gtk_widget_activate (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.16)
==22830==    by 0x53D6A35: gtk_menu_shell_activate_item (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.16)
==22830==    by 0x53D6CC2: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.16)
==22830==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
@giuspen
Copy link
Owner

giuspen commented May 17, 2021

could you try the latest from github for this issue?

@kerlerm
Copy link
Author

kerlerm commented May 24, 2021

Same for the latest self-compiled github binary. Problem persists.

@giuspen
Copy link
Owner

giuspen commented May 24, 2021

It would be useful if you could zip up the data that crashes for you and send it privately to me so I can reproduce. If possible, my email is in cherrytree help--about dialog

@giuspen
Copy link
Owner

giuspen commented Nov 13, 2022

will be fixed in 0.99.52

@giuspen giuspen closed this as completed Nov 13, 2022
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

2 participants