Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g -Wuninitialized -Wextra -Wno-switch-enum -Wno-unused-variable -Wno-unused-parameter -Wno-parentheses -ftree-loop-linear -pipe -DBNC382214=0 -DIMPORT_FUNCTIONS_DEF=0 uname output: Linux sandkasten 5.14.11-2-default #1 SMP Sun Oct 10 08:34:34 UTC 2021 (834dddd) x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-suse-linux-gnu
Bash Version: 5.1 Patch Level: 8 Release Status: release Description: Calling ulimit -n 1024 results in the message "Warning: Program '/bin/bash' crashed." and bash locks up. Repeat-By: 1. Open bash 2. Enter `ulimit -n 1024' I alwso generated a stacktrace: Program received signal SIGSEGV, Segmentation fault. 0x000055555558c062in string_to_rlimtype(s=0x55555591b570 "1024") at /usr/src/debug/bash-5.1.8-2.1.x86_64/general.c:189 Downloading source file /usr/src/debug/bash-5.1.8-2.1.x86_64/general.c... 189 for( ; s && *s && DIGIT (*s); s++) Missing separate debuginfos, use: zypper install bash-debuginfo-5.1.8-2.1.x86_64 (gdb) bt #0 0x000055555558c062in string_to_rlimtype(s=0x55555591b570 "1024") at /usr/src/debug/bash-5.1.8-2.1.x86_64/general.c:189 #1 0x0000555555617f6bin ulimit_internal(multiple=<optimized out>, mode=<optimized out>, cmdarg=0x55555591b570 "1024", cmd=<optimized out>) at builtins/./ulimit.def:475 #2 ulimit_builtin(list=<optimized out>) at builtins/./ulimit.def:432 #3 0x000055555559e4f3in execute_builtin(builtin=0x555555617760 <ulimit_builtin>, words=0x5555556bac90, flags=0, subshell=0) at /usr/src/debug/bash-5.1.8-2.1.x86_64/execute_cmd.c:4828 #4 0x0000555555596973in execute_builtin_or_function(flags=0, fds_to_close=0x55555591b500, redirects=<optimized out>, var=0x0, builtin=0x555555617760 <ulimit_builtin>, words=0x5555556bac90) at /usr/src/debug/bash-5.1.8-2.1.x86_64/execute_cmd.c:5341 #5 execute_simple_command(simple_command=<optimized out>, pipe_in=-1, pipe_out=-1, async=0, fds_to_close=0x55555591b500) at /usr/src/debug/bash-5.1.8-2.1.x86_64/execute_cmd.c:4597 #6 0x0000555555597cf3in execute_command_internal(command=0x55555591b420, asynchronous=<optimized out>, pipe_in=-1, pipe_out=-1, fds_to_close=0x55555591b500) at /usr/src/debug/bash-5.1.8-2.1.x86_64/execute_cmd.c:845 #7 0x000055555559a319in execute_command(command=0x55555591b420) at /usr/src/debug/bash-5.1.8-2.1.x86_64/execute_cmd.c:395 #8 0x000055555558a365in reader_loop() at /usr/src/debug/bash-5.1.8-2.1.x86_64/eval.c:170 #9 0x000055555557a46ain main(argc=1, argv=0x7fffffffd978, env=0x7fffffffd988) at /usr/src/debug/bash-5.1.8-2.1.x86_64/shell.c:813 Regards Robert