BitShares Forum

Main => General Discussion => Topic started by: toast on October 23, 2014, 03:23:43 am

Title: 0.4.21 segmentation fault
Post by: toast on October 23, 2014, 03:23:43 am
vikram help!

Code: [Select]
(wallet closed) >>>
Program received signal SIGSEGV, Segmentation fault.
fc::exception::code (this=0x0) at /root/bitsharesx/libraries/fc/src/exception.cpp:105
105        int64_t      exception::code()const throw() { return my->_code;         }
(gdb) bt
#0  fc::exception::code (this=0x0) at /root/bitsharesx/libraries/fc/src/exception.cpp:105
#1  0x0000000000847419 in operator() (e=..., __closure=0x4c6d268) at /root/bitsharesx/libraries/client/client.cpp:2766
#2  fc::detail::completion_handler_impl<bts::client::client::start_networking(std::function<void()>)::__lambda13, void>::on_complete(const void *, const fc::exception_ptr &) (this=0x4c6d260, v=<optimized out>, e=...) at /root/bitsharesx/libraries/fc/include/fc/thread/future.hpp:54
#3  0x00000000008e0516 in fc::promise_base::_set_value (this=0x4c6d9d8, s=s@entry=0x0) at /root/bitsharesx/libraries/fc/src/thread/future.cpp:122
#4  0x0000000000ccfc69 in set_value (this=0x4c6d940) at /root/bitsharesx/libraries/fc/include/fc/thread/future.hpp:158
#5  fc::detail::void_functor_run<bts::net::chain_downloader::get_all_blocks(std::function<void(const bts::blockchain::full_block&, unsigned int)>, uint32_t)::__lambda1>::run(void *, void *) (functor=0x4c6d948, prom=0x4c6d940) at /root/bitsharesx/libraries/fc/include/fc/thread/task.hpp:84
#6  0x00000000008e0fd3 in fc::task_base::run_impl (this=this@entry=0x4c6d978) at /root/bitsharesx/libraries/fc/src/thread/task.cpp:43
#7  0x00000000008e1685 in fc::task_base::run (this=this@entry=0x4c6d978) at /root/bitsharesx/libraries/fc/src/thread/task.cpp:32
#8  0x00000000008df52e in run_next_task (this=0x1a0de10) at /root/bitsharesx/libraries/fc/src/thread/thread_d.hpp:498
#9  fc::thread_d::process_tasks (this=this@entry=0x1a0de10) at /root/bitsharesx/libraries/fc/src/thread/thread_d.hpp:547
#10 0x00000000008df7b6 in fc::thread_d::start_process_tasks (my=27319824) at /root/bitsharesx/libraries/fc/src/thread/thread_d.hpp:475
#11 0x000000000120127e in make_fcontext ()
#12 0x0000000001a0de10 in ?? ()
#13 0x0000000004c8cf00 in ?? ()
#14 0x0000000000000000 in ?? ()
Title: Re: 0.4.21 segmentation fault
Post by: bytemaster on October 23, 2014, 03:27:47 am
Details?
Title: Re: 0.4.21 segmentation fault
Post by: toast on October 23, 2014, 03:28:32 am
Details?

I run the client and it instantly crashes with the above backtrace. What else would help?
Title: Re: 0.4.21 segmentation fault
Post by: bytemaster on October 23, 2014, 03:29:20 am
Ok.  I'll try to reproduce.   OS?
Title: Re: 0.4.21 segmentation fault
Post by: tonyk on October 23, 2014, 03:31:04 am
Now, we were talking about better PR (or is this the better PR? hm?)

I thought toast got some more efficient means of communication with vikram and BM than posting here  :)
Title: Re: 0.4.21 segmentation fault
Post by: alt on October 23, 2014, 03:34:22 am
post here maybe not bad,
we got chance to  join  them  :)
Title: Re: 0.4.21 segmentation fault
Post by: xeroc on October 23, 2014, 06:20:24 am
I am having the same segfault .. Posted at github..


2x Debian sid .. both crash
2x archlinux ... all fine
Title: Re: 0.4.21 segmentation fault
Post by: cube on October 23, 2014, 06:29:21 am
Now, we were talking about better PR (or is this the better PR? hm?)

I thought toast got some more efficient means of communication with vikram and BM than posting here  :)

I think posting technical stuff here is good.  Other people who are facing similar problems can get a quick answer.  Just like a public listed company would halt the trading of their company shares before announcing any major company movement which are share price sensitive, we do need more care when it comes to any announcement/proposal/posts that would potentially affect prices.  Having good PR would help.
Title: Re: 0.4.21 segmentation fault
Post by: xeroc on October 23, 2014, 09:31:41 am
What sense does it make to have a RC if you won't give people the time to install and report bugs?
https://github.com/BitShares/bitshares_toolkit/issues/864
Title: Re: 0.4.21 segmentation fault
Post by: emski on October 23, 2014, 10:03:09 am
I haven't seen that issue on ubuntu 14.04 .
Title: Re: 0.4.21 segmentation fault
Post by: xeroc on October 23, 2014, 10:16:20 am
I haven't seen that issue on ubuntu 14.04 .
For me it seems to be Debian sid related ..

I need sid because of boost .. kind of sucks .. gonna install ubuntu next time :) .. or archlinux
Title: Re: 0.4.21 segmentation fault
Post by: GaltReport on October 23, 2014, 11:11:03 am
What sense does it make to have a RC if you won't give people the time to install and report bugs?
https://github.com/BitShares/bitshares_toolkit/issues/864

Good point. No sooner did I get RC1 installed and their is another release.

BTW, RC1 running fine for me.  I did find that a reboot after install again gave me a lot more memory so i do this now as regular practice.
Title: Re: 0.4.21 segmentation fault
Post by: bytemaster on October 23, 2014, 01:48:03 pm
What sense does it make to have a RC if you won't give people the time to install and report bugs?
https://github.com/BitShares/bitshares_toolkit/issues/864

We had people file and report bugs internally. 
Title: Re: 0.4.21 segmentation fault
Post by: bytemaster on October 23, 2014, 01:56:19 pm
Disable Chain Downloader by removing it from your config file.... if in doubt you can delete your config file entirely.
Title: Re: 0.4.21 segmentation fault
Post by: xeroc on October 23, 2014, 01:57:15 pm
What sense does it make to have a RC if you won't give people the time to install and report bugs?
https://github.com/BitShares/bitshares_toolkit/issues/864

We had people file and report bugs internally.
That would be a good approach if you had all different architectures available to test with .. have you?
Title: Re: 0.4.21 segmentation fault
Post by: arubi on October 23, 2014, 03:36:59 pm
What sense does it make to have a RC if you won't give people the time to install and report bugs?
https://github.com/BitShares/bitshares_toolkit/issues/864 (https://github.com/BitShares/bitshares_toolkit/issues/864)

We had people file and report bugs internally.
That would be a good approach if you had all different architectures available to test with .. have you?

I just finished building on ubuntu server 14.04.1 32bit.
The cli client seems to be working well but the web wallet is not.

I keep getting redirected to http://localhost:9989/#/createwallet and even after manually navigating to http://localhost:9989/#/unlockwallet and supplying the password, I'm still being redirected back to the /createwallet page.

My wallet's name is not default, if it matters.


I'm gonna try building on sid 64bit soon. xeroc, what are you using there? what's the version of boost? which compiler and version?
Thanks.
Title: Re: 0.4.21 segmentation fault
Post by: toast on October 23, 2014, 03:43:24 pm
The fix was to turn off chain downloader.
Title: Re: 0.4.21 segmentation fault
Post by: arubi on October 23, 2014, 03:44:50 pm
The fix was to turn off chain downloader.

Ah I guess I missed that..
What's the purpose of "chain downloader"? (aside from the obvious ;) )
Title: Re: 0.4.21 segmentation fault
Post by: xeroc on October 23, 2014, 03:45:44 pm
xeroc, what are you using there? what's the version of boost? which compiler and version?
My issue was fixed in
https://github.com/BitShares/bitshares_toolkit/issues/864 (https://github.com/BitShares/bitshares_toolkit/issues/864)

can't help with yours though .. as I am not using the GUI much :(
Title: Re: 0.4.21 segmentation fault
Post by: toast on October 23, 2014, 03:46:09 pm
The fix was to turn off chain downloader.

Ah I guess I missed that..
What's the purpose of "chain downloader"? (aside from the obvious ;) )

Download from trusted server instead of p2p network.
Title: Re: 0.4.21 segmentation fault
Post by: arubi on October 23, 2014, 03:51:23 pm
xeroc, what are you using there? what's the version of boost? which compiler and version?
My issue was fixed in
https://github.com/BitShares/bitshares_toolkit/issues/864 (https://github.com/BitShares/bitshares_toolkit/issues/864)

can't help with yours though .. as I am not using the GUI much :(

Me neither, but it's nice to have it working. I'll wait for an eventual fix then...


Download from trusted server instead of p2p network.

I don't like this feature.. glad that the fix is to turn it off.


Thanks all!
Title: Re: 0.4.21 segmentation fault
Post by: vikram on October 23, 2014, 10:24:11 pm
Fixed for 0.4.22.
Title: Re: 0.4.21 segmentation fault
Post by: speedy on October 23, 2014, 10:31:28 pm
Just want to say Thank You to whoever fixed the market font colors in v0.4.21 - I can now read the numbers :)