BitShares Forum
Main => Technical Support => Topic started by: maqifrnswa on September 20, 2014, 02:37:05 pm
-
ubuntu 14.04
bitshares_client works fine, reindexes and connects to network.
BitSharesX crashes:
$ ./programs/qt_wallet/bin/BitSharesX
terminate called after throwing an instance of 'fc::assert_exception'
Aborted (core dumped)
gdb backtrace:
#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 ()
-
make clean, and rebuilt - same issue
make clean, rebuilt with
cmake -DINCLUDE_QT_WALLET=true -DCMAKE_BUILD_TYPE=Release .
make -j BitSharesX
same issue
-
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:
const static std::unordered_set<bts::blockchain::address> WEB_UPDATES_SIGNING_KEYS ({
// bts::blockchain::address( std::string( "BTSX5gc28hpz1U2BvuCaAtDEUZMFxouH9nwsR9bNaTzqTb1G3gBK4F" ) )
});
-
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:
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.
-
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:
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.
-
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:
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).
-
Same here: ./BitSharesX
>
terminate called after throwing an instance of 'fc::assert_exception'
Aborted (core dumped)
Did you fid a solution maqifrnswa?
-
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 .
-- 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.
-
apt-get install qttools5-dev qttools5-dev-tools
-
The 0.4.16 (release) works great :)
-
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
-
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?
-
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.
-
0.4.16 works for me now, thanks to whomever fixed that!
-
0.4.16 is newer than o.4.16-RC2! haha, I'm a genius! Building.. 8)