Author Topic: Problems on Ubuntu  (Read 1852 times)

0 Members and 1 Guest are viewing this topic.

Offline vikram

Thank you for the report. I have intermittently experienced some of these issues but have had trouble reproducing them. Please add any additional details you obtain to the issue here: https://github.com/BitShares/bitshares_toolkit/issues/647 or in this thread.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
0.4.0 is out now. For the GUI should stay on 0.3.0.
use 0.3.1 pls

however, it's still in its early phase .. if you fill you found a bug report it to the gihub issue tracker please ..
https://github.com/BitShares/bitshares_toolkit/issues

Offline Riverhead

0.4.0 is out now. For the GUI should stay on 0.3.0.

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Hi,

I managed to build the 0.3.1 client on Ubuntu-14.04 (i586), but it is seriously unstable.
After starting it, it instantly goes to 100% CPU and stays there. The console reports varying connection counts, and the p2p.log shows lots of
Code: [Select]
20140815T093416.678613       th_a on_blockchain_item_i ] sync:     191d0c7973d0bf89568668600c8b5a36d8938028                     node.cpp:1942
According to get_info, the block count stays constant for a long time before it starts to crawl upwards - if it ever gets to that point. Most of the time, it crashes either with an Assertion Failure (attempt to free a mutex while threads are waiting on it) or a segfault. After about a dozen or so attempts I'm now synced up to block #23190. IOW, the client is unusable.

Here's a backtrace of the latest segfault:
Code: [Select]
--- there are now 4 active connections to the p2p network
(wallet closed) >>>
Program received signal SIGSEGV, Segmentation fault.
0x0917fd7a in fc::detail::is_operation_shorter::operator()(fc::detail::rate_limited_operation const*, fc::detail::rate_limited_operation const*) ()
(gdb) bt
#0  0x0917fd7a in fc::detail::is_operation_shorter::operator()(fc::detail::rate_limited_operation const*, fc::detail::rate_limited_operation const*) ()
#1  0x09181663 in void std::__insertion_sort<__gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, fc::detail::is_operation_shorter>(__gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, __gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, fc::detail::is_operation_shorter) ()
#2  0x09180e17 in void std::__final_insertion_sort<__gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, fc::detail::is_operation_shorter>(__gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, __gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, fc::detail::is_operation_shorter)
    ()
#3  0x091803ae in void std::sort<__gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, fc::detail::is_operation_shorter>(__gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<f---Type <return> to continue, or q <return> to quit---
c::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, __gnu_cxx::__normal_iterator<fc::detail::rate_limited_operation**, std::vector<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> > >, fc::detail::is_operation_shorter) ()
#4  0x0917eef7 in fc::detail::rate_limiting_group_impl::process_pending_operations(fc::time_point&, unsigned int&, std::list<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> >&, std::list<fc::detail::rate_limited_operation*, std::allocator<fc::detail::rate_limited_operation*> >&, unsigned int&, unsigned int&) ()
#5  0x0917eaee in fc::detail::rate_limiting_group_impl::process_pending_writes() ()
#6  0x0917e685 in fc::detail::rate_limiting_group_impl::writesome(boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >&, char const*, unsigned int)::{lambda()#1}::operator()() const ()
#7  0x0917f8f2 in fc::detail::void_functor_run<fc::detail::rate_limiting_group_impl::writesome(boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >&, char const*, unsigned int)::{lambda()#1}>::run(void*, fc::detail::void_functor_run<fc::detail::rate_limiting_group_impl::writesome(boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >&, char const*, unsigned int)::{lambda()#1}>) ()
#8  0x08b0bf37 in fc::task_base::run_impl() ()
---Type <return> to continue, or q <return> to quit---
#9  0x08b0beed in fc::task_base::run() ()
#10 0x08b0472b in fc::thread_d::run_next_task() ()
#11 0x08b04a46 in fc::thread_d::process_tasks() ()
#12 0x08b042bb in fc::thread_d::start_process_tasks(int) ()
#13 0x091c3fa9 in make_fcontext ()

I also managed to build the QT wallet, but tested it only briefly as it doesn't even get to the point of opening a "real" window (other than the splash screen). One strange thing I noticed is that it uses "$HOME/BitShares X" instead of "$HOME/.BitSharesX" like the CLI version.

Edit: here's the assertion failure I was referring to:
Code: [Select]
(wallet closed) >>> bitsharesxd: /home/peter/Work/packages/bitshares/trans/bitsharesx-0.3.1/libraries/fc/src/thread/mutex.cpp:22: fc::mutex::~mutex(): Assertion `!m_blist && "Attempt to free mutex while others are blocking on lock."' failed.
« Last Edit: August 15, 2014, 10:42:58 am by pc »
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de