xdg-desktop-portal-gnome crashed with SIGSEGV in handle_close()

Bug #2002229 reported by Werner Muth
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xdg-desktop-portal-gnome (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Flameshot stürtzt immer ab nur bei Chrome, bei Firefox nicht

ProblemType: Crash
DistroRelease: Ubuntu 23.04
Package: xdg-desktop-portal-gnome 43.1-2
ProcVersionSignature: Ubuntu 5.19.0-26.27-generic 5.19.7
Uname: Linux 5.19.0-26-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.24.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Jan 8 01:31:09 2023
ExecutablePath: /usr/libexec/xdg-desktop-portal-gnome
JournalErrors:
 Jan 08 01:31:04 hostname flameshot[16813]: Qt: Session management error: Could not open network socket
 Jan 08 01:31:07 hostname <email address hidden>[1571]: flameshot, failed to provide activation token: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.45" (uid=1000 pid=1571 comm="/usr/bin/gnome-shell" label="unconfined") interface="org.kde.StatusNotifierItem" member="ProvideXdgActivationToken" error name="(unset)" requested_reply="0" destination=":1.325" (uid=1000 pid=16660 comm="/snap/flameshot/183/usr/local/bin/flameshot" label="snap.flameshot.flameshot (enforce)")
 Jan 08 01:31:17 hostname systemd[1266]: xdg-desktop-portal-gnome.service: Main process exited, code=dumped, status=11/SEGV
 Jan 08 01:31:17 hostname systemd[1266]: xdg-desktop-portal-gnome.service: Failed with result 'core-dump'.
ProcCmdline: /usr/libexec/xdg-desktop-portal-gnome
SegvAnalysis:
 Segfault happened at: 0x55b02646c239: mov 0x28(%rbx),%eax
 PC (0x55b02646c239) ok
 source "0x28(%rbx)" (0x00000028) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: xdg-desktop-portal-gnome
StacktraceTop:
 ?? ()
 ?? () from /lib/x86_64-linux-gnu/libffi.so.8
 ?? () from /lib/x86_64-linux-gnu/libffi.so.8
 ffi_call () from /lib/x86_64-linux-gnu/libffi.so.8
 g_cclosure_marshal_generic () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: xdg-desktop-portal-gnome crashed with SIGSEGV in ffi_call()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
separator:

Revision history for this message
Werner Muth (seengner) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 handle_close (object=<optimized out>, invocation=0x7fcfe80d68b0, handle=<optimized out>) at ../src/filechooser.c:460
 ffi_call_unix64 () at ../src/x86/unix64.S:104
 ffi_call_int (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:673
 ffi_call (cif=cif@entry=0x7ffe4f214ff0, fn=fn@entry=0x55b02646c1b0 <handle_close>, rvalue=rvalue@entry=0x7ffe4f214f70, avalue=avalue@entry=0x7ffe4f214f30) at ../src/x86/ffi64.c:710
 g_cclosure_marshal_generic (closure=<optimized out>, return_gvalue=<optimized out>, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, marshal_data=<optimized out>) at ../../../gobject/gclosure.c:1536

tags: removed: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in xdg-desktop-portal-gnome (Ubuntu):
importance: Undecided → Medium
summary: - xdg-desktop-portal-gnome crashed with SIGSEGV in ffi_call()
+ xdg-desktop-portal-gnome crashed with SIGSEGV in handle_close()
information type: Private Security → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xdg-desktop-portal-gnome (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.