[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segment fault in tic
From: |
Ziqiao Kong |
Subject: |
Re: Segment fault in tic |
Date: |
Mon, 24 Apr 2023 01:57:43 +0200 |
Hello,
Thanks for your timely response!
I rebuild it with `./configure`, and it now gives backtrace:
```
Program received signal SIGSEGV, Segmentation fault.
__strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:74
74 ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or directory.
(gdb) bt
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:74
#1 0x000055b37d125f11 in _nc_wrap_entry ()
#2 0x000055b37d1204d0 in _nc_parse_entry ()
#3 0x000055b37d11cee4 in _nc_read_entry_source ()
#4 0x000055b37d1034d6 in main ()
(gdb)
```
bests,
Ziqiao
On Mon, Apr 24, 2023 at 1:52 AM Thomas Dickey <dickey@his.com> wrote:
>
> On Sun, Apr 23, 2023 at 07:48:11PM -0400, Thomas Dickey wrote:
> > On Sun, Apr 23, 2023 at 10:32:39PM +0200, Ziqiao Kong wrote:
> > > Hello,
> > >
> > > Our fuzzer finds a segment fault for tic.
>
> (_not_ a "segment fault").
>
> man abort:
>
> NAME
> abort - cause abnormal process termination
>
> SYNOPSIS
> #include <stdlib.h>
>
> void abort(void);
>
> DESCRIPTION
> The abort() function first unblocks the SIGABRT signal, and then raises
> that signal for the calling process (as though raise(3) was called).
> This results in the abnormal termination of the process unless the
> SIGABRT signal is caught and the signal handler does not return (see
> longjmp(3)).
>
> > >
> > > Steps to reproduce:
> > >
> > > ```
> > > wget -c
> > > "https://invisible-island.net/archives/ncurses/current/ncurses-6.4-20230418.tgz"
> > > tar xf ncurses-6.4-20230418.tgz
> > > cd ncurses-6.4-20230418
> > > ./configure --enable-debug && make -j
> > ^^^^^^^^^^^^^^
> > The core dump is intentional for the debug configuration.
> >
> > (if you're not in the debugger, you'll see the error message printed
> > right before that).
> >
> > --
> > Thomas E. Dickey <dickey@invisible-island.net>
> > https://invisible-island.net
>
>
>
> --
> Thomas E. Dickey <dickey@invisible-island.net>
> https://invisible-island.net