FS#62211 - giflib breaks API (f.e. libgdiplus which breaks mono apps)
Attached to Project:
Arch Linux
Opened by Eric (ozwigh) - Tuesday, 02 April 2019, 03:06 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 02 April 2019, 12:37 GMT
Opened by Eric (ozwigh) - Tuesday, 02 April 2019, 03:06 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 02 April 2019, 12:37 GMT
|
Details
Description:
updating libgdiplus to 5.6.x breaks mono apps: Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 (detailed crash log attached) Additional info: package version(s): 5.6 - 5.6.1 Steps to reproduce: 1) update libgdiplus to 5.6.x 2) run any GUI mono app (for example - keepass), it'll crash Rolling back libgdiplus to 4.2 temporarily mitigates the problem. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 02 April 2019, 12:37 GMT
Reason for closing: Fixed
Tuesday, 02 April 2019, 12:37 GMT
Reason for closing: Fixed
Mono: DllImport unable to load library '/usr/lib/libgdiplus.so.0: undefined symbol: GifQuantizeBuffer'.
The combination libgdiplus 5.6.1-1 and giflib 5.1.8-1 works for me, upgrading giflib to 5.1.9-1 breaks keepass (see also
FS#62214, I somehow didn't find this one here and opened the duplicate - sorry)readelf -Ws giflib-5.1.9-1/usr/lib/libgif.so|grep GifQuantizeBuffer|wc -l
0
readelf -Ws giflib-5.1.8-1/usr/lib/libgif.so|grep GifQuantizeBuffer
58: 00000000000097fe 2578 FUNC GLOBAL DEFAULT 11 GifQuantizeBuffer
which results in:
/usr/bin/ld: ../src/.libs/libgdiplus.so: undefined reference to `GifQuantizeBuffer'
which quite frankly will break more than just libgdiplus