Segmentation fault at g_str_is_ascii using master branch
I'm running GNOME Software built from master branch. Run it and leave it untouched for some time. GNOME Software crashes.
These are stack trace collected using gdb
Thread 5 "pool-org.gnome." received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f48c2af7640 (LWP 165291)]
g_str_is_ascii (str=str@entry=0x0) at ../../../../jhbuild/checkout/glib/glib/gstrfuncs.c:1626
1626 for (i = 0; str[i]; i++)
(gdb) bt
#0 g_str_is_ascii (str=str@entry=0x0) at ../../../../jhbuild/checkout/glib/glib/gstrfuncs.c:1626
#1 0x00007f48dc0d097c in xb_silo_machine_func_search_cb (self=<optimized out>, stack=0x7f48bc125c00, result=<optimized out>, user_data=<optimized out>, exec_data=<optimized out>, error=0x0) at ../../../../jhbuild/checkout/libxmlb/src/xb-silo.c:1300
#2 0x00007f48dc0cc4b8 in xb_machine_run_func (error=0x0, exec_data=0x7f48c2af6540, opcode=<optimized out>, stack=0x7f48bc125c00, self=0x1210570) at ../../../../jhbuild/checkout/libxmlb/src/xb-machine.c:891
#3 xb_machine_run_with_bindings (self=self@entry=0x1210570, opcodes=opcodes@entry=0x7f48bc025ee0, bindings=0x7f48c2af63b0, result=result@entry=0x7f48c2af63ac, exec_data=exec_data@entry=0x7f48c2af6540, error=error@entry=0x0)
at ../../../../jhbuild/checkout/libxmlb/src/xb-machine.c:1006
#4 0x00007f48dc0d3cae in xb_silo_query_node_matches (self=0x1532640, error=0x0, result=0x7f48c2af63ac, bindings_offset_end_out=<synthetic pointer>, bindings_offset=0, bindings=<optimized out>, query_data=<optimized out>, section=0x7f48cc15cd40,
sn=0x7f48c2c6df50, machine=0x1210570) at ../../../../jhbuild/checkout/libxmlb/src/xb-silo-query.c:71
#5 xb_silo_query_section_root (self=self@entry=0x1532640, sn=0x7f48c2c6df50, sn@entry=0x7f48c2c6d35f, i=i@entry=0, bindings_offset=bindings_offset@entry=0, helper=helper@entry=0x7f48c2af6480, error=error@entry=0x0)
at ../../../../jhbuild/checkout/libxmlb/src/xb-silo-query.c:199
#6 0x00007f48dc0d3e5a in xb_silo_query_part (self=self@entry=0x1532640, sroot=0x7f48c2c6d35f, results=results@entry=0x7f48cc3f51a0, results_hash=results_hash@entry=0x1375c00, query=query@entry=0x2466f60, context=context@entry=0x7f48c2af66a0,
first_result_only=0, query_data=0x7f48c2af6540, flags=XB_SILO_QUERY_HELPER_NONE, error=0x0) at ../../../../jhbuild/checkout/libxmlb/src/xb-silo-query.c:257
#7 0x00007f48dc0d4536 in xb_silo_query_with_root_full (self=0x1532640, n=n@entry=0x7f48bc202850, query=0x2466f60, context=context@entry=0x7f48c2af66a0, first_result_only=first_result_only@entry=0, error=error@entry=0x0)
at ../../../../jhbuild/checkout/libxmlb/src/xb-silo-query.c:472
#8 0x00007f48dc0ce4c9 in xb_node_query_with_context (self=self@entry=0x7f48bc202850, query=<optimized out>, context=context@entry=0x7f48c2af66a0, error=error@entry=0x0) at ../../../../jhbuild/checkout/libxmlb/src/xb-node-query.c:100
#9 0x00007f48dc053fa5 in gs_appstream_silo_search_component2 (search=<optimized out>, component=<optimized out>, array=<optimized out>) at ../../../../jhbuild/checkout/gnome-software/plugins/core/gs-appstream.c:1091
#10 gs_appstream_silo_search_component (search=0x2483970, component=0x7f48bc202850, array=0x7f48cc4cd360) at ../../../../jhbuild/checkout/gnome-software/plugins/core/gs-appstream.c:1109
#11 gs_appstream_search (plugin=0xebddf0, silo=0x1532640, values=values@entry=0x2483970, list=list@entry=0x7f48bc219d40, cancellable=cancellable@entry=0x7f48cc037ce0, error=error@entry=0x7f48c2af6908)
at ../../../../jhbuild/checkout/gnome-software/plugins/core/gs-appstream.c:1170
#12 0x00007f48d6e0af12 in gs_flatpak_search (self=0x10304d0, values=values@entry=0x2483970, list=list@entry=0x15d86c0, cancellable=cancellable@entry=0x7f48cc037ce0, error=error@entry=0x7f48c2af6908)
at ../../../../jhbuild/checkout/gnome-software/plugins/flatpak/gs-flatpak.c:3231
#13 0x00007f48d6e104f0 in gs_plugin_add_search (plugin=<optimized out>, values=0x2483970, list=0x15d86c0, cancellable=0x7f48cc037ce0, error=0x7f48c2af6908) at ../../../../jhbuild/checkout/gnome-software/plugins/flatpak/gs-plugin-flatpak.c:1432
#14 0x00000000004768b0 in gs_plugin_loader_call_vfunc (helper=helper@entry=0x7f48cc50a2a0, plugin=plugin@entry=0xebddf0, app=app@entry=0x0, list=0x15d86c0, list@entry=0x0, refine_flags=10486784, refine_flags@entry=GS_PLUGIN_REFINE_FLAGS_DEFAULT,
cancellable=cancellable@entry=0x7f48cc037ce0, error=0x7f48c2af6a68) at ../../../../jhbuild/checkout/gnome-software/lib/gs-plugin-loader.c:680
#15 0x00000000004775e2 in gs_plugin_loader_run_results (helper=helper@entry=0x7f48cc50a2a0, cancellable=cancellable@entry=0x7f48cc037ce0, error=error@entry=0x7f48c2af6a68) at ../../../../jhbuild/checkout/gnome-software/lib/gs-plugin-loader.c:1124
#16 0x00000000004781e5 in gs_plugin_loader_process_thread_cb (task=0x145f6c0, object=0x7f48c2af6a68, task_data=0x7f48cc50a2a0, cancellable=0x7f48cc037ce0) at ../../../../jhbuild/checkout/gnome-software/lib/gs-plugin-loader.c:3172
#17 0x00007f48eec02a2e in g_task_thread_pool_thread (thread_data=0x145f6c0, pool_data=<optimized out>) at ../../../../jhbuild/checkout/glib/gio/gtask.c:1430
#18 0x00007f48eeda7f74 in g_thread_pool_thread_proxy (data=<optimized out>) at ../../../../jhbuild/checkout/glib/glib/gthreadpool.c:354
#19 0x00007f48eeda76ed in g_thread_proxy (data=0x7f48cc163360) at ../../../../jhbuild/checkout/glib/glib/gthread.c:826
#20 0x00007f48edd2a3f9 in start_thread () from /lib64/libpthread.so.0
#21 0x00007f48edc57903 in clone () from /lib64/libc.so.6