afrantzis / bless

Bless - Gtk# Hex Editor
GNU General Public License v2.0
210 stars 38 forks source link

"gtk_box_pack: assertion 'child->parent == NULL' failed" on search #6

Open KonradHoeffner opened 5 years ago

KonradHoeffner commented 5 years ago

When search for a text ("mdat" in my case) in a 1.8 GB file with Bless 0.6.1 on Arch Linux, I get a large number of the following errors on the terminal:

(bless:25390): Gtk-CRITICAL **: 14:26:14.204: gtk_box_pack: assertion 'child->parent == NULL' failed
(bless:25390): Gtk-CRITICAL **: 14:26:14.205: gtk_box_pack: assertion 'child->parent == NULL' failed
(bless:25390): Gtk-CRITICAL **: 14:26:14.205: gtk_box_pack: assertion 'child->parent == NULL' failed
(bless:25390): Gtk-CRITICAL **: 14:26:14.205: gtk_box_pack: assertion 'child->parent == NULL' failed
afrantzis commented 5 years ago

https://github.com/afrantzis/bless/commit/db747af566735e81313a34050b5682793a458834 fixes similar errors that I see when the file-changed-externally bar is being shown. Given #7, perhaps the bar being shown as you search (and move around the file) is the source of these errors for your case too?

ExiaHan commented 5 years ago

I have the same error. Also when it appears bless will also show a notification says that file is modified. As the picture shows.

https://imgur.com/a/0DlN11q

I don't know whether these have relations.

OS: Archlinux x64 Bless Version: 0.6.1

cweiske commented 5 years ago

This problem here is fixed in git already. The "file modification" problem does also not occur with the latest version.