Author Topic: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04  (Read 2777 times)

0 Members and 1 Guest are viewing this topic.

38PTSWarrior

  • Guest
0.4.16 is newer than o.4.16-RC2! haha, I'm a genius! Building..  8)

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
0.4.16 works for me now, thanks to whomever fixed that!
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline davidpbrown

I used gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1).

Using the old .BitSharesX gave error/crash. It appears to works fine, if you allow it to recreate .BitSharesX from scratch; once running the GUI, close it down and copy across the wallet folder, then restart.

Unfortunately this does then mean it's downloading the blockchain from scratch too. I expect there is an intermediary fix.. perhaps deleting only the .config file might work too but I'm too far in now to go back.
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

38PTSWarrior

  • Guest
I think this: /bitsharesx/programs/qt_wallet/bin$ ./BitSharesX
terminate called after throwing an instance of 'fc::assert_exception'
Aborted (core dumped)

is from using a too new gcc or g++ version. Do you know how to downgrade? Or first, which version did u use?

E: found it: sudo apt-get install <package-name>=<package-version-number>
EE: Welcome davidpbrown, always happy to be able to help :)
EEE: Which gcc version is recommended? 4.8.2?
« Last Edit: September 21, 2014, 12:17:16 pm by 38PTSWarrior »

Offline davidpbrown

฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline Riverhead


38PTSWarrior

  • Guest
apt-get install qttools5-dev qttools5-dev-tools

Offline davidpbrown

Just looking to compile the GUI for 0.4.16 in Mint 17 which is for all purposes here the same as 14.04.

Almost missed this error from
> cmake -DINCLUDE_QT_WALLET=ON .

Code: [Select]
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at programs/qt_wallet/CMakeLists.txt:51 (find_package):
  By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5LinguistTools", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!

I'm not sure then if that is new since the previous version. I can't immediately see how to fix this as there's not obviously a Qt5LinguistTools package.
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

38PTSWarrior

  • Guest
Same here: ./BitSharesX
>
terminate called after throwing an instance of 'fc::assert_exception'
Aborted (core dumped)

Did you fid a solution maqifrnswa?

Offline GaltReport

Looks like we put a malformed key into the source code.  You can work around it by removing line 15 of programs/qt_wallet/WebUpdates.hpp so that it reads:

Code: [Select]
const static std::unordered_set<bts::blockchain::address>   WEB_UPDATES_SIGNING_KEYS ({
    // bts::blockchain::address( std::string( "BTSX5gc28hpz1U2BvuCaAtDEUZMFxouH9nwsR9bNaTzqTb1G3gBK4F" ) )
});

In no universe I'll comment a line looking like that unless I do manual review what exactly is going to be changed by this.
I would rather wait for a fix in the official repository.

10-4 !!  You have passed the audit pen test.  (just kidding. AFAIK).

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
Looks like we put a malformed key into the source code.  You can work around it by removing line 15 of programs/qt_wallet/WebUpdates.hpp so that it reads:

Code: [Select]
const static std::unordered_set<bts::blockchain::address>   WEB_UPDATES_SIGNING_KEYS ({
    // bts::blockchain::address( std::string( "BTSX5gc28hpz1U2BvuCaAtDEUZMFxouH9nwsR9bNaTzqTb1G3gBK4F" ) )
});

In no universe I'll comment a line looking like that unless I do manual review what exactly is going to be changed by this.
I would rather wait for a fix in the official repository.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
Looks like we put a malformed key into the source code.  You can work around it by removing line 15 of programs/qt_wallet/WebUpdates.hpp so that it reads:

Code: [Select]
const static std::unordered_set<bts::blockchain::address>   WEB_UPDATES_SIGNING_KEYS ({
    // bts::blockchain::address( std::string( "BTSX5gc28hpz1U2BvuCaAtDEUZMFxouH9nwsR9bNaTzqTb1G3gBK4F" ) )
});
Who are we?
And who are you *emf*?
... to suggest bold moves like this.
« Last Edit: September 20, 2014, 09:57:24 pm by tonyk »
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline emf

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
Looks like we put a malformed key into the source code.  You can work around it by removing line 15 of programs/qt_wallet/WebUpdates.hpp so that it reads:

Code: [Select]
const static std::unordered_set<bts::blockchain::address>   WEB_UPDATES_SIGNING_KEYS ({
    // bts::blockchain::address( std::string( "BTSX5gc28hpz1U2BvuCaAtDEUZMFxouH9nwsR9bNaTzqTb1G3gBK4F" ) )
});

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
make clean, and rebuilt - same issue

make clean, rebuilt with
Code: [Select]
cmake -DINCLUDE_QT_WALLET=true -DCMAKE_BUILD_TYPE=Release .
make -j BitSharesX
same issue
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
ubuntu 14.04
bitshares_client works fine, reindexes and connects to network.

BitSharesX crashes:
Code: [Select]
$ ./programs/qt_wallet/bin/BitSharesX
terminate called after throwing an instance of 'fc::assert_exception'
Aborted (core dumped)

gdb backtrace:
Code: [Select]
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb48e2577 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2  0xb48e59a3 in __GI_abort () at abort.c:89
#3  0xb4b14595 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/i386-linux-gnu/libstdc++.so.6
#4  0xb4b121f3 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0xb4b1222f in std::terminate() ()
   from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6  0xb4b124f5 in __cxa_rethrow () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7  0x083c4e0b in bts::blockchain::address::is_valid (base58str=...)
    at /home/showard/bitcoin/bitsharesx/libraries/blockchain/address.cpp:42
#8  0x083c4f2f in bts::blockchain::address::address (this=0xbfffef5c,
    base58str=...)
    at /home/showard/bitcoin/bitsharesx/libraries/blockchain/address.cpp:13
#9  0x08203caf in __static_initialization_and_destruction_0 (__initialize_p=1,
    __priority=65535)
    at /home/showard/bitcoin/bitsharesx/programs/qt_wallet/WebUpdates.hpp:14
#10 _GLOBAL__sub_I__ZN10MainWindowC2Ev ()
    at /home/showard/bitcoin/bitsharesx/programs/qt_wallet/MainWindow.cpp:935
#11 0x08b65f02 in __libc_csu_init ()
#12 0xb48cda1a in __libc_start_main (main=0x8203c00 <main(int, char**)>,
    argc=1, argv=0xbffff054, init=0x8b65eb0 <__libc_csu_init>,
---Type <return> to continue, or q <return> to quit---
    fini=0x8b65f20 <__libc_csu_fini>, rtld_fini=0xb7fed180 <_dl_fini>,
    stack_end=0xbffff04c) at libc-start.c:246
#13 0x08207200 in _start ()
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true