bless icon indicating copy to clipboard operation
bless copied to clipboard

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

Open KonradHoeffner opened this issue 6 years ago • 3 comments

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

KonradHoeffner avatar Feb 21 '19 13:02 KonradHoeffner

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?

afrantzis avatar Mar 28 '19 19:03 afrantzis

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

ExiaHan avatar Apr 02 '19 12:04 ExiaHan

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

cweiske avatar May 21 '19 08:05 cweiske