public inbox for frysk-bugzilla@sourceware.org help / color / mirror / Atom feed
* [Bug general/3907] New: FryskHelpManager uses Runtime.exec
@ 2007-01-23 17:22 cagney at redhat dot com
2007-01-23 17:29 ` [Bug general/3907] " cagney at redhat dot com
2007-01-26 14:54 ` rmoseley at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2007-01-23 17:22 UTC (permalink / raw)
To: frysk-bugzilla
The problem with Runtime.exec is that it uses "SIGCHLD" and waitpid to clean up
after the created subprocess. Since frysk is also managing those kernel
interfaces a chash occures.
Instead the code should more directly use frysk.sys.Fork.exec or similar to
create the child process.
--
Summary: FryskHelpManager uses Runtime.exec
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: cagney at redhat dot com
OtherBugsDependingO 3398
nThis:
http://sourceware.org/bugzilla/show_bug.cgi?id=3907
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread* [Bug general/3907] FryskHelpManager uses Runtime.exec 2007-01-23 17:22 [Bug general/3907] New: FryskHelpManager uses Runtime.exec cagney at redhat dot com @ 2007-01-23 17:29 ` cagney at redhat dot com 2007-01-26 14:54 ` rmoseley at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: cagney at redhat dot com @ 2007-01-23 17:29 UTC (permalink / raw) To: frysk-bugzilla ------- Additional Comments From cagney at redhat dot com 2007-01-23 17:29 ------- The method frysk.sys.Fork.daemon() would be best as it re-parents the process to not be frysk. Of course, this also has the disadvantage of not being able to determine when the program fails to start. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3907 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug general/3907] FryskHelpManager uses Runtime.exec 2007-01-23 17:22 [Bug general/3907] New: FryskHelpManager uses Runtime.exec cagney at redhat dot com 2007-01-23 17:29 ` [Bug general/3907] " cagney at redhat dot com @ 2007-01-26 14:54 ` rmoseley at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: rmoseley at redhat dot com @ 2007-01-26 14:54 UTC (permalink / raw) To: frysk-bugzilla ------- Additional Comments From rmoseley at redhat dot com 2007-01-26 14:54 ------- Converted to use frysk.sys.Fork.daemon(). Now causes backtraces on initial activation. This has been enumerated in bz #3927. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=3907 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-26 14:54 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-01-23 17:22 [Bug general/3907] New: FryskHelpManager uses Runtime.exec cagney at redhat dot com 2007-01-23 17:29 ` [Bug general/3907] " cagney at redhat dot com 2007-01-26 14:54 ` rmoseley at redhat dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).