bitcoin-qt stops while switching SSLv3 to TLS on Arch Linux #14273

issue eserlxl openend this issue on September 19, 2018
  1. eserlxl commented at 9:43 pm on September 19, 2018: none

    After updating packages on Arch Linux ( KDE Plasma, 4.18.8-arch1-1-ARCH x86_64 GNU/Linux ), I cannot start bitcoin-qt even from a fresh installation again. No log, no error messages. Compiling from the latest source on github gives the same result.

    I found the problem using gdb -> run -> CTRL+C -> bt sequnce and gdb points qt/bitcoin.cpp:579.

    I had to disable SSLv3 -> TLS code part in order to run the bitcoin-qt wallet.

    Disabled code part ( src/qt/bitcoin.cpp, line 579 )

    0    QSslConfiguration sslconf = QSslConfiguration::defaultConfiguration();
    1    sslconf.setProtocol(QSsl::TlsV1_0OrLater);
    2    QSslConfiguration::setDefaultConfiguration(sslconf);
    

    I have also reported the issue to Arch Linux BBS forum and AUR page of bitcoin-git package.

    Do I need to set up a TLS configuration on Arch Linux? Thanks for your help.

  2. MarcoFalke commented at 9:47 pm on September 19, 2018: member
    I believe this is an upstream qt bug. You can work around by building from depends.
  3. MarcoFalke added the label GUI on Sep 19, 2018
  4. MarcoFalke added this to the milestone 0.18.0 on Sep 19, 2018
  5. MarcoFalke added the label Upstream on Sep 19, 2018
  6. eserlxl renamed this:
    bitcoin-qt stucks at switching SSLv3 to TLS on Arch Linux
    bitcoin-qt stops while switching SSLv3 to TLS on Arch Linux
    on Sep 20, 2018
  7. yzhou61 commented at 2:54 am on September 22, 2018: none
    @MarcoFalke is there an upstream issue that you could link to? Thanks!
  8. eserlxl commented at 11:42 pm on September 26, 2018: none

    I found an interesting fix for this issue. An unnecessary SSL library version check allows bitcoin-qt to run again on Arch Linux without disabling switching SSLv3 to TLS. QSslSocket::sslLibraryVersionString() returns an empty string for me.

    0    QSslSocket::sslLibraryVersionString(); // An unnecessary check to solve issue [#14273](/bitcoin-bitcoin/14273/): bitcoin-qt stops while switching SSLv3 to TLS on Arch Linux
    1    Q_ASSERT( QSslSocket::supportsSsl() );
    2
    3    QSslConfiguration sslconf = QSslConfiguration::defaultConfiguration();
    4    sslconf.setProtocol(QSsl::TlsV1_0OrLater);
    5    QSslConfiguration::setDefaultConfiguration(sslconf);
    6
    7    Q_ASSERT(QSslConfiguration::defaultConfiguration().protocol() == QSsl::TlsV1_0OrLater);
    

    Of course, Q_ASSERT’s are not necessary :)

  9. eserlxl closed this on Sep 26, 2018

  10. eserlxl reopened this on Sep 26, 2018

  11. eserlxl closed this on Sep 28, 2018

  12. yzhou61 commented at 3:34 pm on September 28, 2018: none
    @eserlxl is this fixed somewhere?
  13. eserlxl commented at 3:53 pm on September 28, 2018: none
    I couldn’t decide to close the issue or keep it as open. Applying a simple patch solves the issue as I mentioned. I’ve already posted the bug to Arch Linux official forum. Today, I will post to Arch Linux bug page. I don’t think that this bug is directly related to bitcoin source.
  14. yzhou61 commented at 4:00 pm on September 28, 2018: none
    Ok thanks. Here’s the forum link: https://bbs.archlinux.org/viewtopic.php?id=240553
  15. eserlxl commented at 6:22 pm on September 28, 2018: none

    Yes and here’s the bug report link for Arch Linux developers:

    https://bugs.archlinux.org/task/60235

  16. DrahtBot locked this on Sep 8, 2021


eserlxl MarcoFalke yzhou61

Labels
GUI Upstream

Milestone
0.18.0


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me