BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000575 [uClibc] Other minor always 12-01-05 15:14 06-03-08 07:27
Reporter akvadrako View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version 0.9.28
Summary 0000575: syslog() blocks when syslogd dies
Description syslog() uses SIGPIPE to detect when the connection to syslogd is severed. However, when SIGPIPE is blocked, it blocks forever. syslog() should use non-blocking IO to ensure it's writes do not block.
Additional Information
Attached Files

- Relationships

- Notes
(0008064)
vda
06-03-08 07:04

Test program:

#include <syslog.h>

int main() {
        int i;
        for (i = 0; i < 10000; i++)
                syslog(LOG_INFO, "Testing, disregard....................");
        return 0;
}

It indeed blocks if e.g. syslogd is stopped.
 
(0008074)
vda
06-03-08 07:27

Fixed in rev 22201, thanks!
 

- Issue History
Date Modified Username Field Change
12-01-05 15:14 akvadrako New Issue
12-01-05 15:14 akvadrako Status new => assigned
12-01-05 15:14 akvadrako Assigned To  => uClibc
06-03-08 07:04 vda Note Added: 0008064
06-03-08 07:27 vda Status assigned => closed
06-03-08 07:27 vda Note Added: 0008074
06-03-08 07:27 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker