Segfault in gs_app_list_index()
Submitted by Sebastien Bacher
Assigned to Richard Hughes @hughsie
Link to original bug (#789204)
Description
The bug has been reported against 3.26.1 on https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1724860
"Uninstalled the .deb Geary version as was 2 of them (1 flatpak version and another .deb) and this crash popped up. Was able to uninstall Geary though.
#0 0x000055f845e2fb5a in gs_app_list_index (list=list@entry=0x55f847941480, idx=idx@entry=0) at ../lib/gs-app-list.c:257
No locals.
#1 0x000055f845e24024 in _reboot_failed_cb (source=0x55f84650d0a0, res=<optimized out>, user_data=<optimized out>) at ../src/gs-updates-page.c:626
error = 0x7f6f2c6aca60
apps = 0x55f847941480
plugin_job = 0x0
retval = <optimized out>
#2 0x00007f6f70a06203 in g_task_return_now (task=0x55f849bebce0) at ../../../../gio/gtask.c:1145
No locals.
#3 0x00007f6f70a06c26 in g_task_return (task=0x55f849bebce0, type=<optimized out>) at ../../../../gio/gtask.c:1203
source = 0x7f6f50085d30
#4 0x00007f6f70a39c89 in g_dbus_connection_call_done (source=<optimized out>, result=0x55f84650ba70, user_data=0x55f849bebce0) at ../../../../gio/gdbusconnection.c:5720
connection = <optimized out>
task = 0x55f849bebce0
state = 0x55f84834b200
error = 0x7f6f2c6aca60
reply = 0x7f6f5005f680
value = <optimized out>
#5 0x00007f6f70a06203 in g_task_return_now (task=0x55f84650ba70) at ../../../../gio/gtask.c:1145
No locals.
#6 0x00007f6f70a06239 in complete_in_idle_cb (task=0x55f84650ba70) at ../../../../gio/gtask.c:1159
No locals.
#7 0x00007f6f70d60e25 in g_main_dispatch (context=0x55f8464f9500) at ../../../../glib/gmain.c:3148"