frequent exponential crashes

Bug #1918425 reported by Nairo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Incomplete
Undecided
Unassigned

Bug Description

I open a large enough image (between 5Mo to 15Mo), resize it, copy and paste it on a layer of my background. I create a new layer to make a rectangular selection filled with a color to make an outline. I apply a blending mode to it.
I save it. I close the pict and I open another image, same manipulations.
With a little luck, it works.

At the 3rd image, I get a "failed to allocate..." error.
I restart, try again - same error.

And there, 3rd time I restart, I try again, I get this error "unhandled exception" :
----------------
System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.OutOfMemoryException: Une exception de type 'System.OutOfMemoryException' a été levée.
   à Cairo.ImageSurface.get_Data()
   à Pinta.Core.CairoExtensions.ToPixbuf(ImageSurface surfSource) dans D:\a\Pinta\Pinta\Pinta.Core\Extensions\CairoExtensions.cs:ligne 797
   à Pinta.Core.OraFormat.Export(Document document, String fileName, Window parent) dans D:\a\Pinta\Pinta\Pinta.Core\ImageFormats\OraFormat.cs:ligne 191
   à Pinta.Actions.SaveDocumentImplmentationAction.SaveFile(Document document, String file, FormatDescriptor format, Window parent) dans D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:ligne 243
   à Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e) dans D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:ligne 69
   à Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs) dans D:\a\Pinta\Pinta\Pinta.Core\Actions\FileActions.cs:ligne 118
   à Pinta.Core.Document.Save(Boolean saveAs) dans D:\a\Pinta\Pinta\Pinta.Core\Classes\Document.cs:ligne 740
   à Pinta.Actions.SaveDocumentAction.Activated(Object sender, EventArgs e) dans D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentAction.cs:ligne 48
   --- Fin de la trace de la pile d'exception interne ---
   à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   à System.Delegate.DynamicInvokeImpl(Object[] args)
   à GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
   à GLib.Signal.SignalClosure.Invoke(ClosureInvokedArgs args)
   à GLib.Signal.SignalClosure.MarshalCallback(IntPtr raw_closure, Value* return_val, UInt32 n_param_vals, Value* param_values, IntPtr invocation_hint, IntPtr marshal_data)

--------------
it could be nice to be able to adjust the history (keep less action in memory to have more room for editing).
Also, maybe have a selection tool without boolean operation that would take less memory?

Revision history for this message
Nairo (nairo-e) wrote :
Revision history for this message
Nairo (nairo-e) wrote :

I forgot to tell, I have the same reaction with Pinta 1.6 - 1.7 and now 1.8 (dev) - on windows 7 and virtual box windows 10.

Revision history for this message
grofaty (grofaty) wrote :

1. How much memory (RAM) has your computer?
2. Is it possible to share one of the images (make sure there is nothing private in it) and post exact step-by-steps (or record screen cast).

Changed in pinta:
status: New → Incomplete
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.