OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Bastian Bittorf - 02.11.2021

FS#4118 - logread crashes sometimes

logread is dying several times a day here.
This is with r17950 and at least ath79 and mpc85xx and ramips.

Tue Nov  2 17:12:05 2021 kern.info kernel: [ 3745.330244] do_page_fault(): sending SIGSEGV to logread for invalid write access to 00000000
Tue Nov  2 17:12:05 2021 kern.info kernel: [ 3745.338789] epc = 77de87ac in libc.so[77d60000+a5000]
Tue Nov  2 17:12:05 2021 kern.info kernel: [ 3745.343833] ra  = 004017b3 in logread[400000+3000]

for checking if the log-service is healthy, we do regularly:

ubus call network.device status
ubus call log read
logread >/dev/null

The last call has (when failing) always RC = 139 with above message in log.

Bastian Bittorf commented on 18.11.2021 08:09

the same with r18106 (after GCC11 fix).

relevant config settings are:

system.@system[0].cronloglevel='9'
system.@system[0].log_size='16'

and no memory pressure:

root@ArcherC6U-stube:~ :) free
              total        used        free      shared  buff/cache   available
Mem:         121680       30692       67616        3684       23372       74188
Swap:          4092           0        4092

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing