Crash on ArchLinux

Bug #2006570 reported by Lukasz Michalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
New
Undecided
Unassigned

Bug Description

Version 2.1

Just after starting:

System.UriFormatException: Invalid URI: The URI is empty.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
   at System.Uri..ctor(String uriString)
   at GLib.FileAdapter.get_Uri()
   at Pinta.MainWindow.LoadUserSettings()
   at Pinta.MainWindow.OnActivated()
   at GLib.Application.Activated_cb(IntPtr inst)

And then after creating new Image:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Pinta.Core.BaseTool.SetCursor(Cursor cursor)
   at Pinta.Core.BaseTool.<.ctor>b__14_0(Object _, EventArgs _)
   at Pinta.Core.WorkspaceManager.OnActiveDocumentChanged(EventArgs e)
   at Pinta.Core.WorkspaceManager.SetActiveDocumentInternal(Document document)
   at Pinta.Core.WindowActions.<.ctor>b__11_0(Object o, ActivatedArgs e)
   at InvokeStub_ActivatedHandler.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)

I removed ~/.config/Pinta, restarted app. No effect. Same issue here:
https://forum.manjaro.org/t/pinta-errors-after-today-s-update/131055

Revision history for this message
Cameron White (cameronwhite91) wrote :

This sounds like bug 2002188 - could you check out if that fix works for you?
(Either by compiling from git or running the build from https://github.com/PintaProject/Pinta/actions/runs/3863584745 (requires GitHub login to download))

Changed in pinta:
milestone: none → 2.1.1
Revision history for this message
Lukasz Michalski (lm-zork) wrote :

Many thanks, It's the same bug. For workaround pinta works when run this way from terminal:

[zork@archdevel ~]$ XDG_PICTURES_DIR=/tmp pinta

Revision history for this message
Cameron White (cameronwhite91) wrote :

Great, thanks for confirming!

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.