[ http://issues.apache.org/jira/browse/AXISCPP-343?page=all ] nadir amra reopened AXISCPP-343: --------------------------------
My mistake about reset() not being in header file. I forgot to commit some other files. That is now done. I guess I can attempt to see what you problem is so you can send it to me....but I just wanted to correct the copying of objects that was done to help resolve you problem..that broke me. You can click on assignee to see where to send it to if you cannot attache wsdl file to issue. > SIGSEGV deserializing an array of complex elements > -------------------------------------------------- > > Key: AXISCPP-343 > URL: http://issues.apache.org/jira/browse/AXISCPP-343 > Project: Axis-C++ > Type: Bug > Components: Serialization > Versions: 1.4 Final > Environment: RH9 > Reporter: Unai Uribarri > Assignee: Nadir Amra > Fix For: 1.6 Alpha > Attachments: siaam.wsdl > > The function Axis_Create_* (in the following example, the mapItem > object) in the stubs generated by wsdl2ws java tool generates a SIGSEGV > when tring to enlarge an array of objects > mapItem* pNew = new mapItem[nSize]; > memcpy(pNew, pObj, sizeof(mapItem)*nSize/2); > memset(pObj, 0, sizeof(mapItem)*nSize/2); > --> delete [] pObj; <-- SIGSEGV > memset clears the virtual table pointer of the mapItem objects and the delete > operator crash. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
