You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lnav version
Reproduced with the static linux executable of 0.11.2 found on https://lnav.org/downloads on ubuntu 20.04 and on commit 930748a (master of a few days ago) on nixos 23.05
Describe the bug
When running sql query
;update all_logs as a set log_mark=1 from all_logs as b where a.log_line > b.log_line and a.log_line <= b.log_line + 10 and b.log_time > '2023-09-26T11:00:00' and a.log_text like "%systemd%" and b.log_text like "%btrbk%";
lnav crashes
To Reproduce
Steps to reproduce the behavior:
run lnav tiny where tiny contains the following two lines:
lnav crashes and prompts to open gdb, with the following backtrace:
#0 0x00007f38baaebb27 in __GI___wait4 (pid=0xffffffff, stat_loc=0x7f38ac7fda64, options=0x0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1 0x000000000099e750 in sigabrt (sig=<optimized out>, info=<optimized out>, ctx=<optimized out>) at lnav_log.cc:577
#2 <signal handler called>
#3 0x0000000000855ef9 in logfile_sub_source::indexed_content::operator strong_int<unsigned long, __content_line_distinct> (this=<optimized out>)
at /build/source/src/logfile_sub_source.hh:701
#4 logfile_sub_source::at (vl=..., this=0xcb86b0 <lnav_data+25488>) at /build/source/src/logfile_sub_source.hh:495
#5 log_vtab_impl::is_valid (this=0x2428100, lc=..., lss=...) at log_vtab_impl.cc:226
#6 0x000000000085d3ba in vt_next (cur=0x27a28b0) at log_vtab_impl.cc:516
#7 0x00007f38bb1b0d7a in sqlite3VdbeExec (p=p@entry=0x2667068) at sqlite3.c:98429
#8 0x00007f38bb1ba2c7 in sqlite3Step (p=<optimized out>) at sqlite3.c:88491
#9 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:23016
#10 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:23005
#11 0x00000000005313ca in execute_sql (ec=...,
sql=";update all_logs as a set log_mark=1 from all_logs as b where a.log_line > b.log_line and a.log_line <= b.log_line + 10 and b.log_time > '2023-09-26T11:00:00' and a.log_text like \"%systemd%\" and b.log_text like \"%btrbk%\";", alt_msg="") at ./base/auto_mem.hh:128
#12 0x0000000000737422 in rl_callback_int (rc=0x246f710, is_alt=<optimized out>) at readline_callbacks.cc:715
#13 0x0000000000744eb8 in std::function<void (readline_curses*)>::operator()(readline_curses*) const (this=<optimized out>, __args#0=<optimized out>)
at /nix/store/b7hvml0m3qmqraz1022fwvyyg6fc1vdy-gcc-12.2.0/include/c++/12.2.0/bits/std_function.h:591
#14 0x0000000000740089 in readline_curses::check_poll_set (this=0x246f710, pollfds=...) at readline_curses.cc:1290
#15 0x000000000072d057 in pollable_supervisor::check_poll_set (this=0x20eb410, pollfds=std::vector of length 5, capacity 8 = {...}) at pollable.cc:86
#16 0x00000000004939d3 in looper () at lnav.cc:1870
#17 0x0000000000462676 in main (argc=<optimized out>, argv=<optimized out>) at lnav.cc:3517
The text was updated successfully, but these errors were encountered:
lnav version
Reproduced with the static linux executable of 0.11.2 found on https://lnav.org/downloads on ubuntu 20.04 and on commit 930748a (master of a few days ago) on nixos 23.05
Describe the bug
When running sql query
lnav crashes
To Reproduce
Steps to reproduce the behavior:
run
lnav tiny
where tiny contains the following two lines:(it's an excerpt of journalctl json output)
then run the above sql query
lnav crashes and prompts to open gdb, with the following backtrace:
The text was updated successfully, but these errors were encountered: