1748180 Members
3761 Online
108759 Solutions
New Discussion

address limit...

 

address limit...

Hi All,

#0 0x400000000029e8c0:0 in SMLibGetSlot (ipcInfoNode=0x9fffffff7f6d0a50)
at smLibrary.c:1074
(gdb) p _smInternal.contextAddr
$1 = (struct _SMLIB_CONTEXT *) 0xffffffffffffffff

what could be reason of 0xffffffffffffffff
for _smInternal.contextAddr..
Is it max address limit?

Thanks in advance...

Regards,
Subrat
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: address limit...

>what could be reason of 0xffffffffffffffff for _smInternal.contextAddr..

How did it get initialized? If you call mmap, it will return -1 (MAP_FAILED).
It could be due to an uninitialized field or memory corruption overwriting it.