RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1906966 - xdg-desktop-portal core dumps when using "open url" in flatpak app
Summary: xdg-desktop-portal core dumps when using "open url" in flatpak app
Keywords:
Status: CLOSED DUPLICATE of bug 1886025
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: xdg-desktop-portal
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: David King
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-12 00:50 UTC by Leon Fauster
Modified: 2020-12-14 13:51 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-14 13:50:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Leon Fauster 2020-12-12 00:50:48 UTC
Description of problem:

xdg-desktop-portal core dumps when using "open url" in flatpak app.


Version-Release number of selected component (if applicable):

$ rpm -q flatpak xdg-desktop-portal 
flatpak-1.6.2-4.el8.x86_64
xdg-desktop-portal-1.6.0-2.el8.x86_64



How reproducible:

$ systemctl --user status xdg-desktop-portal
● xdg-desktop-portal.service - Portal service
   Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static; vendor preset: enabled)
   Active: failed (Result: signal) since Sat 2020-12-12 01:40:13 CET; 4s ago
  Process: 73204 ExecStart=/usr/libexec/xdg-desktop-portal (code=killed, signal=SEGV)
 Main PID: 73204 (code=killed, signal=SEGV)


$ systemctl --user restart xdg-desktop-portal

$ systemctl --user status xdg-desktop-portal
● xdg-desktop-portal.service - Portal service
   Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static; vendor preset: enabled)
   Active: active (running) since Sat 2020-12-12 01:40:53 CET; 3s ago
 Main PID: 73444 (xdg-desktop-por)
   CGroup: /user.slice/user-1200.slice/user/xdg-desktop-portal.service
           └─73444 /usr/libexec/xdg-desktop-portal








Actual results:
Dez 12 01:40:53 evaluation.localdomain systemd[70136]: Starting Portal service...
Dez 12 01:40:53 evaluation.localdomain systemd[70136]: Started Portal service.
Dez 12 01:41:11 evaluation.localdomain kernel: pool[73486]: segfault at 0 ip 00007f60f93889e4 sp 00007f60e5799968 error 4 in libglib-2.0.so.0.5600.4[7f60f934c000+116000]
Dez 12 01:41:11 evaluation.localdomain kernel: Code: 84 00 00 00 00 00 f3 0f 1e fa 48 83 ec 08 e8 b3 f1 fd ff 85 c0 0f 94 c0 48 83 c4 08 0f b6 c0 c3 66 0f 1f 44 00 00 f3 0f 1e fa <0f> be 17 b8 05 15 00 00 84 d2 74 18 89 c1 48 83 c7 01 c1 e1 05 01
Dez 12 01:41:11 evaluation.localdomain systemd[1]: Started Process Core Dump (PID 73493/UID 0).
Dez 12 01:41:11 evaluation.localdomain systemd[70136]: xdg-desktop-portal.service: Main process exited, code=killed, status=11/SEGV
Dez 12 01:41:11 evaluation.localdomain systemd[70136]: xdg-desktop-portal.service: Failed with result 'signal'.
Dez 12 01:41:11 evaluation.localdomain systemd-coredump[73494]: Process 73444 (xdg-desktop-por) of user 1200 dumped core.
                                                           
                                                           Stack trace of thread 73486:
                                                           #0  0x00007f60f93889e4 g_str_hash (libglib-2.0.so.0)
                                                           #1  0x00007f60f9387e38 g_hash_table_lookup (libglib-2.0.so.0)
                                                           #2  0x00007f60f99b2f7e g_desktop_app_info_new (libgio-2.0.so.0)
                                                           #3  0x00005653412d6768 app_exists (xdg-desktop-portal)
                                                           #4  0x00005653412d7eaf handle_open_in_thread_func (xdg-desktop-portal)
                                                           #5  0x00007f60f994c377 g_task_thread_pool_thread (libgio-2.0.so.0)
                                                           #6  0x00007f60f93c2753 g_thread_pool_thread_proxy (libglib-2.0.so.0)
                                                           #7  0x00007f60f93c1d4a g_thread_proxy (libglib-2.0.so.0)
                                                           #8  0x00007f60f8f1c14a start_thread (libpthread.so.0)
                                                           #9  0x00007f60f8c4df23 __clone (libc.so.6)
                                                           
                                                           Stack trace of thread 73445:
                                                           #0  0x00007f60f8c42ca1 __poll (libc.so.6)
                                                           #1  0x00007f60f93999b6 g_main_context_iterate.isra.21 (libglib-2.0.so.0)
                                                           #2  0x00007f60f9399ae0 g_main_context_iteration (libglib-2.0.so.0)
                                                           #3  0x00007f60f9399b31 glib_worker_main (libglib-2.0.so.0)
                                                           #4  0x00007f60f93c1d4a g_thread_proxy (libglib-2.0.so.0)
                                                           #5  0x00007f60f8f1c14a start_thread (libpthread.so.0)
                                                           #6  0x00007f60f8c4df23 __clone (libc.so.6)
                                                           
                                                           Stack trace of thread 73444:
                                                           #0  0x00007f60f8c42ca1 __poll (libc.so.6)
                                                           #1  0x00007f60f93999b6 g_main_context_iterate.isra.21 (libglib-2.0.so.0)
                                                           #2  0x00007f60f9399d72 g_main_loop_run (libglib-2.0.so.0)
                                                           #3  0x00005653412d3f59 main (xdg-desktop-portal)
                                                           #4  0x00007f60f8b747b3 __libc_start_main (libc.so.6)
                                                           #5  0x00005653412d41de _start (xdg-desktop-portal)
                                                           
                                                           Stack trace of thread 73489:
                                                           #0  0x00007f60f8c4878d syscall (libc.so.6)
                                                           #1  0x00007f60f93e0ade g_cond_wait_until (libglib-2.0.so.0)
                                                           #2  0x00007f60f936c031 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)
                                                           #3  0x00007f60f93c2892 g_thread_pool_thread_proxy (libglib-2.0.so.0)
                                                           #4  0x00007f60f93c1d4a g_thread_proxy (libglib-2.0.so.0)
                                                           #5  0x00007f60f8f1c14a start_thread (libpthread.so.0)
                                                           #6  0x00007f60f8c4df23 __clone (libc.so.6)
                                                           
                                                           Stack trace of thread 73449:
                                                           #0  0x00007f60f8c4e257 epoll_wait (libc.so.6)
                                                           #1  0x00007f60d75fa985 impl_pollfd_wait (libspa-support.so)
                                                           #2  0x00007f60d75f8719 loop_iterate (libspa-support.so)
                                                           #3  0x00007f60f9ea8d86 do_loop (libpipewire-0.3.so.0)
                                                           #4  0x00007f60f8f1c14a start_thread (libpthread.so.0)
                                                           #5  0x00007f60f8c4df23 __clone (libc.so.6)
                                                           
                                                           Stack trace of thread 73450:
                                                           #0  0x00007f60f8c19fc8 __nanosleep (libc.so.6)
                                                           #1  0x00007f60f8c19ece sleep (libc.so.6)
                                                           #2  0x00005653412eacf3 background_monitor (xdg-desktop-portal)
                                                           #3  0x00007f60f93c1d4a g_thread_proxy (libglib-2.0.so.0)
                                                           #4  0x00007f60f8f1c14a start_thread (libpthread.so.0)
                                                           #5  0x00007f60f8c4df23 __clone (libc.so.6)
                                                           
                                                           Stack trace of thread 73446:
                                                           #0  0x00007f60f8c42ca1 __poll (libc.so.6)
                                                           #1  0x00007f60f93999b6 g_main_context_iterate.isra.21 (libglib-2.0.so.0)
                                                           #2  0x00007f60f9399d72 g_main_loop_run (libglib-2.0.so.0)
                                                           #3  0x00007f60f998f55a gdbus_shared_thread_func (libgio-2.0.so.0)
                                                           #4  0x00007f60f93c1d4a g_thread_proxy (libglib-2.0.so.0)
                                                           #5  0x00007f60f8f1c14a start_thread (libpthread.so.0)
                                                           #6  0x00007f60f8c4df23 __clone (libc.so.6)
                                                           
                                                           Stack trace of thread 73448:
                                                           #0  0x00007f60f8c42ca1 __poll (libc.so.6)
                                                           #1  0x00007f60f93999b6 g_main_context_iterate.isra.21 (libglib-2.0.so.0)
                                                           #2  0x00007f60f9399ae0 g_main_context_iteration (libglib-2.0.so.0)
                                                           #3  0x00007f60e41cae6d dconf_gdbus_worker_thread (libdconfsettings.so)
                                                           #4  0x00007f60f93c1d4a g_thread_proxy (libglib-2.0.so.0)
                                                           #5  0x00007f60f8f1c14a start_thread (libpthread.so.0)
                                                           #6  0x00007f60f8c4df23 __clone (libc.so.6)
                                                           
                                                           Stack trace of thread 73487:
                                                           #0  0x00007f60f8c4878d syscall (libc.so.6)
                                                           #1  0x00007f60f93dffec g_mutex_lock_slowpath (libglib-2.0.so.0)
                                                           #2  0x00005653412e11d8 close_requests_in_thread_func (xdg-desktop-portal)
                                                           #3  0x00007f60f994c377 g_task_thread_pool_thread (libgio-2.0.so.0)
                                                           #4  0x00007f60f93c2753 g_thread_pool_thread_proxy (libglib-2.0.so.0)
                                                           #5  0x00007f60f93c1d4a g_thread_proxy (libglib-2.0.so.0)
                                                           #6  0x00007f60f8f1c14a start_thread (libpthread.so.0)
                                                           #7  0x00007f60f8c4df23 __clone (libc.so.6)
Dez 12 01:41:11 evaluation.localdomain systemd[1]: systemd-coredump: Succeeded.

Comment 1 Leon Fauster 2020-12-12 16:47:42 UTC
resolved: https://bugzilla.redhat.com/show_bug.cgi?id=1886025

Comment 2 David King 2020-12-14 13:50:55 UTC

*** This bug has been marked as a duplicate of bug 1886025 ***


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