pinta throws an execption when trying to crtl-x / cut

Bug #1326930 reported by William Van Hevelingen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pinta (Ubuntu)
New
Medium
Unassigned

Bug Description

Pinta throws an error when trying to cut on Ubuntu Trusty.

Exception Below:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: src
  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:copy_from_unmanaged (intptr,int,System.Array,int)
  at System.Runtime.InteropServices.Marshal.Copy (IntPtr source, System.Byte[] destination, Int32 startIndex, Int32 length) [0x00000] in <filename unknown>:0
  at Cairo.ImageSurface.get_Data () [0x00000] in <filename unknown>:0
  at Pinta.Core.CairoExtensions.ToPixbuf (Cairo.ImageSurface surfSource) [0x00000] in <filename unknown>:0
  at Pinta.Core.EditActions.HandlerPintaCoreActionsEditCopyActivated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at Pinta.Core.EditActions.HandlerPintaCoreActionsEditCutActivated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,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

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pinta 1.3-3
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jun 5 12:22:20 2014
PackageArchitecture: all
SourcePackage: pinta
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
William Van Hevelingen (blkperl) wrote :
Revision history for this message
William Van Hevelingen (blkperl) wrote :

Also:

 >pinta Pictures/foo.png

(Pinta:9564): GLib-GObject-WARNING **: Attempt to add property __gtksharp_11_Pinta_Gui_Widgets_CellRendererSurface::surface after class was initialised
Cairo.Pattern is leaking, programmer is missing a call to Dispose
Set MONO_CAIRO_DEBUG_DISPOSE to track allocation traces
Cairo.Pattern is leaking, programmer is missing a call to Dispose
Set MONO_CAIRO_DEBUG_DISPOSE to track allocation traces

(Pinta:9564): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
Marshaling activate signal

Revision history for this message
William Van Hevelingen (blkperl) wrote :

Version 1.5-0ppa3~trusty1 from the Pinta stable PPA doesn't have this issue

Changed in pinta (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.