Crash under gtk_file_system_model_sort()
I was writing an email and had tabbed away to another application when evolution crashed with a SIGSEGV. Luckily due to the crash recovery feature I didn't lose the email.
The backtrace included below and full backtrace attached. I don't have any way to reproduce this issue. The core dump will be available for the next two weeks and will be deleted automatically after that.
I am using evolution 3.42.2-1, WebKit 2.34.2-1, GTK 3.24.30-4, glib 2.70.2-1 and GNOME 41 on Debian bullseye.
If the backtrace in this bug report isn't useful, please close the bug.
#0 compare_directory (model=model@entry=0x563f534ff820 [GtkFileSystemModel], a=a@entry=0x7fff788d8cf0, b=b@entry=0x7fff788d8d10, impl=<optimized out>, impl=<optimized out>) at ../../../../gtk/gtkfilechooserwidget.c:4158
#1 0x00007ffa8865ef77 in name_sort_func (model=0x563f534ff820, a=0x7fff788d8cf0, b=0x7fff788d8d10, user_data=<optimized out>) at ../../../../gtk/gtkfilechooserwidget.c:4255
#2 0x00007ffa8866bd76 in compare_array_element (a=<optimized out>, b=<optimized out>, user_data=user_data@entry=0x7fff788d9340) at ../../../../gtk/gtkfilesystemmodel.c:770
#3 0x00007ffa881098b6 in msort_with_tmp (p=0x7fff788d92d0, b=0x7fff788d9060, n=2) at ../../../glib/gqsort.c:152
#4 0x00007ffa881097e1 in msort_with_tmp (p=0x7fff788d92d0, b=0x7fff788d9058, n=3) at ../../../glib/gqsort.c:86
#5 0x00007ffa881097d3 in msort_with_tmp (p=0x7fff788d92d0, b=0x7fff788d9058, n=6) at ../../../glib/gqsort.c:85
#6 0x00007ffa881097d3 in msort_with_tmp (p=0x7fff788d92d0, b=0x7fff788d9058, n=13) at ../../../glib/gqsort.c:85
#7 0x00007ffa881097d3 in msort_with_tmp (p=0x7fff788d92d0, b=0x7fff788d9058, n=27) at ../../../glib/gqsort.c:85
#8 0x00007ffa88109b85 in msort_r (b=0x563f53fbde58, n=27, s=360, cmp=cmp@entry=0x7ffa8866bce0 <compare_array_element>, arg=arg@entry=0x7fff788d9340) at ../../../glib/gqsort.c:237
#9 0x00007ffa88109d18 in g_qsort_with_data (pbase=<optimized out>, total_elems=<optimized out>, size=<optimized out>, compare_func=compare_func@entry=0x7ffa8866bce0 <compare_array_element>, user_data=user_data@entry=0x7fff788d9340) at ../../../glib/gqsort.c:303
#10 0x00007ffa8866ce58 in gtk_file_system_model_sort (model=model@entry=0x563f534ff820 [GtkFileSystemModel]) at ../../../../gtk/gtkfilesystemmodel.c:794
#11 0x00007ffa8866d82f in gtk_file_system_model_sort (model=0x563f534ff820 [GtkFileSystemModel]) at ../../../../gtk/gtkfilesystemmodel.c:1890
#12 0x00007ffa8866e906 in _gtk_file_system_model_update_file (model=0x563f534ff820 [GtkFileSystemModel], file=0x563f523a1d20, info=0x7ffa70081e10 [GFileInfo]) at ../../../../gtk/gtkfilesystemmodel.c:1964
#13 0x00007ffa8866e97f in query_done_helper (object=0x563f523a1d20 [GLocalFile], res=<optimized out>, data=0x563f534ff820, do_thaw_updates=0) at ../../../../gtk/gtkfilesystemmodel.c:1234
#14 0x00007ffa8866ea03 in gtk_file_system_model_query_done (object=0x563f523a1d20 [GLocalFile], res=0x563f53ecbb30, data=data@entry=0x563f534ff820) at ../../../../gtk/gtkfilesystemmodel.c:1252
#15 0x00007ffa882e9389 in g_task_return_now (task=0x563f53ecbb30 [GTask]) at ../../../gio/gtask.c:1219
#16 0x00007ffa882e93c9 in complete_in_idle_cb (task=0x563f53ecbb30) at ../../../gio/gtask.c:1233
#17 0x00007ffa880f9be4 in g_main_dispatch (context=0x563f52169940) at ../../../glib/gmain.c:3381
#18 g_main_context_dispatch (context=0x563f52169940) at ../../../glib/gmain.c:4099
#19 0x00007ffa880f9f88 in g_main_context_iterate (context=0x563f52169940, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4175
#20 0x00007ffa880fa273 in g_main_loop_run (loop=loop@entry=0x563f52775cb0) at ../../../glib/gmain.c:4373
#21 0x00007ffa886cd405 in gtk_main () at ../../../../gtk/gtkmain.c:1329
#22 0x0000563f5088ded4 in main (argc=<optimized out>, argv=<optimized out>) at ./src/shell/main.c:685
-- bye, pabs