Bug 2374163 - [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
Summary: [abrt] flatpak: check_call(): subprocess.py:419:check_call:subprocess.CalledP...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: 42
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9eaaa70d4ea33197a381344899d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-21 13:23 UTC by Mr Beedell, Roke Julian Lockhart
Modified: 2025-12-03 21:44 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-03 21:44:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (767 bytes, text/plain)
2025-06-21 13:23 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: environ (3.18 KB, text/plain)
2025-06-21 13:23 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: mountinfo (3.63 KB, text/plain)
2025-06-21 13:23 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: open_fds (301 bytes, text/plain)
2025-06-21 13:23 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: namespaces (171 bytes, text/plain)
2025-06-21 13:23 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: backtrace (1.20 KB, text/plain)
2025-06-21 13:23 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: cpuinfo (3.55 KB, text/plain)
2025-06-21 13:23 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github flatpak flatpak issues 6269#issue-3281914465 0 None open [Bug]: `flatpak-coredumpctl` crashes when `-m` is provided with a PID of a binary not installed by a `flatpak` package. 2025-07-31 22:38:18 UTC
Red Hat Bugzilla 2385875 0 unspecified CLOSED [abrt] flatpak: check_call(): subprocess.py:419:check_call:subprocess.CalledProcessError: Command '['flatpak', 'run', '-... 2025-09-23 22:20:32 UTC

Internal Links: 2385875

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!


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