2020-11-01 21:14:37 |
Ninja Nolan |
description |
I'm trying to save a picture that is 5100x51000 and it crashes whenever I try to save, or undo. It is really annoying because I keep trying to save my image, but it crashes and I have to start over.
It throws an unhandeled exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Runtime.InteropServices.Marshal.CopyToManaged(IntPtr source, Object destination, Int32 startIndex, Int32 length)
at Cairo.ImageSurface.get_Data()
at Pinta.Core.CairoExtensions.ToPixbuf(ImageSurface surfSource) in D:\a\Pinta\Pinta\Pinta.Core\Extensions\CairoExtensions.cs:line 797
at Pinta.Core.GdkPixbufFormat.Export(Document document, String fileName, Window parent) in D:\a\Pinta\Pinta\Pinta.Core\ImageFormats\GdkPixbufFormat.cs:line 104
at Pinta.Actions.SaveDocumentImplmentationAction.SaveFile(Document document, String file, FormatDescriptor format, Window parent) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 243
at Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 69
at Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Actions\FileActions.cs:line 118
at Pinta.Core.Document.Save(Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Classes\Document.cs:line 740
at Pinta.Actions.SaveDocumentAction.Activated(Object sender, EventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentAction.cs:line 48
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
at GLib.Signal.SignalClosure.Invoke(ClosureInvokedArgs args)
at GLib.Signal.SignalClosure.MarshalCallback(IntPtr raw_closure, Value* return_val, UInt32 n_param_vals, Value* param_values, IntPtr invocation_hint, IntPtr marshal_data) |
I'm trying to save a picture that is 5100x51000 and it crashes whenever I try to save, or undo. It is really annoying because I keep trying to save my image, but it crashes and I have to start over.
EDIT: it seems it saves once, but then the second time I try to save it crashes. (This is version 1.7)
It throws an unhandeled exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Runtime.InteropServices.Marshal.CopyToManaged(IntPtr source, Object destination, Int32 startIndex, Int32 length)
at Cairo.ImageSurface.get_Data()
at Pinta.Core.CairoExtensions.ToPixbuf(ImageSurface surfSource) in D:\a\Pinta\Pinta\Pinta.Core\Extensions\CairoExtensions.cs:line 797
at Pinta.Core.GdkPixbufFormat.Export(Document document, String fileName, Window parent) in D:\a\Pinta\Pinta\Pinta.Core\ImageFormats\GdkPixbufFormat.cs:line 104
at Pinta.Actions.SaveDocumentImplmentationAction.SaveFile(Document document, String file, FormatDescriptor format, Window parent) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 243
at Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 69
at Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Actions\FileActions.cs:line 118
at Pinta.Core.Document.Save(Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Classes\Document.cs:line 740
at Pinta.Actions.SaveDocumentAction.Activated(Object sender, EventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentAction.cs:line 48
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
at GLib.Signal.SignalClosure.Invoke(ClosureInvokedArgs args)
at GLib.Signal.SignalClosure.MarshalCallback(IntPtr raw_closure, Value* return_val, UInt32 n_param_vals, Value* param_values, IntPtr invocation_hint, IntPtr marshal_data) |
|
2020-11-01 21:34:57 |
Ninja Nolan |
description |
I'm trying to save a picture that is 5100x51000 and it crashes whenever I try to save, or undo. It is really annoying because I keep trying to save my image, but it crashes and I have to start over.
EDIT: it seems it saves once, but then the second time I try to save it crashes. (This is version 1.7)
It throws an unhandeled exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Runtime.InteropServices.Marshal.CopyToManaged(IntPtr source, Object destination, Int32 startIndex, Int32 length)
at Cairo.ImageSurface.get_Data()
at Pinta.Core.CairoExtensions.ToPixbuf(ImageSurface surfSource) in D:\a\Pinta\Pinta\Pinta.Core\Extensions\CairoExtensions.cs:line 797
at Pinta.Core.GdkPixbufFormat.Export(Document document, String fileName, Window parent) in D:\a\Pinta\Pinta\Pinta.Core\ImageFormats\GdkPixbufFormat.cs:line 104
at Pinta.Actions.SaveDocumentImplmentationAction.SaveFile(Document document, String file, FormatDescriptor format, Window parent) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 243
at Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 69
at Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Actions\FileActions.cs:line 118
at Pinta.Core.Document.Save(Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Classes\Document.cs:line 740
at Pinta.Actions.SaveDocumentAction.Activated(Object sender, EventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentAction.cs:line 48
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
at GLib.Signal.SignalClosure.Invoke(ClosureInvokedArgs args)
at GLib.Signal.SignalClosure.MarshalCallback(IntPtr raw_closure, Value* return_val, UInt32 n_param_vals, Value* param_values, IntPtr invocation_hint, IntPtr marshal_data) |
I'm trying to save a picture that is 5100x51000 and it crashes whenever I try to save, or undo. It is really annoying because I keep trying to save my image, but it crashes and I have to start over.
EDIT: it seems it saves once, but then the second time I try to save it crashes. Also sometimes it crashes when I do an action. (This is version 1.7)
It throws an unhandeled exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Runtime.InteropServices.Marshal.CopyToManaged(IntPtr source, Object destination, Int32 startIndex, Int32 length)
at Cairo.ImageSurface.get_Data()
at Pinta.Core.CairoExtensions.ToPixbuf(ImageSurface surfSource) in D:\a\Pinta\Pinta\Pinta.Core\Extensions\CairoExtensions.cs:line 797
at Pinta.Core.GdkPixbufFormat.Export(Document document, String fileName, Window parent) in D:\a\Pinta\Pinta\Pinta.Core\ImageFormats\GdkPixbufFormat.cs:line 104
at Pinta.Actions.SaveDocumentImplmentationAction.SaveFile(Document document, String file, FormatDescriptor format, Window parent) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 243
at Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 69
at Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Actions\FileActions.cs:line 118
at Pinta.Core.Document.Save(Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Classes\Document.cs:line 740
at Pinta.Actions.SaveDocumentAction.Activated(Object sender, EventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentAction.cs:line 48
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
at GLib.Signal.SignalClosure.Invoke(ClosureInvokedArgs args)
at GLib.Signal.SignalClosure.MarshalCallback(IntPtr raw_closure, Value* return_val, UInt32 n_param_vals, Value* param_values, IntPtr invocation_hint, IntPtr marshal_data) |
|