Description of problem: GNOME Software is very crashy and unreliable in Fedora 40. I think it usually crashes when installing an application, but I'm not certain. Version-Release number of selected component: gnome-software-46~beta-1.fc40 Additional info: reporter: libreport-2.17.14 type: CCpp reason: gnome-software killed by SIGSEGV journald_cursor: s=70ed1556b2714f29a3b32534454c4fcd;i=2ff4;b=81dc47511bbe446591a17086cd5bfda5;m=149a7a7b;t=61319294dc2df;x=52587aa3844a9bb0 executable: /usr/bin/gnome-software cmdline: /usr/bin/gnome-software --gapplication-service cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Software-2995.scope rootdir: / uid: 1000 kernel: 6.8.0-0.rc6.49.fc40.x86_64 package: gnome-software-46~beta-1.fc40 runlevel: N 5 backtrace_rating: 4 crash_function: gtk_widget_get_parent_muxer.constprop.0 comment: GNOME Software is very crashy and unreliable in Fedora 40. I think it usually crashes when installing an application, but I'm not certain. Truncated backtrace: Thread no. 1 (56 frames) #0 gtk_widget_get_parent_muxer.constprop.0 at ../gtk/gtkwidget.c:10998 #1 _gtk_widget_update_parent_muxer at ../gtk/gtkwidget.c:11018 #2 gtk_widget_unroot at ../gtk/gtkwidget.c:2506 #3 gtk_widget_forall at ../gtk/gtkwidget.c:12275 #4 gtk_widget_real_unroot at ../gtk/gtkwidget.c:805 #5 gtk_widget_unroot at ../gtk/gtkwidget.c:2508 #6 gtk_widget_forall at ../gtk/gtkwidget.c:12275 #7 gtk_widget_real_unroot at ../gtk/gtkwidget.c:805 #8 gtk_widget_unroot at ../gtk/gtkwidget.c:2508 #9 gtk_widget_forall at ../gtk/gtkwidget.c:12275 #10 gtk_widget_real_unroot at ../gtk/gtkwidget.c:805 #11 gtk_widget_unroot at ../gtk/gtkwidget.c:2508 #12 gtk_widget_forall at ../gtk/gtkwidget.c:12275 #13 gtk_widget_real_unroot at ../gtk/gtkwidget.c:805 #14 gtk_widget_unroot at ../gtk/gtkwidget.c:2508 #15 gtk_widget_forall at ../gtk/gtkwidget.c:12275 #16 gtk_widget_real_unroot at ../gtk/gtkwidget.c:805 #17 gtk_widget_unroot at ../gtk/gtkwidget.c:2508 #18 gtk_widget_forall at ../gtk/gtkwidget.c:12275 #19 gtk_widget_real_unroot at ../gtk/gtkwidget.c:805 #20 gtk_widget_unroot at ../gtk/gtkwidget.c:2508 #21 gtk_widget_forall at ../gtk/gtkwidget.c:12275 #22 gtk_widget_real_unroot at ../gtk/gtkwidget.c:805 #23 gtk_widget_unroot at ../gtk/gtkwidget.c:2508 #24 gtk_widget_forall at ../gtk/gtkwidget.c:12275 #25 gtk_widget_real_unroot at ../gtk/gtkwidget.c:805 #26 gtk_widget_unroot at ../gtk/gtkwidget.c:2508 #27 gtk_widget_unparent at ../gtk/gtkwidget.c:2586 #28 adw_carousel_remove at ../src/adw-carousel.c:1368 #29 gs_widget_remove_all at ../src/gs-common.c:35 #30 gs_screenshot_carousel_load_screenshots at ../src/gs-screenshot-carousel.c:136 #32 gs_details_page_refresh_screenshots at ../src/gs-details-page.c:784 #33 gs_details_page_load_stage2 at ../src/gs-details-page.c:1951 #34 gs_details_page_load_stage1_cb at ../src/gs-details-page.c:2034 #35 g_task_return_now at ../gio/gtask.c:1361 #36 g_task_return at ../gio/gtask.c:1430 #38 run_job_cb at ../lib/gs-plugin-loader.c:3531 #39 g_task_return_now at ../gio/gtask.c:1361 #40 g_task_return at ../gio/gtask.c:1430 #42 finish_run at ../lib/gs-plugin-job-refine.c:851 #43 run_cb at ../lib/gs-plugin-job-refine.c:822 #44 g_task_return_now at ../gio/gtask.c:1361 #45 g_task_return at ../gio/gtask.c:1430 #47 finish_refine_internal_recursion at ../lib/gs-plugin-job-refine.c:697 #48 recursive_internal_refine_cb at /usr/include/glib-2.0/glib/gmem.h:242 #49 g_task_return_now at ../gio/gtask.c:1361 #50 g_task_return at ../gio/gtask.c:1430 #52 finish_refine_internal_recursion at ../lib/gs-plugin-job-refine.c:697 #53 finish_refine_internal_op at ../lib/gs-plugin-job-refine.c:650 #54 rewrite_resources_cb at /usr/include/glib-2.0/glib/gmem.h:242 #55 g_task_return_now at ../gio/gtask.c:1361 #56 complete_in_idle_cb at ../gio/gtask.c:1375 #59 g_main_context_dispatch_unlocked at ../glib/gmain.c:4152 #60 g_main_context_iterate_unlocked.isra.0 at ../glib/gmain.c:4217 #61 g_main_context_iteration at ../glib/gmain.c:4282 #62 g_application_run at ../gio/gapplication.c:2613
Created attachment 2020595 [details] File: proc_pid_status
Created attachment 2020596 [details] File: maps
Created attachment 2020597 [details] File: limits
Created attachment 2020598 [details] File: environ
Created attachment 2020599 [details] File: open_fds
Created attachment 2020600 [details] File: mountinfo
Created attachment 2020601 [details] File: os_info
Created attachment 2020602 [details] File: cpuinfo
Created attachment 2020603 [details] File: core_backtrace
Created attachment 2020604 [details] File: exploitable
Created attachment 2020605 [details] File: dso_list
Created attachment 2020606 [details] File: var_log_messages
Created attachment 2020607 [details] File: backtrace
*** Bug 2268586 has been marked as a duplicate of this bug. ***
*** Bug 2268592 has been marked as a duplicate of this bug. ***
All the bugs you filled are crashing in the gtk code, sometimes deeper, sometimes less deep. They also mostly happen when widgets are removed, from what I saw. The dso_list attachment it useless. What is your gtk4 package version, please? I guess this is broken due to bug #2265734, which had been fixed, in gtk, only recently, on February 26. Whether they introduced more faults I do not know. I move this to the gtk4 for further investigation.
I see there is a built 4.13.9 version of the gtk4 in koji, but there's no update filled for it, thus it doesn't show anywhere in bodhi. @David could you create bodhi updates for the latest gtk4, please? Both rawhide and f40, ideally. @Michael, maybe you can use the koji build and retest with it. https://koji.fedoraproject.org/koji/buildinfo?buildID=2415399
Proposed as a Freeze Exception for 40-final by Fedora user asciiwolf using the blocker tracking app because: Memory corruption issue in GTK4 causes GNOME Software to crash very often when browsing apps. It is fixed in a 4.13.9-1 gtk4 build that is currently available in Koji and needs to be pushed to Fedora.
(In reply to Milan Crha from comment #16) > What is your gtk4 package version, please? gtk4-4.13.8-2.fc40, so older than the 4.13.9-1 that we think is fixed.
A possible duplicate is bug 2269023 (different backtrace, but could have the same root cause).
(In reply to Fedora Blocker Bugs Application from comment #18) I assume this was supposed to be proposed as a beta freeze exception, fixing flags.
*** Bug 2269023 has been marked as a duplicate of this bug. ***
4.13.9-1 has now been submitted, but only as part of the big 46-rc update, which we cannot pull into Beta because it causes https://bugzilla.redhat.com/show_bug.cgi?id=2268648 .
Discussed at today's blocker review meeting: https://meetbot-raw.fedoraproject.org/blocker-review_matrix_fedoraproject-org/2024-03-11/f40-blocker-review.2024-03-11-16.00.html . This is accepted as a Beta FE, but as with the mutter bug, only if the fix can somehow be separated out of the 46-rc megaupdate and shipped separately. We did not approve the 46-rc megaupdate itself for an FE.
FEDORA-2024-a74ce3e5c4 (adwaita-icon-theme-46~rc-1.fc40, at-spi2-core-2.51.91-1.fc40, and 26 more) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-a74ce3e5c4
The 46-rc megaupdate now has an FE, so I've marked it as fixing this bug, as it ought to. Can someone confirm that it's fixed with that update in place?
> Can someone confirm that it's fixed with that update in place? I gave it a try and I cannot reproduce the crash I see with the previous gtk4 version, thus, if not completely fixed, it's much harder to reproduce the crash now (while I think it is completely fixed, but there were no exact steps to reproduce the crash, just in gnome-software click an app, back, click another app, back, click another app, back, click... until it crashed, which could take 3-5 apps with the previous gtk4 here).
I tested with the previous gtk4 version and with the update, and I was able to make gnome-software crash with the older gtk4, while it didn't happen with the update. So I think we can consider this fixed.
FEDORA-2024-a74ce3e5c4 (adwaita-icon-theme-46~rc-1.fc40, at-spi2-core-2.51.91-1.fc40, and 26 more) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.