Crash Report: eog_thumb_view_clear_range: assertion failed: (start_thumb <= end_thumb)
I have triggered this crash a few times. I don't have a super reliable way to trigger it yet but will update if/when I do. But here's a brief description of what I have:
- EOG open on one monitor in a folder with ~100 PNGs and SVGs
- On another monitor, I start a program that deletes lots of images and creates lots of images (many with the same name as what just got deleted). This program is multithreaded so the images are created in rapid succession
- EOG crashes with the below. I ran through gdb to capture it and have the core dump saved if there's more info you'd like me to provide from it
Stderr snippet
(eog:52107): GLib-WARNING **: 21:29:47.524: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Error in getting image file info
...
(eog:52107): GLib-GObject-CRITICAL **: 21:30:22.720: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(eog:52107): EOG-WARNING **: 21:30:22.720: Error when getting information for file “/tmp/f0b59452-e725-424c-aeb0-46348776328f.png”: No such file or directory
EOG:ERROR:../src/eog-thumb-view.c:247:eog_thumb_view_clear_range: assertion failed: (start_thumb <= end_thumb)
Bail out! EOG:ERROR:../src/eog-thumb-view.c:247:eog_thumb_view_clear_range: assertion failed: (start_thumb <= end_thumb)
Backtrace
#0 0x00007ffff72187d5 in raise () at /lib64/libc.so.6
#1 0x00007ffff7201895 in abort () at /lib64/libc.so.6
#2 0x00007ffff7bcbb6c in g_assertion_message_expr.cold () at /lib64/libglib-2.0.so.0
#3 0x00007ffff7c299ff in g_assertion_message_expr () at /lib64/libglib-2.0.so.0
#4 0x00007ffff7f9049d in eog_thumb_view_clear_range (thumbview=thumbview@entry=0x555555aa1440, start_thumb=start_thumb@entry=47, end_thumb=end_thumb@entry=40) at ../src/eog-thumb-view.c:247
#5 0x00007ffff7f90600 in eog_thumb_view_update_visible_range (end_thumb=51, start_thumb=48, thumbview=0x555555aa1440) at ../src/eog-thumb-view.c:297
#6 visible_range_changed_cb (thumbview=0x555555aa1440) at ../src/eog-thumb-view.c:327
#7 0x00007ffff7bfc45b in g_idle_dispatch () at /lib64/libglib-2.0.so.0
#8 0x00007ffff7c0078f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#9 0x00007ffff7c00b18 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#10 0x00007ffff7c00be3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#11 0x00007ffff7e1772d in g_application_run () at /lib64/libgio-2.0.so.0
#12 0x00005555555564d5 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:133
Thank you and I will keep poking through the code to see if I can figure this out.