Your message dated Sun, 24 Aug 2025 13:00:02 +0000
with message-id <[email protected]>
and subject line Bug#1111930: fixed in mono 6.14.1+ds-5
has caused the Debian Bug report #1111930,
regarding mono-libraries: 'System.Drawing.GDIPlus' threw an exception. ---> 
System.DllNotFoundException: libgdiplus.so.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1111930: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111930
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mono-libraries
Version: 6.14.1+ds-4
Severity: important

Dear Maintainer,

After updating my system, mono-libraries was installed replacing multiple
packages, including libmono-system-drawing4.0-cil.
I also have keepass2 package installed.

Since this update, keepass2 fails to start due to missing library
libgdiplus.so.0:
-----------
Unhandled Exception:
System.TypeInitializationException: The type initializer for
'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException:
libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native)
System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000d4] in
<68cf6c4aa2eb4a0797e1dbe2e447f41a>:0
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Drawing.Image.Dispose (System.Boolean disposing) [0x00000] in
<68cf6c4aa2eb4a0797e1dbe2e447f41a>:0
  at System.Drawing.Image.Finalize () [0x00000] in
<68cf6c4aa2eb4a0797e1dbe2e447f41a>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type
initializer for 'System.Drawing.GDIPlus' threw an exception. --->
System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly>
type:<unknown type> member:(null)
  at (wrapper managed-to-native)
System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000d4] in
<68cf6c4aa2eb4a0797e1dbe2e447f41a>:0
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Drawing.Image.Dispose (System.Boolean disposing) [0x00000] in
<68cf6c4aa2eb4a0797e1dbe2e447f41a>:0
  at System.Drawing.Image.Finalize () [0x00000] in
<68cf6c4aa2eb4a0797e1dbe2e447f41a>:0
-------------

This can be fixed by manually installing "libgdiplus" package.
Previously, this package was brought by this dependency chain:
- keepass2 depends on libmono-system-drawing4.0-cil
- libmono-system-drawing4.0-cil depends on libgdiplus

But mono-libraries which provides "libmono-system-drawing4.0-cil" doesn't
depend on "libgdiplus" so it was removed from the system as no longer necessary
as it was automatically installed.

So I think that either mono-libraries or keepass2 (and other packages using
System.Drawing I guess) needs a dependency on libgdiplus.



To reproduce:
- Install keepass2
- Ensure libgdiplus package is not installed by a dependency of something
unrelated to keepass2
- Start "keepass2" from a X11/Wayland terminal
- The expected outcome is: Keepass2 should show a window or a dialog box and
not a libgdiplus.so missing exception.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 6.12.38+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: mono
Source-Version: 6.14.1+ds-5
Done: Antoine Le Gonidec <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mono, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antoine Le Gonidec <[email protected]> (supplier of updated mono package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Aug 2025 13:18:32 +0200
Source: mono
Architecture: source
Version: 6.14.1+ds-5
Distribution: unstable
Urgency: medium
Maintainer: Antoine Le Gonidec <[email protected]>
Changed-By: Antoine Le Gonidec <[email protected]>
Closes: 1111930
Changes:
 mono (6.14.1+ds-5) unstable; urgency=medium
 .
   * Restore missing dependency on libgdiplus.
     (Closes: #1111930)
   * Import upstream patch to fix build on arm64.
   * Fix dependencies of autopkgtest.
   * Drop fake manpages.
Checksums-Sha1:
 c5023478caaa062208b7850fcbd4825a7e3e1a14 1944 mono_6.14.1+ds-5.dsc
 39c4f693f184d44ddcfd3cc34cc303038ae40ce3 116560 mono_6.14.1+ds-5.debian.tar.xz
 82c2098b58ec2024910e66cb304324570d36b28d 9624 mono_6.14.1+ds-5_amd64.buildinfo
Checksums-Sha256:
 3a8f8288c63e32015f1988529da08dd496d3ceed192f5c67731da7c36a3a12b9 1944 
mono_6.14.1+ds-5.dsc
 b2d4b1276416ad9c7e6ac83078ad9789d6f9cc69267b3f29161fa15f255c0b50 116560 
mono_6.14.1+ds-5.debian.tar.xz
 ddadb3a3d63078a8d68a18b6a6e91dcd67f89723a1752841d5d978f811b46752 9624 
mono_6.14.1+ds-5_amd64.buildinfo
Files:
 c7ffdbe83983381e49dde377f3259789 1944 cli-mono optional mono_6.14.1+ds-5.dsc
 772e6352114a969ef737888331775399 116560 cli-mono optional 
mono_6.14.1+ds-5.debian.tar.xz
 2b6a75edb0e1a9eccdc664bdb2da0fe2 9624 cli-mono optional 
mono_6.14.1+ds-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSUsdxM90hewW6X7Jhja3j5HOuA2AUCaKsEBgAKCRBja3j5HOuA
2J0TAQD1Wvmla34P9E08lOi5Pks8541Hrl6+grFI7MV7motvPgEAwIEWM/Z0Avg3
6jSdVa/n4a7FPC5zRqIgPynTfTZw/gE=
=92Rr
-----END PGP SIGNATURE-----

Attachment: pgp3PKm0EL2x9.pgp
Description: PGP signature


--- End Message ---

Reply via email to