You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Vitaliy Berdinskikh (JIRA)" <ji...@apache.org> on 2011/01/14 22:48:46 UTC
[jira] Created: (DAEMON-194) deadloop and no return value in
logger_child
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.
[jira] [Updated] (DAEMON-194) deadloop and no return value in
logger_child
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb updated DAEMON-194:
------------------------
Fix Version/s: 1.0.6
> 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
> Assignee: Mladen Turk
> Fix For: 1.0.6
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DAEMON-194) deadloop and no return value in
logger_child
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mladen Turk resolved DAEMON-194.
--------------------------------
Resolution: Fixed
Fixed in the trunk.
> 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
> Assignee: Mladen Turk
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (DAEMON-194) deadloop and no return value in
logger_child
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983083#action_12983083 ]
Mladen Turk commented on DAEMON-194:
------------------------------------
Fixed in the trunk.
It would be nice if you could confirm the fix resolves the issue so we can release 1.0.6
> 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
> Assignee: Mladen Turk
>
> 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.
[jira] Commented: (DAEMON-194) deadloop and no return value in
logger_child
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ 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.