Bug 2385875

Summary: [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
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:521b28fe9a8110c6698bda8fc9b474035d19ab65;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-23 22:20:32 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-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`.