kevacoin-project / kevacoin

Kevacoin source tree
https://www.kevacoin.org
MIT License
32 stars 16 forks source link

Kevacoin Wallet Crashes on MacOS 10.15.2 #4

Closed kevacoin-project closed 4 years ago

kevacoin-project commented 4 years ago

This issue has been reported by several users, however we are unable to reproduce in the similar environment.

Steps to reproduce:

  1. Download the Mainnet Release for MacOS: https://github.com/kevacoin-project/kevacoin/releases
  2. Install the application.
  3. Start the application and it crashes (See this screenshot: https://ibb.co/N27dMbX).
kevacoin-project commented 4 years ago

It looks like a dependency issue. However, running the following command and the dependency looks OK:

/Applications/Kevacoin-Qt.app/Contents/MacOS$ otool -L Kevacoin-Qt 

Kevacoin-Qt:

    @executable_path/../Frameworks/libboost_system.dylib (compatibility version 0.0.0, current version 0.0.0)

    @executable_path/../Frameworks/libboost_filesystem.dylib (compatibility version 0.0.0, current version 0.0.0)

    @executable_path/../Frameworks/libboost_program_options-mt.dylib (compatibility version 0.0.0, current version 0.0.0)

    @executable_path/../Frameworks/libboost_thread-mt.dylib (compatibility version 0.0.0, current version 0.0.0)

    @executable_path/../Frameworks/libboost_chrono-mt.dylib (compatibility version 0.0.0, current version 0.0.0)

    @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.12.0, current version 5.12.0)

    @executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.12.0, current version 5.12.0)

    @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.12.0, current version 5.12.0)

    @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore (compatibility version 5.12.0, current version 5.12.0)

    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1673.126.0)

    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 52.0.0)

    /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1894.10.126)

    @executable_path/../Frameworks/QtDBus.framework/Versions/5/QtDBus (compatibility version 5.12.0, current version 5.12.0)

    @executable_path/../Frameworks/libqrencode.4.dylib (compatibility version 5.0.0, current version 5.2.0)

    @executable_path/../Frameworks/libprotobuf.17.dylib (compatibility version 18.0.0, current version 18.0.0)

    @executable_path/../Frameworks/libdb_cxx-4.8.dylib (compatibility version 0.0.0, current version 0.0.0)

    @executable_path/../Frameworks/libssl.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)

    @executable_path/../Frameworks/libcrypto.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)

    @executable_path/../Frameworks/libminiupnpc.17.dylib (compatibility version 0.0.0, current version 0.0.0)

    @executable_path/../Frameworks/libevent_pthreads-2.1.7.dylib (compatibility version 8.0.0, current version 8.0.0)

    @executable_path/../Frameworks/libevent-2.1.7.dylib (compatibility version 8.0.0, current version 8.0.0)

    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 800.7.0)

    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)

    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1673.126.0)

    /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 1069.11.0)

    /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
kevacoin-project commented 4 years ago

The crash is due to the missing boost library in dmg. It seems boost libraries installed by homebrew had some inconsistency. We removed all the exiting libboost* on the MacOS, re-installed boost libraries using homebrew, and then rebuilt the dmg.

The dmg was tested on a clean MacOS 10.15.2 machine and it worked fine. It is released again: https://github.com/kevacoin-project/kevacoin/releases/download/v0.16.3/Kevacoin-Qt.dmg