Comment 2 for bug 1631725

StacktraceTop:
 g_menu_model_get_n_items () from /tmp/apport_sandbox_dfnTjg/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 find_extension_point_section (model=0x561428edcf90, extension_point=extension_point@entry=0x561428be23f0 "preferences-section") at gedit/gedit-app.c:1715
 find_extension_point_section (model=0x561428852520, extension_point=extension_point@entry=0x561428be23f0 "preferences-section") at gedit/gedit-app.c:1722
 find_extension_point_section (model=0x56142884d120, extension_point=extension_point@entry=0x561428be23f0 "preferences-section") at gedit/gedit-app.c:1722
 _gedit_app_extend_menu (app=0x56142871c1e0, extension_point=0x561428be23f0 "preferences-section") at gedit/gedit-app.c:1943