Project

General

Profile

Actions

Feature #4311

closed

blocking stderr output inhibits the program?

Added by neels over 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
libosmocore
Target version:
-
Start date:
12/06/2019
Due date:
% Done:

100%

Spec Reference:

Description

I'm currently using urxvt (rxvt-unicode) as terminal program (not sure why, but...)
and I am every now and then seeing odd behavior when the terminal is scrolled up into scrollback, so that new output lines are not seen.

It seems to me that after a while urxvt stops reading from stdout/stderr. That is weird enough in itself, but the Osmocom related problem:
Apparently the server program stops interacting when the log output stops reading?

Even though stderr (or any other log target) is not writable, IMO we should still continue to serve all protocols as usual.
A blocking log target should not affect server operation.

Investigate whether my vague impression is correct and find ways to fix that in logging.c.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)