FS#53468 - [clementine] crash on startup since openssl 1.1

Attached to Project: Community Packages
Opened by hexchain (hexchain) - Monday, 27 March 2017, 05:50 GMT
Last edited by Jan de Groot (JGC) - Monday, 27 March 2017, 22:28 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Antonio Rojas (arojas)
Felix Yan (felixonmars)
Maxime Gauduin (Alucryd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Clementine segfaults on startup since openssl 1.1.

Additional info:
$ pacman -Q clementine openssl openssl-1.0
clementine 1.3.1-7
openssl 1.1.0.e-1
openssl-1.0 1.0.2.k-2

$ ldd /usr/bin/clementine | egrep "(ssl|crypto)"
libcryptopp.so.5.6 => /usr/lib/libcryptopp.so.5.6 (0x00007f59730e8000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007f596ad42000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f596a8ca000)
libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f5965736000)
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f59652bc000)
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 27 March 2017, 22:28 GMT
Reason for closing:  Fixed
Comment by Antonio Rojas (arojas) - Monday, 27 March 2017, 06:38 GMT
Needs to be rebuilt against openssl-1.0, otherwise openssl-1.1 symbols will clash with the openssl-1.0 ones loaded via qt4.
Comment by hexchain (hexchain) - Monday, 27 March 2017, 06:40 GMT
Yeah but it seems the openssl 1.0 libraries are pulled in through libgpod and libimobiledevice.

lddtree: https://paste.xinu.at/7H6/
Comment by Antonio Rojas (arojas) - Monday, 27 March 2017, 06:45 GMT
You're right, then the issue is more serious. Either
- qt4 needs to be patched to work with openssl 1.1
- libimobiledevice needs to be rebuilt against openssl 1.0
- libgpod support should be disabled in clementine
Comment by Antonio Rojas (arojas) - Monday, 27 March 2017, 07:00 GMT
FWIW both Fedora and Debian compile libimobiledevice against gnutls instead of openssl
Comment by Jan de Groot (JGC) - Monday, 27 March 2017, 22:28 GMT
Fixed by building libimobiledevice with gnutls.

Loading...