Re: PASTE on second try causes core dump and abort

Bela Lubkin <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
> I have exported RL_CLCOPY_CMD and RL_PASTE_CMD in my .bashrc and have them
> directed at 'xsel -i' and 'xsel -o' accordingly. Although the problem
> persists even when I use xclip instead of xsel and also no matter if I
> direct the to the primary or the clipboard.
>
> I have added the following to the keymap:
>
> KEYMAP:S:TO_CLIPBOARD
> KEYMAP:W:PASTE
>
> I have tried PASTE_URL instead of PASTE as well with the same result.
>
> When I start lynx the first use of those keys works perfectly and exactly
> as they should. If clipboard is empty pressing 'W' will inform with a
> message that the clipboard is empty. Pressing 'S' and 'L' correctly saves
> link in clipboard. Pressing 'W' in that case will navigate to the
> clipboard-link. Perfect.
>
> However whenever i try it again pressing 'W' with the same link, or with a
> new saved link, or whatever variation I choose, lynx will crash with the
> following message:
>
> A Fatal error has occurred in Lynx Ver. 2.9.0dev.5
>
> Please notify your system administrator to confirm a bug, and
> if confirmed, to notify the lynx-dev list.  Bug reports should
> have concise descriptions of the command and/or URL which causes
> the problem, the operating system name with version number, the
> TCPIP implementation, and any other relevant information.
>
> Do NOT mail the core file if one was generated.
>
> Lynx now exiting with signal:  11
>
> Aborted (core dumped)

Confirmed (on this system's installed Lynx, 2.8.8pre.4).

Sufficient to have 'KEYMAP:W:PASTE' in the effective lynx.cfg, then run:

$ RL_PASTE_CMD='echo /tmp' lynx .

Lynx comes up showing the current directory.  Hit 'W', now it shows
/tmp.  Hit W again, dumps core.

>Bela<
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.