Re: 回复: lib/fts.c: return when malloc failed

2023-02-27 Thread Pádraig Brady
On 27/02/2023 11:36, ChuanGang Jiang wrote: I found this by accident and then reproduce it through artificial mem pressure test. And I update the patch as you said. *lib/fts.c:return when malloc failed in function setup_dir() --- lib/fts.c | 6 +- 1 file changed, 5 insertions(+), 1 delet

回复: lib/fts.c: return when malloc failed

2023-02-27 Thread ChuanGang Jiang
: Pádraig Brady 代表 Pádraig Brady 发送时间: 2023年2月26日 23:30 收件人: ChuanGang Jiang ; bug-gnulib@gnu.org 主题: Re: lib/fts.c: return when malloc failed On 26/02/2023 14:46, ChuanGang Jiang wrote: > Hi,‘rm’ of coreutils was terminated with signal SIGSEGV, Segmentation fault. > Here is the backtrace wi

Re: lib/fts.c: return when malloc failed

2023-02-26 Thread Pádraig Brady
On 26/02/2023 14:46, ChuanGang Jiang wrote: Hi,‘rm’ of coreutils was terminated with signal SIGSEGV, Segmentation fault. Here is the backtrace with gdb. Core was generated by `/usr/bin/rm -rf test1/test2/'. Program terminated with signal SIGSEGV, Segmentation fault. #0 cycle_check (state=0x0, s

lib/fts.c: return when malloc failed

2023-02-26 Thread ChuanGang Jiang
Hi,‘rm’ of coreutils was terminated with signal SIGSEGV, Segmentation fault. Here is the backtrace with gdb. Core was generated by `/usr/bin/rm -rf test1/test2/'. Program terminated with signal SIGSEGV, Segmentation fault. #0 cycle_check (state=0x0, sb=sb@entry=0x56296ac29e00) at ../lib/cycle-ch