GNOME Bugzilla – Bug 642379
Crash Opening Document
Last modified: 2011-03-03 16:15:40 UTC
Pdfmod is crashing when opening the attached document: [1 Debug 09:28:40.824] Loaded /home/largo/tmp/dkr.pdf Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.InvalidOperationException: Indirect reference without value. at PdfSharp.Pdf.PdfDictionary+DictionaryElements.GetValue (System.String key, VCF options) [0x00000] in <filename unknown>:0 at PdfSharp.Pdf.Advanced.PdfCatalog.get_Outlines () [0x00000] in <filename unknown>:0 at PdfSharp.Pdf.PdfDocument.get_Outlines () [0x00000] in <filename unknown>:0 at PdfMod.Gui.BookmarkView.SetDocument (PdfMod.Pdf.Document new_doc) [0x00000] in <filename unknown>:0 at PdfMod.Gui.Client+<LoadPath>c__AnonStorey10.<>m__22 () [0x00000] in <filename unknown>:0 at Hyena.ThreadAssist+<BlockingProxyToMain>c__AnonStoreyF.<>m__4 () [0x00000] in <filename unknown>:0 at PdfMod.Gui.Client+<RunIdle>c__AnonStorey14.<>m__21 () [0x00000] in <filename unknown>:0 at GLib.Idle+IdleProxy.Handler () [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.Idle+IdleProxy.Handler() at Gtk.Application.gtk_main() at Gtk.Application.Run() at PdfMod.Gui.Client..ctor(Boolean loadFiles) at PdfMod.PdfMod.Main(System.String[] args) drichard@linux-xmvz:/usr/local/bin>
Created attachment 180894 [details] Offending Document
*** Bug 643784 has been marked as a duplicate of this bug. ***
*** Bug 643783 has been marked as a duplicate of this bug. ***
commit 973c365b7a9f3e5b58feedc51fb02a07413453e8 Author: Gabriel Burt <gabriel.burt@gmail.com> Date: Thu Mar 3 09:35:37 2011 [PdfSharp] Handle Outlines' iref pointing to null If it does, remove it and recreate it. Fixes a bug in PDF Mod where some documents would fail to load b/c the Outlines' iref pointed to null (bgo#642379).
*** Bug 639684 has been marked as a duplicate of this bug. ***
*** Bug 633173 has been marked as a duplicate of this bug. ***