Gitian 64-bit bitcoin-qt segfaults on Ubuntu 14.04 #5910

issue laanwj openend this issue on March 16, 2015
  1. laanwj commented at 12:10 pm on March 16, 2015: member

    Likely this is a result of linking Qt5 statically, but not libX11/libxcb:

     0(gdb) bt
     1[#0](/bitcoin-bitcoin/0/)  0x0000555555a530ed in QXcbKeyboard::updateVModMapping() ()
     2[#1](/bitcoin-bitcoin/1/)  0x0000555555a535c8 in QXcbKeyboard::QXcbKeyboard(QXcbConnection*) ()
     3[#2](/bitcoin-bitcoin/2/)  0x0000555555a6845d in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, char const*) ()
     4[#3](/bitcoin-bitcoin/3/)  0x0000555555a523ef in QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) ()
     5[#4](/bitcoin-bitcoin/4/)  0x0000555555a5149b in QXcbIntegrationPlugin::create(QString const&, QStringList const&, int&, char**) ()
     6[#5](/bitcoin-bitcoin/5/)  0x0000555556111b43 in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) ()
     7[#6](/bitcoin-bitcoin/6/)  0x0000555555f04486 in QGuiApplicationPrivate::createPlatformIntegration() ()
     8[#7](/bitcoin-bitcoin/7/)  0x0000555555f052c5 in QGuiApplicationPrivate::createEventDispatcher() ()
     9[#8](/bitcoin-bitcoin/8/)  0x000055555637c010 in QCoreApplication::init() ()
    10[#9](/bitcoin-bitcoin/9/)  0x000055555637c085 in QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) ()
    11[#10](/bitcoin-bitcoin/10/) 0x0000555555f05c39 in QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) ()
    12[#11](/bitcoin-bitcoin/11/) 0x0000555555bca162 in QApplication::QApplication(int&, char**, int) ()
    13[#12](/bitcoin-bitcoin/12/) 0x00005555556adb52 in BitcoinApplication::BitcoinApplication (this=0x7fffffffd930, argc=<optimized out>, argv=<optimized out>) at qt/bitcoin.cpp:306
    14[#13](/bitcoin-bitcoin/13/) 0x00005555556becc6 in main (argc=2, argv=0x7fffffffdd68) at qt/bitcoin.cpp:509
    

    The 32-bit bitcoin-qt, as well as 32 and 64-bit bitcoind and bitcoin-cli work as expected.

  2. laanwj added the label Bug on Mar 16, 2015
  3. laanwj added the label GUI on Mar 16, 2015
  4. laanwj added the label Build system on Mar 16, 2015
  5. laanwj commented at 12:13 pm on March 16, 2015: member

    Looks like this issue: https://bugs.freedesktop.org/show_bug.cgi?id=71507

    0ABI breakage: Qt segfaults when run against libxcb 1.9.3
    

    So we either need to change the version of libxcb linked against, or link it statically.

  6. laanwj added this to the milestone 0.11.0 on Mar 16, 2015
  7. theuni commented at 8:12 pm on March 16, 2015: member

    Hmm. I already worked through a very similar issue a while back, and I thought that this was resolved. Obviously not, but I believe it should be accounted for already.

    The details are foggy now, I’ll check my notes.

  8. theuni commented at 4:02 am on March 17, 2015: member

    Yes, I’ve bumped into this one already, but apparently I only managed a partial-fix.

    https://github.com/bitcoin/bitcoin/blob/master/depends/patches/qt/fix-xcb-include-order.patch was added to address this.

    See #5915 for the full fix.

  9. laanwj closed this on Mar 17, 2015

  10. MarcoFalke locked this on Sep 8, 2021


laanwj theuni

Labels
Bug GUI Build system

Milestone
0.11.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-10-05 04:12 UTC

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