Skip to content

Instantly share code, notes, and snippets.

@ryanofsky
Created August 20, 2018 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanofsky/3401fb63c52d13d5585e7fc777361f1e to your computer and use it in GitHub Desktop.
Save ryanofsky/3401fb63c52d13d5585e7fc777361f1e to your computer and use it in GitHub Desktop.
$ git rev-parse HEAD
2a583406c00761c0ac1d162531256b401d5b16c3
$ brew list --versions
autoconf 2.69
automake 1.16.1_1
berkeley-db@4 4.8.30
boost 1.67.0_1
gdbm 1.17
libevent 2.1.8
libpng 1.6.35
libtool 2.4.6_1
miniupnpc 2.1
openssl 1.0.2p
pkg-config 0.29.2
protobuf 3.6.0
python 3.7.0
python@2 2.7.15_1
qrencode 4.0.2
qt 5.11.1
readline 7.0.5
sqlite 3.24.0
xz 5.2.4
$ lldb -o run src/qt/test/test_bitcoin-qt
(lldb) target create "src/qt/test/test_bitcoin-qt"
Current executable set to 'src/qt/test/test_bitcoin-qt' (x86_64).
(lldb) run
********* Start testing of URITests *********
Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 9.1.0 (clang-902.0.39.2) (Apple))
PASS : URITests::initTestCase()
PASS : URITests::uriTests()
PASS : URITests::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of URITests *********
********* Start testing of PaymentServerTests *********
Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 9.1.0 (clang-902.0.39.2) (Apple))
PASS : PaymentServerTests::initTestCase()
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::initNetManager: No active proxy server found.
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest: Secure payment request from "testmerchant.org"
QWARN : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant: Payment request: certificate expired or not yet active: QSslCertificate("3", "03", "LxHILx+N3qwVoAcCmQ5cyw==", (), ("Expired Test Merchant"), QMap(), QDateTime(2013-02-23 21:26:43.000 UTC Qt::TimeSpec(UTC)), QDateTime(2013-02-24 21:26:43.000 UTC Qt::TimeSpec(UTC)))
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest: Insecure payment request to "1EcqLEpyu3zY7T5QU7RLrHEQH134KeGPXR"
QWARN : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant: Payment request: certificate expired or not yet active: QSslCertificate("3", "03", "LxHILx+N3qwVoAcCmQ5cyw==", (), ("Expired Test Merchant"), QMap(), QDateTime(2013-02-23 21:26:43.000 UTC Qt::TimeSpec(UTC)), QDateTime(2013-02-24 21:26:43.000 UTC Qt::TimeSpec(UTC)))
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest: Secure payment request from "testmerchant8.org"
QWARN : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant: Payment request: certificate expired or not yet active: QSslCertificate("3", "06", "MiZaQ+g9lSHZGuHWkXZG+g==", (), ("Payment Request Intermediate 5"), QMap(), QDateTime(2013-02-23 22:59:51.000 UTC Qt::TimeSpec(UTC)), QDateTime(2013-02-24 22:59:51.000 UTC Qt::TimeSpec(UTC)))
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest: Insecure payment request to "1EcqLEpyu3zY7T5QU7RLrHEQH134KeGPXR"
QWARN : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant: Payment request: certificate expired or not yet active: QSslCertificate("3", "06", "MiZaQ+g9lSHZGuHWkXZG+g==", (), ("Payment Request Intermediate 5"), QMap(), QDateTime(2013-02-23 22:59:51.000 UTC Qt::TimeSpec(UTC)), QDateTime(2013-02-24 22:59:51.000 UTC Qt::TimeSpec(UTC)))
QWARN : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant: SSL error: certificate signature failure
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest: Insecure payment request to "1EcqLEpyu3zY7T5QU7RLrHEQH134KeGPXR"
QWARN : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant: SSL error: certificate signature failure
QWARN : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant: SSL error: unable to get local issuer certificate
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest: Insecure payment request to "1EcqLEpyu3zY7T5QU7RLrHEQH134KeGPXR"
QWARN : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant: SSL error: unable to get local issuer certificate
QWARN : PaymentServerTests::paymentServerTests() "PaymentServer::verifyNetwork: Payment request network \"test\" doesn't match client network \"main\"."
QWARN : PaymentServerTests::paymentServerTests() "PaymentServer::verifyExpired: Payment request expired \"1970-01-01T00:00:01Z\"."
QWARN : PaymentServerTests::paymentServerTests() "PaymentServer::verifyExpired: Payment request expired \"1900-01-8096T08:29:52Z\"."
QWARN : PaymentServerTests::paymentServerTests() "PaymentServer::verifySize: Payment request too large (50001 bytes, allowed 50000 bytes)."
QWARN : PaymentServerTests::paymentServerTests() "PaymentServer::verifyAmount: Payment request amount out of allowed range (2100000100000000, allowed 0 - 2100000000000000)."
PASS : PaymentServerTests::paymentServerTests()
PASS : PaymentServerTests::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 613ms
********* Finished testing of PaymentServerTests *********
********* Start testing of RPCNestedTests *********
Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 9.1.0 (clang-902.0.39.2) (Apple))
PASS : RPCNestedTests::initTestCase()
PASS : RPCNestedTests::rpcNestedTests()
PASS : RPCNestedTests::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 74ms
********* Finished testing of RPCNestedTests *********
********* Start testing of CompatTests *********
Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 9.1.0 (clang-902.0.39.2) (Apple))
PASS : CompatTests::initTestCase()
PASS : CompatTests::bswapTests()
PASS : CompatTests::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
********* Finished testing of CompatTests *********
********* Start testing of WalletTests *********
Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 9.1.0 (clang-902.0.39.2) (Apple))
PASS : WalletTests::initTestCase()
QDEBUG : WalletTests::walletTests() TransactionTablePriv::refreshWallet
QWARN : WalletTests::walletTests() This plugin does not support propagateSizeHints()
Process 16717 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
frame #0: 0x00007fff39401109 CoreFoundation`getAtomTarget + 114
CoreFoundation`getAtomTarget:
-> 0x7fff39401109 <+114>: ud2
CoreFoundation`-[__NSCFType retainCount]:
0x7fff3940110b <+0>: pushq %rbp
0x7fff3940110c <+1>: movq %rsp, %rbp
0x7fff3940110f <+4>: popq %rbp
Target 0: (test_bitcoin-qt) stopped.
Process 16717 launched: '/Users/user/bitcoin/src/qt/test/test_bitcoin-qt' (x86_64)
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
* frame #0: 0x00007fff39401109 CoreFoundation`getAtomTarget + 114
frame #1: 0x00007fff39307646 CoreFoundation`___forwarding___ + 1044
frame #2: 0x00007fff393071a8 CoreFoundation`__forwarding_prep_0___ + 120
frame #3: 0x0000000102df3143 libqmacstyle.dylib`___lldb_unnamed_symbol56$$libqmacstyle.dylib + 163
frame #4: 0x0000000102dfc972 libqmacstyle.dylib`___lldb_unnamed_symbol89$$libqmacstyle.dylib + 18802
frame #5: 0x00000001019a829b QtWidgets`QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const + 891
frame #6: 0x0000000102df8d58 libqmacstyle.dylib`___lldb_unnamed_symbol89$$libqmacstyle.dylib + 3416
frame #7: 0x0000000101abcd95 QtWidgets`QPushButton::paintEvent(QPaintEvent*) + 117
frame #8: 0x000000010196475c QtWidgets`QWidget::event(QEvent*) + 1116
frame #9: 0x000000010192a46d QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
frame #10: 0x000000010192b897 QtWidgets`QApplication::notify(QObject*, QEvent*) + 583
frame #11: 0x00000001013c1f64 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
frame #12: 0x000000010195d1f2 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3138
frame #13: 0x000000010195d971 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1121
frame #14: 0x000000010195d80d QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 765
frame #15: 0x000000010195d35a QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3498
frame #16: 0x000000010195d971 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1121
frame #17: 0x000000010195d35a QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3498
frame #18: 0x00000001019376ca QtWidgets`___lldb_unnamed_symbol97$$QtWidgets + 4586
frame #19: 0x0000000101936257 QtWidgets`___lldb_unnamed_symbol95$$QtWidgets + 279
frame #20: 0x0000000101985faa QtWidgets`___lldb_unnamed_symbol487$$QtWidgets + 314
frame #21: 0x0000000101983689 QtWidgets`___lldb_unnamed_symbol473$$QtWidgets + 1049
frame #22: 0x000000010192a46d QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
frame #23: 0x000000010192b897 QtWidgets`QApplication::notify(QObject*, QEvent*) + 583
frame #24: 0x00000001013c1f64 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
frame #25: 0x0000000101ef4151 QtGui`QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) + 321
frame #26: 0x0000000101ed813b QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219
frame #27: 0x0000000101ed3357 QtGui`QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 599
frame #28: 0x0000000101ee49e2 QtGui`QPlatformWindow::setVisible(bool) + 114
frame #29: 0x0000000101efac09 QtGui`QWindowPrivate::setVisible(bool) + 1081
frame #30: 0x000000010196135a QtWidgets`QWidgetPrivate::show_sys() + 890
frame #31: 0x0000000101963499 QtWidgets`QWidgetPrivate::show_helper() + 409
frame #32: 0x0000000101964133 QtWidgets`QWidget::setVisible(bool) + 963
frame #33: 0x0000000101b2cf6d QtWidgets`QDialog::setVisible(bool) + 125
frame #34: 0x0000000101b2c693 QtWidgets`QDialog::exec() + 243
frame #35: 0x00000001000833b0 test_bitcoin-qt`SendCoinsDialog::on_sendButton_clicked(this=<unavailable>) at sendcoinsdialog.cpp:363 [opt]
frame #36: 0x00000001013cc17c QtCore`QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1308
frame #37: 0x00000001013cb709 QtCore`QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 2009
frame #38: 0x00000001000374e6 test_bitcoin-qt`QMetaObject::invokeMethod(obj=<unavailable>, member=<unavailable>, val0=<unavailable>, val1=<unavailable>, val2=(_data = 0x0000000000000000, _name = 0x0000000000000000), val3=(_data = 0x0000000000000000, _name = 0x0000000000000000), val4=(_data = 0x0000000000000000, _name = 0x0000000000000000), val5=(_data = 0x0000000000000000, _name = 0x0000000000000000), val6=(_data = 0x0000000000000000, _name = 0x0000000000000000), val7=(_data = 0x0000000000000000, _name = 0x0000000000000000), val8=(_data = 0x0000000000000000, _name = 0x0000000000000000), val9=(_data = 0x0000000000000000, _name = 0x0000000000000000)) at qobjectdefs.h:460 [opt]
frame #39: 0x0000000100036648 test_bitcoin-qt`(anonymous namespace)::SendCoins(wallet=<unavailable>, sendCoinsDialog=0x00007ffeefbfea60, address=0x00007ffeefbfeb30, amount=<unavailable>, rbf=false) at wallettests.cpp:72 [opt]
frame #40: 0x0000000100034e25 test_bitcoin-qt`(anonymous namespace)::TestGUI() at wallettests.cpp:167 [opt]
frame #41: 0x00000001013cc17c QtCore`QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1308
frame #42: 0x000000010178bcd4 QtTest`___lldb_unnamed_symbol12$$QtTest + 1092
frame #43: 0x000000010178c9bc QtTest`___lldb_unnamed_symbol14$$QtTest + 812
frame #44: 0x000000010178d907 QtTest`___lldb_unnamed_symbol18$$QtTest + 1015
frame #45: 0x000000010178e50a QtTest`QTest::qRun() + 282
frame #46: 0x000000010178e144 QtTest`QTest::qExec(QObject*, int, char**) + 20
frame #47: 0x000000010000dff5 test_bitcoin-qt`main(argc=<unavailable>, argv=0x00007ffeefbffb20) at test_main.cpp:93 [opt]
frame #48: 0x00007fff663b0ea9 libdyld.dylib`start + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment