Linux: Crash on exit with dirty image

Bug #2016162 reported by Trevor D'Arcy-Evans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Committed
Undecided
Unassigned

Bug Description

git commit de3e6855074bef9f832a40e2c08ca1d34120324b

OS:
Linux Mint 21.1
dotnet 7.0.203

Steps to repro:
* start Pinta
* default/blank image displayed
* use any brush to draw a line
* close via X button in title bar
* CRASH

Callstack:
Unhandled exception. System.EntryPointNotFoundException: Unable to find an entry point named 'adw_message_dialog_new' in shared library 'Adw'.
   at Adw.Internal.MessageDialog.New(IntPtr parent, String heading, String body)
   at Adw.MessageDialog.New(Window parent, String heading, String body)
   at Pinta.Actions.CloseDocumentAction.Activated(Object sender, EventArgs e) in /home/trevorde/dev/Pinta/Pinta/Actions/File/CloseDocumentAction.cs:line 62
   at Pinta.Core.Command.<.ctor>b__33_0(SimpleAction o, ActivateSignalArgs args) in /home/trevorde/dev/Pinta/Pinta.Core/Actions/Command.cs:line 64
Aborted (core dumped)

Libs:
dpkg -l libadwaita*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================-==============-============-==========================================
ii libadwaita-1-0:amd64 1.1.0-1ubuntu2 amd64 Library with GTK widgets for mobile phones
ii libadwaita-1-dev:amd64 1.1.0-1ubuntu2 amd64 Development files for libadwaita
un libadwaita-1-doc <none> <none> (no description available)

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

Thanks for trying out the GTK4 port!
I think this is because libadwaita 1.2 will be the required min version - I should make sure that configure.ac performs this version check when building through the Makefiles

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

The configure script now checks the libadwaita version with https://github.com/PintaProject/Pinta/commit/d115d16465ff83b65bc18527b77f34ef58d0f8bf

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.