Bug 2227362 - Flatpak build: app often crashes on startup
Summary: Flatpak build: app often crashes on startup
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-font-viewer
Version: 38
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-28 22:00 UTC by Adam Williamson
Modified: 2023-08-15 19:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-15 19:47:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2023-07-28 22:00:07 UTC
In openQA testing of Fedora Silverblue, GNOME Fonts (which is installed from the Fedora Flatpak by default) often crashes on startup.

Reproducible: Sometimes

Steps to Reproduce:
1. Install Fedora Rawhide Silverblue
2. Run GNOME Fonts
Actual Results:  
Quite often, it does not launch successfully

Expected Results:  
It should launch without crashing

Here's the backtrace:


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055e6cbc3e191 in font_infos_loaded (source_object=0x55e6cc71de70, result=<optimized out>, user_data=<optimized out>) at ../src/font-model.c:213
213         g_list_store_splice (self->model, 0, 0, items->pdata, items->len);                                                                                
[Current thread is 1 (Thread 0x7fde0284b980 (LWP 2))]
#0  0x000055e6cbc3e191 in font_infos_loaded (source_object=0x55e6cc71de70, result=<optimized out>, user_data=<optimized out>) at ../src/font-model.c:213
        self = 0x55e6cc71de70
        items = <optimized out>
#1  0x00007fde03bad09c in g_task_return_now (task=0x55e6d2acf870) at ../gio/gtask.c:1309
#2  0x00007fde03bad0d5 in complete_in_idle_cb (task=task@entry=0x55e6d2acf870) at ../gio/gtask.c:1323
#3  0x00007fde047e039d in g_idle_dispatch (source=0x7fddd403eb40, callback=0x7fde03bad0c0 <complete_in_idle_cb>, user_data=0x55e6d2acf870) at ../glib/gmain.c:6163
        idle_source = 0x7fddd403eb40
        again = <optimized out>
#4  0x00007fde047e439c in g_main_dispatch (context=0x55e6cc4ef540) at ../glib/gmain.c:3460
        dispatch = 0x7fde047e0370 <g_idle_dispatch>
        prev_source = 0x0
        begin_time_nsec = 105540493055
        was_in_call = 0
        user_data = 0x55e6d2acf870
        callback = 0x7fde03bad0c0 <complete_in_idle_cb>
        cb_funcs = 0x7fde048cf380 <g_source_callback_funcs>
        cb_data = 0x7fddd4034880
        need_destroy = <optimized out>
        source = 0x7fddd403eb40
        current = 0x55e6cc503a90
        i = 9
#5  g_main_context_dispatch (context=0x55e6cc4ef540) at ../glib/gmain.c:4200
#6  0x00007fde04842438 in g_main_context_iterate.isra.0 (context=0x55e6cc4ef540, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = 2
        allocated_nfds = <optimized out>
        fds = <optimized out>
        begin_time_nsec = 105522735739
#7  0x00007fde047e1a23 in g_main_context_iteration (context=context@entry=0x55e6cc4ef540, may_block=may_block@entry=1) at ../glib/gmain.c:4343
        retval = <optimized out>
#8  0x00007fde03be2ffd in g_application_run (application=application@entry=0x55e6cc4ec450, argc=argc@entry=2, argv=argv@entry=0x7ffd0338f018) at ../gio/gapplication.c:2573
        arguments = 0x55e6cc4ee490
        status = 0
        context = 0x55e6cc4ef540
        acquired_context = <optimized out>
        __func__ = "g_application_run"
#9  0x000055e6cbc3d91c in main (argc=2, argv=0x7ffd0338f018) at ../src/main.c:59
        app = 0x55e6cc4ec450
        retval = <optimized out>
quit

Comment 1 Adam Williamson 2023-08-15 19:47:12 UTC
Moved to https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/22 .


Note You need to log in before you can comment on or make changes to this bug.