Bug#947237: gnome-software: Crashes on click over any software icon

Bernhard Übelacker bernhardu at mailbox.org
Mon Dec 30 14:14:55 GMT 2019


Dear Maintainer,
the given valgrind backtrace should translate to something
like below (which did not crash for me).

The crashing instruction tries to read memory pointed by register $rdi,
that held in my test the address in parameters "v" / "key" / "name".

So I assume for some reason this register $rdi and
parameter "v" / "key" / "name" contain a null pointer
leading to the crash seen by definetti.

Kind regards,
Bernhard


(gdb) bt
#0  0x00007ffff7df6e20 in g_str_hash (v=0x7fffdc38d780) at ../../../glib/ghash.c:2324
#1  0x00007ffff7df5eff in g_hash_table_lookup_node (hash_return, key=0x7fffdc38d780, hash_table) at ../../../glib/ghash.c:473
#2  0x00007ffff7df5eff in g_hash_table_lookup (hash_table, key=key at entry=0x7fffdc38d780) at ../../../glib/ghash.c:1509
#3  0x00007ffff08f9389 in store_snap_cache_lookup (need_details, name=0x7fffdc38d780 "notepad-plus-plus", plugin) at ../plugins/snap/gs-plugin-snap.c:204
#4  0x00007ffff08f9389 in get_store_snap (plugin, name=0x7fffdc38d780 "notepad-plus-plus", need_details, cancellable, error) at ../plugins/snap/gs-plugin-snap.c:520
#5  0x00007ffff08f9d2d in gs_plugin_add_alternates (plugin, app, list, cancellable, error) at ../plugins/snap/gs-plugin-snap.c:592
#6  0x00005555555cca3f in gs_plugin_loader_call_vfunc (helper, plugin, app, app at entry, list, list at entry, refine_flags, refine_flags at entry, cancellable, error) at ../lib/gs-plugin-loader.c:651
#7  0x00005555555ccc62 in gs_plugin_loader_run_results (helper, cancellable, error) at ../lib/gs-plugin-loader.c:1084
#8  0x00005555555cdac5 in gs_plugin_loader_process_thread_cb (task, object, task_data, cancellable) at ../lib/gs-plugin-loader.c:3040
#9  0x00007ffff7c92bae in g_task_thread_pool_thread (thread_data, pool_data) at ../../../gio/gtask.c:1410
#10 0x00007ffff7e31404 in g_thread_pool_thread_proxy (data) at ../../../glib/gthreadpool.c:308
#11 0x00007ffff7e30d0d in g_thread_proxy (data) at ../../../glib/gthread.c:805
#12 0x00007ffff6fcdfb7 in start_thread (arg) at pthread_create.c:486
#13 0x00007ffff6eff2df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

(gdb) display/i $pc
2: x/i $pc
=> 0x7ffff7df6e20 <g_str_hash>: movsbl (%rdi),%eax
(gdb) print/x $rdi
$5 = 0x7fffdc38d780



More information about the pkg-gnome-maintainers mailing list