** Description changed:

  Binary package hint: pdfmod
  
  When I click on the "open file" button, PDF Mod crashes. Here's the
  output to the terminal:
  
  hunzikea@AlexT400s:~$ pdfmod
  [Debug 13:51:10.365] Starting PdfMod
  [Debug 13:51:10.371] Initializing i18n catalog from /usr/share/locale/
  [Debug 13:51:10.415] Cache directory set to /home/hunzikea/.cache/pdfmod
  Marshaling activate signal
  Exception in Gtk# callback delegate
-   Note: Applications can use GLib.ExceptionManager.UnhandledException to 
handle the exception.
+   Note: Applications can use GLib.ExceptionManager.UnhandledException to 
handle the exception.
  System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. ---> System.ArgumentNullException: Argument cannot be 
null.
  Parameter name: path2
-   at System.IO.Path.Combine (System.String path1, System.String path2) 
[0x00000] in <filename unknown>:0 
-   at Hyena.XdgBaseDirectorySpec.GetXdgDirectoryUnderHome (System.String key, 
System.String fallback) [0x00000] in <filename unknown>:0 
-   at PdfMod.Gui.Client.<CreateChooser>m__A (System.String s) [0x00000] in 
<filename unknown>:0 
-   at 
System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.String,System.String].MoveNext
 () [0x00000] in <filename unknown>:0 
-   at 
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.String].MoveNext
 () [0x00000] in <filename unknown>:0 
-   at System.Collections.Generic.List`1[System.String].AddEnumerable 
(IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
-   at System.Collections.Generic.List`1[System.String]..ctor (IEnumerable`1 
collection) [0x00000] in <filename unknown>:0 
-   at System.Linq.Enumerable.ToArray[String] (IEnumerable`1 source) [0x00000] 
in <filename unknown>:0 
-   at PdfMod.Gui.Client.CreateChooser (System.String title, FileChooserAction 
action) [0x00000] in <filename unknown>:0 
-   at PdfMod.Gui.Actions.OnOpen (System.Object o, System.EventArgs args) 
[0x00000] in <filename unknown>:0 
-   at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke 
(object,object[],System.Exception&)
-   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
-   --- End of inner exception stack trace ---
-   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
-   at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] 
parameters) [0x00000] in <filename unknown>:0 
-   at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in 
<filename unknown>:0 
-   at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) 
[0x00000] in <filename unknown>:0 
-   at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in 
<filename unknown>:0 
-   at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs 
args) [0x00000] in <filename unknown>:0 
-   at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in 
<filename unknown>:0 
-   at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr 
return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, 
IntPtr marshal_data) [0x00000] in <filename unknown>:0 
-    at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, 
Boolean is_terminal)
-    at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr 
return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, 
IntPtr marshal_data)
-    at Gtk.Application.gtk_main()
-    at Gtk.Application.Run()
-    at PdfMod.Gui.Client..ctor(Boolean loadFiles)
-    at PdfMod.PdfMod.Main(System.String[] args)
+   at System.IO.Path.Combine (System.String path1, System.String path2) 
[0x00000] in <filename unknown>:0
+   at Hyena.XdgBaseDirectorySpec.GetXdgDirectoryUnderHome (System.String key, 
System.String fallback) [0x00000] in <filename unknown>:0
+   at PdfMod.Gui.Client.<CreateChooser>m__A (System.String s) [0x00000] in 
<filename unknown>:0
+   at 
System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.String,System.String].MoveNext
 () [0x00000] in <filename unknown>:0
+   at 
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.String].MoveNext
 () [0x00000] in <filename unknown>:0
+   at System.Collections.Generic.List`1[System.String].AddEnumerable 
(IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
+   at System.Collections.Generic.List`1[System.String]..ctor (IEnumerable`1 
collection) [0x00000] in <filename unknown>:0
+   at System.Linq.Enumerable.ToArray[String] (IEnumerable`1 source) [0x00000] 
in <filename unknown>:0
+   at PdfMod.Gui.Client.CreateChooser (System.String title, FileChooserAction 
action) [0x00000] in <filename unknown>:0
+   at PdfMod.Gui.Actions.OnOpen (System.Object o, System.EventArgs args) 
[0x00000] in <filename unknown>:0
+   at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke 
(object,object[],System.Exception&)
+   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
+   --- End of inner exception stack trace ---
+   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
+   at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] 
parameters) [0x00000] in <filename unknown>:0
+   at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in 
<filename unknown>:0
+   at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) 
[0x00000] in <filename unknown>:0
+   at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in 
<filename unknown>:0
+   at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs 
args) [0x00000] in <filename unknown>:0
+   at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in 
<filename unknown>:0
+   at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr 
return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, 
IntPtr marshal_data) [0x00000] in <filename unknown>:0
+    at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, 
Boolean is_terminal)
+    at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr 
return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, 
IntPtr marshal_data)
+    at Gtk.Application.gtk_main()
+    at Gtk.Application.Run()
+    at PdfMod.Gui.Client..ctor(Boolean loadFiles)
+    at PdfMod.PdfMod.Main(System.String[] args)
+ 
+ TEST CASE:
+ Comment out (i.e. unset) XDG_DOWNLOAD_DIR or XDG_DOCUMENTS_DIR in 
~/.config/user-dirs.dirs, then start pdfmod. On clicking "open file" the above 
described crash occurs. After applying the patch in the linked branch, no 
crashing occurs.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: pdfmod 0.8.3-1build2
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  Architecture: amd64
  Date: Wed Sep 22 13:50:56 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  PackageArchitecture: all
  ProcEnviron:
-  LANG=en_DK.utf8
-  SHELL=/bin/bash
+  LANG=en_DK.utf8
+  SHELL=/bin/bash
  SourcePackage: pdfmod

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/645137

Title:
  PDF Mod crashes on opening file dialogue

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to