https://bugzilla.redhat.com/show_bug.cgi?id=2082587
Bug ID: 2082587 Summary: Busybox 1.35.0-2 crashes Product: Fedora Version: 36 Status: NEW Component: busybox Severity: high Assignee: spotrh@gmail.com Reporter: stefanb@us.ibm.com QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, dcavalca@fb.com, dvlasenk@redhat.com, epel-packagers-sig@lists.fedoraproject.org, spotrh@gmail.com Target Milestone: --- Classification: Fedora
Description of problem:
Busybox 1.35.0-2 is crashing for me
Version-Release number of selected component (if applicable):
1.35.0-2
How reproducible:
I need to downgrade busybox to have it working ...
[stefanb@test ~]$ busybox sh Segmentation fault (core dumped) [stefanb@test ~]$ gdb --args busybox sh GNU gdb (GDB) Fedora 11.2-3.fc36 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.
For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from busybox...
This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.fedoraproject.org/ Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Reading symbols from /home/stefanb/.cache/debuginfod_client/88baa87c0a47de9361e9abdbea1d01d5ee79f832/debuginfo... (gdb) r Starting program: /usr/sbin/busybox sh Downloading separate debug info for /home/stefanb/system-supplied DSO at 0x7ffff7ffd000...
Program received signal SIGSEGV, Segmentation fault. 0x0000000000409597 in parse_config_file () at libbb/appletlib.c:329 329 { (gdb) q A debugging session is active.
Inferior 1 [process 3691] will be killed.
Quit anyway? (y or n) y [stefanb@test ~]$ sudo su - [root@test ~]# busybox sh Segmentation fault (core dumped) [root@test ~]# sudo dnf -y reinstall busybox Last metadata expiration check: 3:08:06 ago on Fri 06 May 2022 06:09:36 AM. Dependencies resolved. =========================================================================================================================================================== Package Architecture Version Repository Size =========================================================================================================================================================== Reinstalling: busybox x86_64 1:1.35.0-2.fc36 fedora 775 k
Transaction Summary ===========================================================================================================================================================
Total download size: 775 k Installed size: 1.5 M Downloading Packages: busybox-1.35.0-2.fc36.x86_64.rpm 4.9 MB/s | 775 kB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------- Total 2.0 MB/s | 775 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Reinstalling : busybox-1:1.35.0-2.fc36.x86_64 1/2 Cleanup : busybox-1:1.35.0-2.fc36.x86_64 2/2 Running scriptlet: busybox-1:1.35.0-2.fc36.x86_64 2/2 Verifying : busybox-1:1.35.0-2.fc36.x86_64 1/2 Verifying : busybox-1:1.35.0-2.fc36.x86_64 2/2
Reinstalled: busybox-1:1.35.0-2.fc36.x86_64
Complete! [root@test ~]# busybox ls Segmentation fault (core dumped) [root@test ~]# dnf remove busybox Dependencies resolved. =========================================================================================================================================================== Package Architecture Version Repository Size =========================================================================================================================================================== Removing: busybox x86_64 1:1.35.0-2.fc36 @fedora 1.5 M
Transaction Summary =========================================================================================================================================================== Remove 1 Package
Freed space: 1.5 M Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : busybox-1:1.35.0-2.fc36.x86_64 1/1 Running scriptlet: busybox-1:1.35.0-2.fc36.x86_64 1/1 Verifying : busybox-1:1.35.0-2.fc36.x86_64 1/1
Removed: busybox-1:1.35.0-2.fc36.x86_64
Complete! [root@test ~]# rpm -Uvh https://kojipkgs.fedoraproject.org//packages/busybox/1.34.1/1.fc36/x86_64/bu... Retrieving https://kojipkgs.fedoraproject.org//packages/busybox/1.34.1/1.fc36/x86_64/bu... Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:busybox-1:1.34.1-1.fc36 ################################# [100%] [root@test ~]# busybox sh ~ # [root@test ~]# logout [stefanb@test ~]$ busybox sh ~ $
Expected results:
Busybox should work.
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=2082587
Stefan Berger stefanb@us.ibm.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Stefan Berger stefanb@us.ibm.com --- Trying to upgrade to the latest build doesn't unfortunately solve the issue but I see you're not statically linking busybox anymore at this point ...
[root@test ~]# rpm -Uvh https://kojipkgs.fedoraproject.org//packages/busybox/1.35.0/4.fc36/x86_64/bu... Retrieving https://kojipkgs.fedoraproject.org//packages/busybox/1.35.0/4.fc36/x86_64/bu... error: Failed dependencies: ld-musl-x86_64.so.1()(64bit) is needed by busybox-1:1.35.0-4.fc36.x86_64
https://bugzilla.redhat.com/show_bug.cgi?id=2082587
--- Comment #2 from Stefan Berger stefanb@us.ibm.com --- busybox-1.35.0-4.fc36.x86_64 resolves the crashing issue. Unfortunately it is not statically linked anymore:
# ldd /sbin/busybox.musl.static linux-vdso.so.1 (0x00007ffcf0797000) ld-musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x00007f15f5b85000)
https://bugzilla.redhat.com/show_bug.cgi?id=2082587
--- Comment #3 from Ben Cotton bcotton@redhat.com --- This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
https://bugzilla.redhat.com/show_bug.cgi?id=2082587
Stefan Berger stefanb@us.ibm.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |ERRATA Last Closed| |2023-04-25 17:14:43
epel-packagers-sig@lists.fedoraproject.org