I use the 3.9RC Lib.
When I delete a annotation, the program goes down!
The following logs appear.
A / libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xfffffffc in tid 31128 (Thread-3037)
- code -
vo is Custom ValueObject
Page page = m_doc.GetPage(vo.PageNo);
page.ObjsStart();
int nIndex = page.GetAnnotIndexByRef(vo.AnnotRef);
if (nIndex != -1) {
Page.Annotation annot = page.GetAnnot(nIndex);
annot.RemoveFromPage();
page.Close();
}
if (m_layout != null) {
m_layout.vRenderSync(m_layout.vGetPage(vo.PageNo));
Can you help me?