SIGSEGV in SwModify::_Remove
Andor E <[email protected]> Fri, 6 May 2011 14:39:06 +0200
| Newsgroups | gmane.comp.openoffice.devel.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, we have created an extension for OpenOffice.org, that implements a custom mail merge function. For every record in a datasource the function appends all the pages from the source document to an output document. The function uses insertDocumentFromURL. After 200-300 loops OpenOffice.org crashes with a SIGSGEV in SwModify::_Remove. As far as I could ascertain, the Iterator pClientIters gets corrupted. Some of its elements aren't valid pointers. I guess, that this is a racing condition. Probably more than one element from the iterator are removed at the same time. Do you know a way to avoid this? Is it possible to disable the SwModify functionality during the processing of the document? Thanks eymux -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help