Bug 2374163

Summary: [abrt] flatpak: check_call(): subprocess.py:419:check_call:subprocess.CalledProcessError: Command '['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'list', '/usr/lib64/dotnet/dotnet', '/tmp/tmpe9da8gah']' returned n
Product: [Fedora] Fedora Reporter: Mr Beedell, Roke Julian Lockhart <8ru2u4gz>
Component: flatpakAssignee: David King <amigadave>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: 8ru2u4gz, amigadave, debarshir, gnome-sig, kalevlember
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/4ab04aeb3bd543b69566029c34a9c56d6423de1
Whiteboard: abrt_hash:9eaaa70d4ea33197a381344899d03f81b76cf675;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-03 21:44:31 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: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description Mr Beedell, Roke Julian Lockhart 2025-06-21 13:23:38 UTC
Description of problem:
When I ran `flatpak-coredumpctl list`, I saw:

> ~~~
> Executable /usr/lib64/dotnet/dotnet doesn't seem to be a flatpaked application.
> Running: `"flatpak" "run" "--filesystem=home" "--filesystem=/tmp" "--command=gdb" "--devel" "list" "/usr/lib64/dotnet/dotnet" "/tmp/tmpe9da8gah"`
> error: Invalid id list: Names must contain at least 2 periods
> Traceback (most recent call last):
>   File "/usr/bin/flatpak-coredumpctl", line 83, in <module>
>     coredumper.run()
>     ~~~~~~~~~~~~~~^^
>   File "/usr/bin/flatpak-coredumpctl", line 58, in run
>     subprocess.check_call(flatpak_command)
>     ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
>   File "/usr/lib64/python3.13/subprocess.py", line 419, in check_call
>     raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'list', '/usr/lib64/dotnet/dotnet', '/tmp/tmpe9da8gah']' returned non-zero exit status 1.
> ~~~

This corresponds to https://github.com/abrt/gnome-abrt/issues/382#issue-3165050359:~:text=dotnet%2Druntime%2D9.0%2D9.0.5%2D1.fc42.x86_64's%20dotnet9.0%20SIGABRT'd.-,Problem,-Although%20coredumpctl%20(invoked.

Version-Release number of selected component:
flatpak-1.16.1-1.fc42

Additional info:
reporter:       libreport-2.17.15
kernel:         6.14.11-300.fc42.x86_64
cmdline:        /usr/bin/python3 /usr/bin/flatpak-coredumpctl list
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-dev.warp.WarpPreview
uid:            1000
reason:         subprocess.py:419:check_call:subprocess.CalledProcessError: Command '['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'list', '/usr/lib64/dotnet/dotnet', '/tmp/tmpe9da8gah']' returned non-zero exit status 1.
executable:     /usr/bin/flatpak-coredumpctl
type:           Python3
package:        flatpak-1.16.1-1.fc42
runlevel:       N 5
exception_type: subprocess.CalledProcessError
crash_function: check_call
interpreter:    python3-3.13.3-2.fc42.x86_64

Truncated backtrace:
subprocess.py:419:check_call:subprocess.CalledProcessError: Command '['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'list', '/usr/lib64/dotnet/dotnet', '/tmp/tmpe9da8gah']' returned non-zero exit status 1.

Traceback (most recent call last):
  File "/usr/bin/flatpak-coredumpctl", line 83, in <module>
    coredumper.run()
    ~~~~~~~~~~~~~~^^
  File "/usr/bin/flatpak-coredumpctl", line 58, in run
    subprocess.check_call(flatpak_command)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'list', '/usr/lib64/dotnet/dotnet', '/tmp/tmpe9da8gah']' returned non-zero exit status 1.

Local variables in innermost frame:
popenargs: (['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'list', '/usr/lib64/dotnet/dotnet', '/tmp/tmpe9da8gah'],)
kwargs: {}
retcode: 1
cmd: ['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'list', '/usr/lib64/dotnet/dotnet', '/tmp/tmpe9da8gah']

Comment 1 Mr Beedell, Roke Julian Lockhart 2025-06-21 13:23:42 UTC
Created attachment 2094614 [details]
File: os_info

Comment 2 Mr Beedell, Roke Julian Lockhart 2025-06-21 13:23:43 UTC
Created attachment 2094615 [details]
File: environ

Comment 3 Mr Beedell, Roke Julian Lockhart 2025-06-21 13:23:44 UTC
Created attachment 2094616 [details]
File: mountinfo

Comment 4 Mr Beedell, Roke Julian Lockhart 2025-06-21 13:23:45 UTC
Created attachment 2094617 [details]
File: open_fds

Comment 5 Mr Beedell, Roke Julian Lockhart 2025-06-21 13:23:47 UTC
Created attachment 2094618 [details]
File: namespaces

Comment 6 Mr Beedell, Roke Julian Lockhart 2025-06-21 13:23:48 UTC
Created attachment 2094619 [details]
File: backtrace

Comment 7 Mr Beedell, Roke Julian Lockhart 2025-06-21 13:23:49 UTC
Created attachment 2094620 [details]
File: cpuinfo

Comment 8 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:38:18 UTC
Per https://bugzilla.redhat.com/show_bug.cgi?id=2385875#c8, reported upstream, to https://github.com/flatpak/flatpak/issues/6269#issue-3281914465.

Comment 9 Debarshi Ray 2025-12-03 21:44:31 UTC
CLOSED UPSTREAM similar to bug 2385875

Thanks a lot for taking the trouble to purse these upstream!