Bug 2385875 - [abrt] flatpak: check_call(): subprocess.py:419:check_call:subprocess.CalledProcessError: Command '['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'io.github.webcamoid.Webcamoid', '/app/bin/webcamoid', '/tmp/tmpsee
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:521b28fe9a8110c6698bda8fc9b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-31 22:20 UTC by Mr Beedell, Roke Julian Lockhart
Modified: 2025-09-23 22:20 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-09-23 22:20:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (739 bytes, text/plain)
2025-07-31 22:20 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: environ (4.70 KB, text/plain)
2025-07-31 22:20 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: mountinfo (3.77 KB, text/plain)
2025-07-31 22:20 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: open_fds (297 bytes, text/plain)
2025-07-31 22:20 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: namespaces (171 bytes, text/plain)
2025-07-31 22:20 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: backtrace (1.27 KB, text/plain)
2025-07-31 22:20 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: cpuinfo (3.63 KB, text/plain)
2025-07-31 22:20 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github flatpak flatpak issues 6268#issue-3281903935 0 None open [Bug]: Crashes when `flatpak-coredumpctl` is invoked on a PID that doesn't correspond to a package installed with `--inc... 2025-07-31 22:30:39 UTC
Red Hat Bugzilla 2374163 0 unspecified CLOSED [abrt] flatpak: check_call(): subprocess.py:419:check_call:subprocess.CalledProcessError: Command '['flatpak', 'run', '-... 2025-12-03 21:44:30 UTC

Internal Links: 2374163

Description Mr Beedell, Roke Julian Lockhart 2025-07-31 22:20:20 UTC
Description of problem:
> ~~~
> RokeJulianLockhart@Beedell:~$ flatpak-coredumpctl -m 27760 io.github.webcamoid.Webcamoid
> Executable /app/bin/webcamoid doesn't seem to be a flatpaked application.
> Running: `"flatpak" "run" "--filesystem=home" "--filesystem=/tmp" "--command=gdb" "--devel" "io.github.webcamoid.Webcamoid" "/app/bin/webcamoid" "/tmp/tmpseeg2bb7"`
> error: runtime/org.kde.Sdk/x86_64/6.9 not installed
> 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', 'io.github.webcamoid.Webcamoid', '/app/bin/webcamoid', '/tmp/tmpseeg2bb7']' returned non-zero exit status 1.
> ~~~

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

Additional info:
reporter:       libreport-2.17.15
kernel:         6.15.8-200.fc42.x86_64
cmdline:        /usr/bin/python3 /usr/bin/flatpak-coredumpctl -m 27760 io.github.webcamoid.Webcamoid
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole
uid:            1000
reason:         subprocess.py:419:check_call:subprocess.CalledProcessError: Command '['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'io.github.webcamoid.Webcamoid', '/app/bin/webcamoid', '/tmp/tmpseeg2bb7']' 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.5-1.fc42.x86_64

Truncated backtrace:
subprocess.py:419:check_call:subprocess.CalledProcessError: Command '['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'io.github.webcamoid.Webcamoid', '/app/bin/webcamoid', '/tmp/tmpseeg2bb7']' 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', 'io.github.webcamoid.Webcamoid', '/app/bin/webcamoid', '/tmp/tmpseeg2bb7']' returned non-zero exit status 1.

Local variables in innermost frame:
popenargs: (['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'io.github.webcamoid.Webcamoid', '/app/bin/webcamoid', '/tmp/tmpseeg2bb7'],)
kwargs: {}
retcode: 1
cmd: ['flatpak', 'run', '--filesystem=home', '--filesystem=/tmp', '--command=gdb', '--devel', 'io.github.webcamoid.Webcamoid', '/app/bin/webcamoid', '/tmp/tmpseeg2bb7']

Comment 1 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:20:24 UTC
Created attachment 2102218 [details]
File: os_info

Comment 2 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:20:26 UTC
Created attachment 2102219 [details]
File: environ

Comment 3 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:20:27 UTC
Created attachment 2102220 [details]
File: mountinfo

Comment 4 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:20:28 UTC
Created attachment 2102221 [details]
File: open_fds

Comment 5 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:20:29 UTC
Created attachment 2102222 [details]
File: namespaces

Comment 6 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:20:30 UTC
Created attachment 2102223 [details]
File: backtrace

Comment 7 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:20:31 UTC
Created attachment 2102224 [details]
File: cpuinfo

Comment 8 Mr Beedell, Roke Julian Lockhart 2025-07-31 22:30:39 UTC
I'd be tempted to mark this as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2374163, if not for the fact that the DotNet referenced in the previous one isn't actually packaged in the sandbox, where this one is, for I merely lack the `.Debug` package, per https://github.com/flatpak/flatpak-docs/blob/3bb6aabb45d30a2e27b201f482b704f89f78c92a/docs/debugging.rst?plain=1#L13:~:text=flatpak%20install%20%2D%2Dinclude%2Dsdk%20%2D%2Dinclude%2Ddebug%20$FLATPAK_ID. I've reported upstream to https://github.com/flatpak/flatpak/issues/6268#issue-3281903935.

Comment 9 Mr Beedell, Roke Julian Lockhart 2025-09-23 22:20:32 UTC
Per https://github.com/flatpak/flatpak/issues/6268#event-19079335153, likely best `CLOSED` as `UPSTREAM`.


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