You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mladen Turk (JIRA)" <ji...@apache.org> on 2011/01/17 18:53:43 UTC

[jira] Commented: (DAEMON-194) deadloop and no return value in logger_child

    [ https://issues.apache.org/jira/browse/DAEMON-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982769#action_12982769 ] 

Mladen Turk commented on DAEMON-194:
------------------------------------

Huh.

You are correct, the entire logger_child function doesn't handle any errors.
It is an infinite loop so if child dies, it'll just continue lopping.

Workaround is not to use syslog until this issue is resolved.


> deadloop and no return value in logger_child
> --------------------------------------------
>
>                 Key: DAEMON-194
>                 URL: https://issues.apache.org/jira/browse/DAEMON-194
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Jsvc
>    Affects Versions: 1.0.5
>         Environment: java 1.6, ant 1.8.2, linux
>            Reporter: Vitaliy Berdinskikh
>
> When make run it write to log:
> ==== log ====
> ...
> gcc -march=i686 -mtune=generic -O2 -pipe -DOS_LINUX -DDSO_DLFCN -DCPU=\"i386\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP  -I/opt/java/include -I/opt/java/include/linux -c jsvc-unix.c -o jsvc-unix.o
> jsvc-unix.c: In function 'logger_child':
> jsvc-unix.c:821:1: warning: no return statement in function returning non-void
> ...
> ==== /log ====
> I instect jsvc-unix.c and not found any break into while loop body of logger_child.
> I think this bug related with [DAEMON-186|https://issues.apache.org/jira/browse/DAEMON-186]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.