Re: Huge numbers for incr passed to _sbrk
Bob Dunlop <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 23 at 10:22, Michael Mamic wrote:
> A similar incr value of huge proportions is passed to sbrk when Lua is
> initialized. I need to find out why this is happening so I can adjust for
> it.
Are the library and syscall implementation being compiled with the
same compiler flags and using a common header file for the function
prototype ?
A mismatch in type or parameter passing conventions between caller and
callie could lead to these sorts of errors. But then I'd have expected
just about every function to be affected.
The value seen in the syscall 1431656813 converted to hex is 0x5555596D.
Now all those 5s make me think of stack or memory boundry guard values.
--
Bob Dunlop