Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault (core dumped) when any flag is used between rpm-ostree and usroverlay #4508

Closed
yuntaz0 opened this issue Jul 21, 2023 · 0 comments · Fixed by #4550
Closed
Labels
triaged This issue was triaged

Comments

@yuntaz0
Copy link

yuntaz0 commented Jul 21, 2023

Host system details

Provide the output of rpm-ostree status.
bash-5.2$ rpm-ostree status
State: idle
Deployments:
fedora:fedora/38/x86_64/kinoite
Version: 38.20230721.0 (2023-07-21T00:54:41Z)
BaseCommit: b0425dde4ff4d559ea99b92f93e9b0a0020bd81bb217d686c7e79fb47c46de7e
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
Diff: 3 upgraded
LayeredPackages: bat exa fcitx5-autostart fcitx5-chinese-addons fd-find ffmpeg-free fish intel-media-driver kate kcm-fcitx5 la-capitaine-cursor-theme langpacks-en
libavcodec-freeworld mpv neovim procs ripgrep tealdeer util-linux-user zoxide
LocalPackages: rpmfusion-free-release-38-1.noarch rpmfusion-nonfree-release-38-1.noarch

● fedora:fedora/38/x86_64/kinoite
Version: 38.20230720.0 (2023-07-20T01:15:57Z)
BaseCommit: 04454cd8a6fd17d48b6ea18ba051fe893fcfea1df1d7f0a654c1a924dd0f588a
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
LayeredPackages: bat exa fcitx5-autostart fcitx5-chinese-addons fd-find ffmpeg-free fish intel-media-driver kate kcm-fcitx5 la-capitaine-cursor-theme langpacks-en
libavcodec-freeworld mpv neovim procs ripgrep tealdeer util-linux-user zoxide
LocalPackages: rpmfusion-free-release-38-1.noarch rpmfusion-nonfree-release-38-1.noarch

fedora:fedora/38/x86_64/silverblue
Version: 38.20230720.0 (2023-07-20T01:10:06Z)
BaseCommit: bda8778bc37579e23a5cd2facc77ba1caedfe4bea3b3dc750cd814035de0339c
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
LayeredPackages: adw-gtk3-theme bat exa fd-find ffmpeg-free ffmpegthumbnailer fish gnome-tweaks intel-media-driver la-capitaine-cursor-theme langpacks-en libavcodec-freeworld
libgda-sqlite mpv nemo neovim procs ripgrep tealdeer util-linux-user xdotool zoxide
LocalPackages: rpmfusion-free-release-38-1.noarch rpmfusion-nonfree-release-38-1.noarch

Expected vs actual behavior

bash-5.2$ rpm-ostree -h usroverlay
Segmentation fault (core dumped)
bash-5.2$ rpm-ostree --help usroverlay
Segmentation fault (core dumped)
bash-5.2$ rpm-ostree -A usroverlay 
Segmentation fault (core dumped)
bash-5.2$ rpm-ostree --ANYFLAG usroverlay 
Segmentation fault (core dumped)

Expected:

bash-5.2$ rpm-ostree usroverlay -h
Usage: rpm-ostree usroverlay

Options:
  -h, --help     Print help (see more with '--help')
  -V, --version  Print version
bash-5.2$ rpm-ostree usroverlay --help
Apply a transient overlayfs to /usr

Usage: rpm-ostree usroverlay

Options:
  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version
bash-5.2$ rpm-ostree usroverlay --ANYFLAG
error: unexpected argument '--ANYFLAG' found

Usage: rpm-ostree usroverlay

For more information, try '--help'.

Steps to reproduce it

  1. Start the terminal.
  2. Run the command rpm-ostree --options usroverlay, replacing --option with any invalid or valid option.

For example, you could use -h (for help), -A (an invalid option).
The issue is reproducible with any option inserted between rpm-ostree and usroverlay

Would you like to work on the issue?

No, I personally have no experience with this project.

@yuntaz0 yuntaz0 changed the title Segmentation fault (core dumped) when running rpm-ostree -h usroverlay or rpm-ostree --help usroverlay Segmentation Fault (core dumped) when any flag is used between rpm-ostree and usroverlay Jul 21, 2023
@cgwalters cgwalters added the triaged This issue was triaged label Aug 25, 2023
cgwalters added a commit to cgwalters/rpm-ostree that referenced this issue Aug 25, 2023
cgwalters added a commit to cgwalters/rpm-ostree that referenced this issue Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged This issue was triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants