lnav icon indicating copy to clipboard operation
lnav copied to clipboard

0 hits if I type the search fast, even though it is highlighted

Open rupebac opened this issue 4 years ago • 1 comments

lnav version 0.10.1 musl version

Describe the bug I am aware of similar issues due to an old version of libpcre3, however I am using the latest 0.10.1 musl version with everything statically linked. So it should be fine. I am on Ubuntu 20.04.

It keeps saying 0 hits when I search in a collection of .gz logs. When I open the single file where I know the hits are, then it seems to work. But again it doesn't when I open it with lnav all.log*.

screenshot

Any idea what is going on?

Also if instead of "pos 1014" I search for "pos\s1014" then it is fine.... Also when I type "pos 1014" but I do it slowly so the results keep appearing on the preview window, then it seems to be fine. However If I just type it fast, it doesn't show any hit.

rupebac avatar Dec 11 '21 11:12 rupebac

Hmm, that's troubling. Would you be able to share your log files with me so I can try to replicate it locally? You can send them to [email protected] if you don't want to attach them to the bug. Otherwise, can you run lnav with the -d /tmp/lnav.dbg.log option to capture some debug logging when the problem occurs.

tstack avatar Dec 14 '21 16:12 tstack