lnav: Latest version crashes on Arch Linux

lnav version v0.12.1

Describe the bug

Hello, Arch maintainer of lnav here 👋🏼

I just built the last version and tried it out on my system. However, it is crashing with any file as follows:

==== GURU MEDITATION ====
Unfortunately, lnav has crashed, sorry for the inconvenience.

You can help improve lnav by sending the following file to lnav@googlegroups.com :
  /home/orhun/.config/lnav/crash/crash-2024-03-30-22-54-01.158229.log
=========================

I attached the crash logs.

To Reproduce

Just run lnav with any file.

crash-2024-03-30-22-54-01.158229.log

About this issue

  • Original URL
  • State: closed
  • Created 3 months ago
  • Comments: 22 (12 by maintainers)

Commits related to this issue

Most upvoted comments

v0.12.2 has been released, can you give that a go?

I’m also using aarch-linux and ran into the same issue this morning.

Version 0.11.2 also crashed for me, which is why I tried 0.12.1.

Manually compiled the latest version 84000f46f7607ff9aef710b2432e23035cbb185e which does not crash for me 😃

I recommend fast-tracking the release of v0.12.2, such that NixOS users on aarch-linux can use a working version, then I’ll update my lnav upgrade PR here https://github.com/NixOS/nixpkgs/pull/304752

EDIT

I misread Arch Linux as Aarch Linux (the cpu architecture)… Sorry about that. The crashing also appears on aarch64-linux on NixOS. 84000f46f7607ff9aef710b2432e23035cbb185e does not appear to crash, however it does hang/freeze and use 100% CPU after a few minutes with small (<1MB) log files. Update: turns out this is a distinct issue: https://github.com/tstack/lnav/issues/1257

I’m probably going to release v0.12.2 in the next few days, maybe just skip 0.12.1 for now…

I think I know what it might be, I’ll get it fixed tonight.

Thanks for maintaining the arch package!