#2740 Coredump due to SIGBUS as the memory at buf->indexPtr[id->id - 1] can not be accessed due to junk value in id->id of ClObjectGetClString function
We are getting a coredump after updating SFCB(1.4.8), openwsman(2.4.10) and sfcc(2.2.7) on enumeration of few classes. Earlier we are using SFCB(1.3.10), Openwsman(2.3.0) and sfcc(2.2.7).
The detailed stack trace of core dump is given in the attachment(SIGBUS_CORE.docx). some of the variable values of frame 0 & 1 are printed.
Our Observations:
The last frame points to function "ClInstanceGetPropertyAt" in objectImpl.c.
Here id->id value is getting corrupted i.e., id->id = 698606012
The detailed stack trace of core dump is given in the attachment(SIGBUS_CORE.docx). some of the variable values of frame 0 & 1 are printed.
Our Observations:
(gdb) print *data
$14 = {type = 5888, state = 0, value = {uint64 = 698606012, uint32 = 698606012, uint16 = 57788, uint8 = 188 '\274', sint64 = 698606012, sint32 = 698606012, sint16 = -7748, sint8 = -68 '\274', real64 = 3.4515723050735763e-315, real32 = 7.27781279e-14, boolean = 188 '\274', char16 = 57788, inst = 0x29a3e1bc <__xmlIOErr+1564>, ref = 0x29a3e1bc <__xmlIOErr+1564>, args = 0x29a3e1bc <__xmlIOErr+1564>, filter = 0x29a3e1bc <__xmlIOErr+1564>, Enum = 0x29a3e1bc <__xmlIOErr+1564>, array = 0x29a3e1bc <__xmlIOErr+1564>, string = 0x29a3e1bc <__xmlIOErr+1564>, chars = 0x29a3e1bc <__xmlIOErr+1564> "\t", dateTime = 0x29a3e1bc <__xmlIOErr+1564>, dataPtr = {ptr = 0x29a3e1bc <__xmlIOErr+1564>, length = 0}, Byte = -68 '\274', Short = -7748, Int = 698606012, Long = 698606012, Float = 7.27781279e-14, Double = 3.4515723050735763e-315}}
so Please share your thoughts on this issue.
Last edit: Chitrak Gupta 2014-10-10
Diff: