Bug 2036518

Summary: Realtime portal crash when mapping pids
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: xdg-desktop-portalAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: amigadave, ceasar07, christian.groove, cristian.ciupitu, debarshir, gnome-sig, lemonzest, lnie, pradeepk.dev, rustnnes, vasil.minsk, vincent.datrier
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/027a757692929bf5d42e99dcf900d6586d753db1
Whiteboard: abrt_hash:738fda2c509b58fc55c6279ab077d3693ab3635e;VARIANT_ID=workstation;
Fixed In Version: xdg-desktop-portal-1.12.3-1.fc36 xdg-desktop-portal-1.12.3-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-05 00:15:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Mikhail 2022-01-02 18:59:12 UTC
Version-Release number of selected component:
xdg-desktop-portal-1.12.1-1.fc36

Additional info:
reporter:       libreport-2.15.2
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/xdg-desktop-portal.service
cmdline:        /usr/libexec/xdg-desktop-portal
crash_function: map_pid_if_needed
executable:     /usr/libexec/xdg-desktop-portal
journald_cursor: s=a76b1a85b1a7456f997d82c821828ca1;i=4851c;b=2e5a4214e6e649e68c49975a9b4971cf;m=85a2a85;t=5d496b7a32556;x=27cad407a5d1d7db
kernel:         5.16.0-0.rc7.20211231git4f3d93c6eaff.52.fc36.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 map_pid_if_needed at src/realtime.c:65
 #2 handle_make_thread_realtime_with_pid at src/realtime.c:123
 #3 ffi_call_unix64 at ../src/x86/unix64.S:76
 #4 ffi_call at ../src/x86/ffi64.c:525
 #5 g_cclosure_marshal_generic at ../gobject/gclosure.c:1534
 #8 _xdp_realtime_skeleton_handle_method_call at src/xdp-dbus.c:29856
 #9 dispatch_in_thread_func at ../gio/gdbusinterfaceskeleton.c:540
 #10 g_task_thread_pool_thread at ../gio/gtask.c:1430
 #12 g_thread_proxy at ../glib/gthread.c:827
 #14 clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Comment 1 Mikhail 2022-01-02 18:59:15 UTC
Created attachment 1848618 [details]
File: backtrace

Comment 2 Mikhail 2022-01-02 18:59:16 UTC
Created attachment 1848619 [details]
File: core_backtrace

Comment 3 Mikhail 2022-01-02 18:59:17 UTC
Created attachment 1848620 [details]
File: cpuinfo

Comment 4 Mikhail 2022-01-02 18:59:18 UTC
Created attachment 1848621 [details]
File: dso_list

Comment 5 Mikhail 2022-01-02 18:59:20 UTC
Created attachment 1848622 [details]
File: environ

Comment 6 Mikhail 2022-01-02 18:59:21 UTC
Created attachment 1848623 [details]
File: exploitable

Comment 7 Mikhail 2022-01-02 18:59:22 UTC
Created attachment 1848624 [details]
File: limits

Comment 8 Mikhail 2022-01-02 18:59:23 UTC
Created attachment 1848625 [details]
File: maps

Comment 9 Mikhail 2022-01-02 18:59:24 UTC
Created attachment 1848626 [details]
File: mountinfo

Comment 10 Mikhail 2022-01-02 18:59:25 UTC
Created attachment 1848627 [details]
File: open_fds

Comment 11 Mikhail 2022-01-02 18:59:26 UTC
Created attachment 1848628 [details]
File: proc_pid_status

Comment 12 Ben Cotton 2022-02-08 21:17:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 13 Ankur Sinha (FranciscoD) 2022-03-24 10:19:30 UTC
Similar problem has been detected:

Seems to happen rather frequently now.

reporter:       libreport-2.17.1
backtrace_rating: 3
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/xdg-desktop-portal.service
cmdline:        /usr/libexec/xdg-desktop-portal
crash_function: map_pid_if_needed
executable:     /usr/libexec/xdg-desktop-portal
journald_cursor: s=06974169e13547638fceb106878c02da;i=df5f28;b=eeb67f386fec48a5914b7b79ce483483;m=4db2967;t=5daf40333400c;x=4a770b870c259940
kernel:         5.17.0-0.rc7.116.fc36.x86_64
package:        xdg-desktop-portal-1.12.1-2.fc36
reason:         xdg-desktop-portal killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 14 Debarshi Ray 2022-03-28 18:18:50 UTC
This is:
  https://github.com/flatpak/xdg-desktop-portal/issues/709


... and affects Fedora >= 35.

Comment 15 Debarshi Ray 2022-03-28 18:19:00 UTC
*** Bug 2066588 has been marked as a duplicate of this bug. ***

Comment 16 Debarshi Ray 2022-03-28 18:19:11 UTC
*** Bug 2063964 has been marked as a duplicate of this bug. ***

Comment 17 Fedora Update System 2022-03-28 20:59:05 UTC
FEDORA-2022-357ef7c464 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-357ef7c464

Comment 18 Fedora Update System 2022-03-29 01:22:22 UTC
FEDORA-2022-357ef7c464 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-357ef7c464`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-357ef7c464

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Andreas Gnau 2022-03-29 07:30:51 UTC
Similar problem has been detected:

I do not know exactly how this happened. The system woke from suspend an connected to an airport wifi-network with a captive portal.

reporter:       libreport-2.15.2
backtrace_rating: 3
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/xdg-desktop-portal.service
cmdline:        /usr/libexec/xdg-desktop-portal
crash_function: map_pid_if_needed
executable:     /usr/libexec/xdg-desktop-portal
journald_cursor: s=70629edcf0fd47c792279e2db3f52e33;i=957f;b=ba10de0aadbb46f392793a2aa886e558;m=13c6be3c6d;t=5db55f9bb5d65;x=9208d60a8d7c0281
kernel:         5.16.16-200.fc35.x86_64
package:        xdg-desktop-portal-1.12.1-1.fc35
reason:         xdg-desktop-portal killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 20 Fedora Update System 2022-03-29 10:32:40 UTC
FEDORA-2022-8d297421fd has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8d297421fd

Comment 21 Debarshi Ray 2022-03-29 10:34:51 UTC
(In reply to Andreas Gnau from comment #19)
> Similar problem has been detected:
> 
> I do not know exactly how this happened. The system woke from suspend an
> connected to an airport wifi-network with a captive portal.

It happened because WebKit is involved when connecting to a WiFi network with a captive portal.

Comment 22 Debarshi Ray 2022-03-29 18:26:13 UTC
*** Bug 2069723 has been marked as a duplicate of this bug. ***

Comment 23 Fedora Update System 2022-03-30 02:26:19 UTC
FEDORA-2022-8d297421fd has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-8d297421fd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8d297421fd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 24 Diego Bandeira 2022-03-30 13:13:41 UTC
*** Bug 2070129 has been marked as a duplicate of this bug. ***

Comment 25 Ankur Sinha (FranciscoD) 2022-03-31 08:42:33 UTC
*** Bug 2069687 has been marked as a duplicate of this bug. ***

Comment 26 Volkan GÜZEL 2022-04-01 13:19:36 UTC
*** Bug 2070968 has been marked as a duplicate of this bug. ***

Comment 27 Pradeep Kumar 2022-04-03 12:17:58 UTC
*** Bug 2071375 has been marked as a duplicate of this bug. ***

Comment 28 Aaron 2022-04-04 22:44:07 UTC
Similar problem has been detected:

Closed lid to go into sleep mode, got back after few hours, screen didn't turn on again, had to force shutdown with power button.

reporter:       libreport-2.15.2
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/xdg-desktop-portal.service
cmdline:        /usr/libexec/xdg-desktop-portal
crash_function: map_pid_if_needed
executable:     /usr/libexec/xdg-desktop-portal
journald_cursor: s=4756e17249904acf84f96d4dea2c5c06;i=aa8;b=2a3adaf5815146f28f39485a47f0f02a;m=1f565c9;t=5dbd9d46d9613;x=ecc03a0cbb758619
kernel:         5.16.18-200.fc35.x86_64
package:        xdg-desktop-portal-1.12.2-1.fc35
reason:         xdg-desktop-portal killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 29 Fedora Update System 2022-04-05 00:15:33 UTC
FEDORA-2022-357ef7c464 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 30 Fedora Update System 2022-04-05 12:42:51 UTC
FEDORA-2022-8d297421fd has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 31 Debarshi Ray 2022-04-05 18:57:00 UTC
*** Bug 2072005 has been marked as a duplicate of this bug. ***

Comment 32 GroovieMan 2022-04-06 05:57:50 UTC
Salut,

Thanks for the patches, but after upgrade i received this message:
 "Failed to load pk-gtk-module".

Comment 33 Debarshi Ray 2022-04-06 07:47:21 UTC
(In reply to GroovieMan from comment #32)
> Thanks for the patches, but after upgrade i received this message:
>  "Failed to load pk-gtk-module".

That one's usually harmless.  The main thing to look for is whether the crash is gone or not.

Comment 34 Debarshi Ray 2022-04-10 16:12:23 UTC
*** Bug 2054594 has been marked as a duplicate of this bug. ***

Comment 35 Debarshi Ray 2022-04-10 16:17:44 UTC
*** Bug 2063673 has been marked as a duplicate of this bug. ***