After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642379 - Crash Opening Document
Crash Opening Document
Status: RESOLVED FIXED
Product: pdfmod
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: pdfmod-maint
pdfmod-maint
: 633173 639684 643783 643784 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-02-15 14:51 UTC by David Richards
Modified: 2011-03-03 16:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Offending Document (35.48 KB, application/pdf)
2011-02-15 14:52 UTC, David Richards
Details

Description David Richards 2011-02-15 14:51:27 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>
Comment 1 David Richards 2011-02-15 14:52:27 UTC
Created attachment 180894 [details]
Offending Document
Comment 2 Gabriel Burt 2011-03-03 15:31:22 UTC
*** Bug 643784 has been marked as a duplicate of this bug. ***
Comment 3 Gabriel Burt 2011-03-03 15:32:06 UTC
*** Bug 643783 has been marked as a duplicate of this bug. ***
Comment 4 Gabriel Burt 2011-03-03 15:38:22 UTC
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).
Comment 5 Gabriel Burt 2011-03-03 16:08:16 UTC
*** Bug 639684 has been marked as a duplicate of this bug. ***
Comment 6 Gabriel Burt 2011-03-03 16:15:40 UTC
*** Bug 633173 has been marked as a duplicate of this bug. ***