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(a)gmail.com
Reporter: stefanb(a)us.ibm.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, dcavalca(a)fb.com,
dvlasenk(a)redhat.com,
epel-packagers-sig(a)lists.fedoraproject.org,
spotrh(a)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...
Retrieving
https://kojipkgs.fedoraproject.org//packages/busybox/1.34.1/1.fc36/x86_64...
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:
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2082587