Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04  (Read 697 times)

0 Members and 1 Guest are viewing this topic.

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« on: September 20, 2014, 02:37:05 PM »

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 ([email protected]=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

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #1 on: September 20, 2014, 08:15:11 PM »
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 emf

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #2 on: September 20, 2014, 09:13:05 PM »
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 tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #3 on: September 20, 2014, 09:42:24 PM »
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 emski

  • Hero Member
  • *****
  • Posts: 1283
    • View Profile
    • http://lnkd.in/nPbhxG
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #4 on: September 20, 2014, 09:48:14 PM »
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 GaltReport

Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #5 on: September 20, 2014, 10:12:26 PM »
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).

38PTSWarrior

  • Guest
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #6 on: September 21, 2014, 08:11:27 AM »
Same here: ./BitSharesX
>
terminate called after throwing an instance of 'fc::assert_exception'
Aborted (core dumped)

Did you fid a solution maqifrnswa?

Offline davidpbrown

Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #7 on: September 21, 2014, 10:33:32 AM »
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
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #8 on: September 21, 2014, 11:12:22 AM »
apt-get install qttools5-dev qttools5-dev-tools

Offline Riverhead

Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #9 on: September 21, 2014, 11:43:48 AM »
The 0.4.16 (release) works great :)

Offline davidpbrown

Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #10 on: September 21, 2014, 11:50:33 AM »
apt-get install qttools5-dev qttools5-dev-tools

Thanks - that worked for me.
Update needed for build instructions at: http://wiki.bitshares.org/index.php/BuildInstructionsBitSharesX#Configuration_and_Compilation_.28GUI.29
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

38PTSWarrior

  • Guest
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #11 on: September 21, 2014, 11:51:08 AM »
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

Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #12 on: September 21, 2014, 01:12:46 PM »
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

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #13 on: September 21, 2014, 02:27:50 PM »
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

38PTSWarrior

  • Guest
Re: 0.4.16-RC2 BitSharesX crash on startup, Ubuntu 14.04
« Reply #14 on: September 21, 2014, 08:40:03 PM »
0.4.16 is newer than o.4.16-RC2! haha, I'm a genius! Building..  8)

 

Google+