-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
rhel-8.9.0
-
None
-
None
-
None
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
1
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
All
-
None
Sample backtrace:
(gdb) bt #0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:62 #1 0x00007fc00fcdb672 in __GI___strdup (s=0x0) at strdup.c:41 #2 0x000055f19748da88 in sh_histinit (sh_context=sh_context@entry=0x55f1977de780 <sh>) at /usr/src/debug/ksh-20120801-259.el8.x86_64/src/cmd/ksh93/edit/history.c:398 #3 0x000055f197477215 in exfile (shp=shp@entry=0x55f1977de780 <sh>, iop=0x55f1977dc4a0 <_Sfstdin>, fno=fno@entry=0) at /usr/src/debug/ksh-20120801-259.el8.x86_64/src/cmd/ksh93/sh/main.c:400 #4 0x000055f197477fbc in sh_main (ac=<optimized out>, av=<optimized out>, userinit=<optimized out>) at /usr/src/debug/ksh-20120801-259.el8.x86_64/src/cmd/ksh93/sh/main.c:353 #5 0x00007fc00fc76d85 in __libc_start_main (main=0x55f197476c50 <main>, argc=2, argv=0x7ffc5a4fc2b8, init=0x55f1975693c0 <__libc_csu_init>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5a4fc2a8) at ../csu/libc-start.c:302 #6 0x000055f197476c8e in _start ()
This should be fixed by either:
https://github.com/ksh93/ksh/commit/9a9da2c299a0adcd36b4efd1b1c0ee2883beba7b
https://github.com/ksh93/ksh/commit/9eb8532ccacf1cfdb7ba18f51eba68776852ef7c