On Wed, Jul 20, 2022 at 06:27:34PM -0400, Thomas Dickey wrote:
> On Wed, Jul 20, 2022 at 06:01:01PM -0400, Thomas Dickey wrote:
> > On Wed, Jul 20, 2022 at 05:50:48PM +0200, Cédric Hannotier wrote:
> > > Package: lynx
> > > Version: 2.9.0dev.10-1
> > > Severity: normal
> > > 
> > > Dear Maintainer,
> > > 
> > > Seems that toggling off the "default colors" in the option menu
> > > crashes lynx (segfault).
> > > 
> > > Steps:
> > >  - $ lynx
> > >  - Press o
> > >  - navigate to "Default colors (!)"
> > >  - switch from "ON_" (default) to "OFF"
> > >  - navigate to "Accept Changes" and press enter
> > > 
> > > Disabling it using the command-line option
> > > (lynx -default_colors) seems to work.
> > > However, toggling it ON, then OFF makes it segfault.
> > 
> > thanks (I can reproduce this, will investigate)
> 
> The issue that I can reproduce is in ncurses.

(my traceback is longer than that given in the bug report)

> Will reassign & resolve it there.

The apparent problem is from this change:

20211106
        + fix a memory-leak in del_curterm (prompted by discussion with Bram
          Moolenaar, cf: 20210821).

Lynx uses delscreen (in libncurses*) when resetting curses,
which calls del_curterm (in libtinfo*).

Few programs do this, so it's taken a while to notice.

-- 
Thomas E. Dickey <dic...@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to