Taking a deeper look at the patch fix-580495.patch, I now can tell what is the
reason for the segfault. This patch changes the fixed array "zoomMenuBtns" (a
member of the class XPDFViewer) to a dynamically allocated array with a pointer
to it as a member of the class XPDFViewer. The deletion of the allocated memory
is done in the destructor of class XPDFViewer, where its allocation is done in
the method XPDFViewer::initToolbar. In the scenario where the full screen mode
is switched on and off a constructor and the destructor are called but this
method is not. So the segfault happens when trying to delete memory which was
never allocated.

Best regards,
Jörg-Volker.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to