<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
Dotan Shavit wrote:
<blockquote cite="mid:200906191802.40915.dotan@shavitos.com" type="cite">
<pre wrap="">On Friday 19 June 2009, Shachar Shemesh wrote:
</pre>
<blockquote type="cite">
<pre wrap="">help?
</pre>
</blockquote>
<pre wrap=""><!---->
>From man vfork:
behavior is undefined if the process created by vfork() returns from the
function in which vfork() was called...
#
</pre>
</blockquote>
Well done, you nailed it.<br>
<br>
Placing an explicit call to exit for the child process solves the
segfault.<br>
<br>
Now I can try and find out why this doesn't work with fakeroot-ng....
:-)<br>
<br>
Shachar<br>
<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>