Hi,<div><br></div><div>Here I introduce you a pretty simple program:</div><div><br></div><div><div>int main(int argc, char **argv)</div><div>{</div><div> void *p;</div><div> int i;</div><div> </div><div> for(i=0; ;i++)</div>
<div> {</div><div> p = malloc(65536);</div><div> if (p==NULL)</div><div> USER_PANIC("malloc() returned NULL at %d", i);</div><div> free (p);</div><div> }</div><div> </div><div> return 0;</div>
<div>}</div><div><br></div><div>This is ALWAYS aborting as:</div><div><br></div><div><div>ERROR: myapp.0 in morecore_alloc() ../barrelfish/lib/barrelfish/morecore.c:85</div><div>ERROR: vspace_mmu_aware_map fail</div><div>
Failure: ( libbarrelfish) Out of space in vspace_mmu_aware_map() function [LIB_ERR_VSPACE_MMU_AWARE_NO_SPACE]</div><div>myapp.0 in main() ../barrelfish/usr/tests/myapp/myapp.c:12</div><div>malloc() returned NULL at 16382</div>
<div>Aborted</div></div><div><br></div><div>With the latest Barrelfish tree. Are you aware of this?</div><div><br></div><div><br></div>-- <br>Zeus Gómez Marmolejo<br>Barcelona Supercomputing Center<br>PhD student<br><a href="http://www.bsc.es" target="_blank">http://www.bsc.es</a><br>
<br><br>
</div>