! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
lost find subprocess
Status:
CLOSED: INVALID

Comments

Description edscott editbugs 2003-12-02 15:18:01 CET
On a lengthy find, if no output is found in the first five seconds, libxffmtubo
is considering the find terminated but it is still running in the background.
Apparently TuboWait(gpointer fork_object) is doing the wait on the wrong child.
Comment 1 edscott editbugs 2003-12-04 17:53:37 CET
The bug is in waitpid() which erroneously returns a program termination status.
Seems like an operating system race condition, which occurs when the process is
being stopped. Putting in a kill(pid,SIGCONT) apparently works to ensure the
process is not in stopped state when the waitpid() is performed. This affects
FreeBSD 5.1 and might not affect other systems, but the workaround will keep it
safe all around.

Bug #26

Reported by:
edscott
Reported on: 2003-12-02
Last modified on: 2009-07-14

People

Assignee:
edscott
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information