Crash after copy into new image

Bug #2012965 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Committed
Undecided
Unassigned

Bug Description

I have downloaded Pinta 2.2-development on Ubuntu 22.10 from Github: https://github.com/PintaProject/Pinta/actions/runs/4525610835 master branch.

1. I have made a selection with CTRL+A.
2. Copy image with CTRL+C.
3. Paste into new image ALT+CTRL+V and Pinta crashed in Terminal there was the following text:

Registering new type PintaCoreToolBarComboBox with parent GtkBox
Registering new type PintaGuiWidgetsToolBoxWidget with parent GtkBox
Registering new type PintaDockingDockPanel with parent GtkBox
Registering new type PintaDockingDock with parent GtkBox
Registering new type PintaDockingDockNotebook with parent GtkBox
Registering new type PintaDockingDockItem with parent GtkBox
Registering new type PintaGuiWidgetsLayersListView with parent GtkScrolledWindow
Registering new type PintaGuiWidgetsHistoryListView with parent GtkScrolledWindow
Registering new type PintaGuiWidgetsStatusBarColorPaletteWidget with parent GtkDrawingArea
Registering new type PintaProgressDialog with parent GtkDialog
Registering new type PintaCoreToolBoxButton with parent GtkToggleButton
Registering new type PintaCoreToolBarDropDownButton with parent GtkMenuButton
Registering new type PintaCanvasWindow with parent GtkGrid
Registering new type PintaGuiWidgetsPintaCanvas with parent GtkDrawingArea
Registering new type PintaGuiWidgetsRuler with parent GtkDrawingArea
Registering new type PintaGuiWidgetsLayersListViewItem with parent GObject
Registering new type PintaGuiWidgetsLayersListViewItemWidget with parent GtkBox
Registering new type PintaGuiWidgetsHistoryListViewItem with parent GObject
Registering new type PintaGuiWidgetsHistoryItemWidget with parent GtkBox
Process terminated. A callback was made on a garbage collected delegate of type 'GObject-2.0!GObject.Internal.ToggleNotify::Invoke'.
Repeat 2 times:
--------------------------------
   at GObject.Internal.Object.RemoveToggleRef(IntPtr, GObject.Internal.ToggleNotify, IntPtr)
--------------------------------
   at GObject.Internal.ObjectMapper+ToggleRef.Dispose()
   at GObject.Internal.ObjectMapper.Unmap(IntPtr)
   at GObject.Internal.ObjectHandle.ReleaseHandle()
   at System.Runtime.InteropServices.SafeHandle.InternalRelease(Boolean)
   at System.Runtime.InteropServices.SafeHandle.Finalize()

[1]+ Aborted (core dumped) ./Pinta

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

I haven't been able to reproduce this yet, either on macOS or Ubuntu, but perhaps it's dependent on when the .NET garbage collector runs...

Changed in pinta:
milestone: none → 2.2
Revision history for this message
grofaty (grofaty) wrote :

I can't reproduce it either. Some strange crashes appear in Pinta 2.2-development and I can't reproduce them.

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

I can reproduce now with some local changes that run the garbage collector much more frequently. I think there is an issue with some of the manual GTK bindings I did for some missing functions in the gir.core library

Changed in pinta:
status: New → Triaged
Revision history for this message
Cameron White (cameronwhite91) wrote :

I think this should be fixed by https://github.com/PintaProject/Pinta/commit/3d893d17ab17dec62e74896405d6dc39688f8e7e, but please re-open if you still run into the crash again!

Changed in pinta:
status: Triaged → Fix Committed
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.