I would like to know what the current sbrk()
limit is to debug a SEGV I'm having a hard time with. My code looks good and works in most cases (only one case out of quite many breaks with SEGV.)
I'm thinking it may be in link with the fact that in this case we use a multi-threaded application, but I just can't pinpoint the problem right now. I'd like to compare the SEGV address with the sbrk()
limit to see how off the address is. I'm thinking it could be a mmap()
or some similar address which gets removed under my feet.