Public bug reported:

Open a pdf (from scanner) containing a single page.
Select the page.
Clic on "Save image from the selected pages to a new folder" button.
PDFMod window is closed, with following message in terminal :

draco@draco-ultrabook:~$ pdfmod 
[1 Debug 10:03:17.029] Starting PdfMod 0.9.1
[1 Debug 10:03:17.049] Initializing i18n catalog from /usr/share/locale/
[1 Debug 10:03:17.075] Loaded custom AccelMap from 
/home/draco/.config/pdfmod/gtk_accel_map
[1 Debug 10:03:17.085] Cache directory set to /home/draco/.cache/pdfmod

(PdfMod:15060): GLib-GObject-WARNING **: Attempt to add property 
__gtksharp_3_PdfMod_Gui_PageCell::page after class was initialised
[1 Debug 10:03:28.786] Loaded /home/draco/xxx.pdf
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gdk.Pixbuf.gdk_pixbuf_save 
(intptr,intptr,intptr,intptr&,intptr) <0xffffffff>
  at Gdk.Pixbuf.Save (string,string) <0x0006b>
  at PdfMod.Pdf.Actions.ExportImagesAction.ExportAsPngImage 
(PdfMod.Pdf.Actions.ExportImagesAction/ImageInfo,string) <0x00123>
  at PdfMod.Pdf.Actions.ExportImagesAction.Export 
(PdfMod.Pdf.Actions.ExportImagesAction/ImageInfo,string) <0x0018f>
  at PdfMod.Pdf.Actions.ExportImagesAction.Do (string) <0x0005b>
  at PdfMod.Gui.Actions.OnExportImages (object,System.EventArgs) <0x00213>
  at (wrapper runtime-invoke) 
<Module>.runtime_invoke_void__this___object_object 
(object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke 
(System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke 
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
 <0x000db>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x00032>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00203>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x0003b>
  at System.Delegate.DynamicInvoke (object[]) <0x00020>
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) <0x0014f>
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) <0x0002f>
  at GLib.SignalClosure.MarshalCallback 
(intptr,intptr,uint,intptr,intptr,intptr) <0x0029b>
  at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback 
(intptr,intptr,uint,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at PdfMod.Gui.Client..ctor (bool) <0x00aa7>
  at PdfMod.PdfMod.Main (string[]) <0x000fb>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object 
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono() [0x4b73d8]
        mono() [0x50f13b]
        mono() [0x423d22]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f2d067a9340]
        /lib/x86_64-linux-gnu/libc.so.6(+0x97ffe) [0x7f2d0646bffe]
        /lib/x86_64-linux-gnu/libpng12.so.0(png_write_row+0x10f) 
[0x7f2cfac73bcf]
        /lib/x86_64-linux-gnu/libpng12.so.0(png_write_rows+0x31) 
[0x7f2cfac73de1]
        
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so(+0x24ab)
 [0x7f2cc59f14ab]
        
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so(+0x25dc)
 [0x7f2cc59f15dc]
        /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0(gdk_pixbuf_savev+0xd6) 
[0x7f2d02aad766]
        /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0(gdk_pixbuf_save+0x108) 
[0x7f2d02aada48]
        [0x40e70273]

Debug info from gdb:

Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Opération non permise.
No threads.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abandon

** Affects: pdfmod (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Segfault on Save images from the select pages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdfmod/+bug/1511277/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to