<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 06.04.2011 um 11:38 schrieb Gary Byers:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>2.6.18 is several years old (was released in 2006), though it looks<br>like the particular kernel you're using was built more recently (with<br>an unknown set of mystery patches.)<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><div><br></div>I see. It's our IT department who does the updating, and I was in the belief that they updated to new versions. Surprise.<br><br><blockquote type="cite"><div>We stopped using the MAP_GROWSDOWN option a long time ago (early September 2010).<br></div></blockquote><div><br></div><div>I remember that, and it also fixed a similar problem I had then.</div><br><blockquote type="cite"><div>The two possibilities that come to mind are:<br><br>- the lx86cl64 binary that you're using is very old. This can happen if the<br> file's been locally modified: 'svn update' will refuse to overwrite the<br> file in that case. You can do:<br><br>$ cd ccl<br>$ svn revert lx86cl64<br><br>and if that says that it reverted the file and that fixes the problem, you owe<br>me US $8.<br></div></blockquote><div><br></div><div>Even if I somehow feel that I owe you more than US $8, you won't get these $8. It does not fix the problem, my binary was up-to-date.</div><br><blockquote type="cite"><div> - MAP_GROWSDOWN isn't being used, but the Linux kernel that you're using returns<br> an unmapped page anyway. I have not seen this behavior in the kernels<br> distributed by current Ubuntu or Fedora releases and I don't know how that<br> behavior would not be a bug in mmap(). This doesn't seem very likely.<br><br>The code in question has called MapMemoryForStack(), which in turn calls mmap()<br>with some standard/portable options. If that returns something other than<br>MAP_FAILED, the address that mmap() returns is returned to create_stack(), which<br>then tries to to store the size of the stack in the word at that address. If <br>you get a bus error at that point, then I can't think of a reason for that besides<br>those mentioned above.<br></div></blockquote></div><div><br></div><div>Thanks for the explanation. I will investigate this further with our IT people.</div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">-- <br>Paul</span>
</div>
<br></body></html>