bitshares / bitshares1-core

Software to run the old chain (before 2015-10-13). Code for current chain is https://github.com/bitshares/bitshares-core
https://bitshares.org/
The Unlicense
219 stars 174 forks source link

Segfault with bitsharesGUI-0.9.0-linux-x86_64 #1519

Closed djthread closed 9 years ago

djthread commented 9 years ago

Things seemed to be humming along once I installed gstreamer0.10 and gstreamer0.10-base packages onto my Arch Linux system. BitShares spent quite some time rescanning the blockchain before ultimately dying.

I also tried moving away ~/.BitShares. It seemed to fail very quickly in this case, right after letting me know, "Blockchain size changed from 0MiB to 0MiB."

thread@flippy ~/a/bitsharesGUI-0.9.0-linux-x86_64> gdb ./BitShares
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./BitShares...done.
(gdb) run
Starting program: /home/thread/apps/bitsharesGUI-0.9.0-linux-x86_64/BitShares 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Could not start new instance listener. Attempting to remove defunct listener... Success.
Listening for new instances on /tmp/BitShares
2337517ms th_a       thread.cpp:95                 thread               ] name:bitshares tid:140735676413696
2340049ms th_a       MainWindow.cpp:922            loadWebUpdates       ] No web update package found.
2340060ms th_a       ClientWrapper.cpp:136         initialize           ] config: {
  "logging": {
    "includes": [],
    "appenders": [{
        "name": "stderr",
        "type": "console",
        "args": {
          "stream": "std_error",
          "level_colors": [{
              "level": "debug",
              "color": "green"
            },{
              "level": "warn",
              "color": "brown"
            },{
              "level": "error",
              "color": "red"
            }
          ]
        },
        "enabled": true
      },{
        "name": "stdout",
        "type": "console",
        "args": {
          "stream": "std_out",
          "level_colors": [{
              "level": "debug",
              "color": "green"
            },{
              "level": "warn",
              "color": "brown"
            },{
              "level": "error",
              "color": "red"
            }
          ]
        },
        "enabled": true
      }
    ],
    "loggers": [{
        "name": "default",
        "level": "debug",
        "enabled": true,
        "additivity": false,
        "appenders": [
          "stderr"
        ]
      }
    ]
  },
  "ignore_console": false,
  "client_debug_name": "",
  "rpc": {
    "enable": false,
    "enable_cache": true,
    "rpc_user": "randomuser",
    "rpc_password": "f94fd4e4fdb5a12bb7031d8f05441d10211de7e563a307030058cd99708846fa",
    "rpc_endpoint": "127.0.0.1:0",
    "httpd_endpoint": "127.0.0.1:0",
    "websocket_endpoint": "0.0.0.0:0",
    "encrypted_rpc_endpoint": "127.0.0.1:0",
    "encrypted_rpc_wif_key": "",
    "htdocs": "./htdocs",
    "users": []
  },
  "statistics_enabled": false,
  "default_peers": [
    "46.226.109.66:1776",
    "54.77.51.177:1776",
    "54.79.27.224:1776",
    "61.129.33.213:1776",
    "84.238.140.192:42577",
    "85.214.53.224:1776",
    "95.85.33.16:8764",
    "104.131.35.149:1776",
    "106.185.26.162:1776",
    "178.62.50.61:1776",
    "178.62.50.61:1777",
    "178.62.50.61:1778",
    "178.62.50.61:1779",
    "178.62.157.161:1776",
    "180.153.142.120:1777",
    "185.25.22.21:1776",
    "188.226.195.137:60696"
  ],
  "maximum_number_of_connections": 200,
  "use_upnp": true,
  "chain_servers": [],
  "chain_server": {
    "enabled": false,
    "listen_port": 0
  },
  "wallet_enabled": true,
  "min_relay_fee": 10000,
  "wallet_callback_url": "",
  "light_network_fee": 10000,
  "light_relay_fee": 10000,
  "relay_account_name": "",
  "faucet_account_name": ""
}
2340060ms th_a       ClientWrapper.cpp:139         initialize           ] Starting client with data-dir: /home/thread/.BitShares
Loading config from file: /home/thread/.BitShares/config.json
[New Thread 0x7fff81ffb700 (LWP 29433)]
[New Thread 0x7fff227dc700 (LWP 29447)]
[New Thread 0x7fff22fdd700 (LWP 29446)]
[New Thread 0x7fff237de700 (LWP 29445)]
[New Thread 0x7fff23fdf700 (LWP 29444)]
[New Thread 0x7fff375fa700 (LWP 29441)]
[New Thread 0x7fff55388700 (LWP 29440)]
[New Thread 0x7fff55ffb700 (LWP 29439)]
[New Thread 0x7fff567fc700 (LWP 29438)]
[New Thread 0x7fff56ffd700 (LWP 29437)]
[New Thread 0x7fff577fe700 (LWP 29436)]
[New Thread 0x7fff57fff700 (LWP 29435)]
[New Thread 0x7fff65347700 (LWP 29434)]
[New Thread 0x7fff827fc700 (LWP 29432)]
[New Thread 0x7fff82ffd700 (LWP 29431)]
[New Thread 0x7fff837fe700 (LWP 29430)]
[New Thread 0x7fff83fff700 (LWP 29429)]
[New Thread 0x7fff90d63700 (LWP 29428)]
[New Thread 0x7fff91564700 (LWP 29427)]
[New Thread 0x7fff92828700 (LWP 29425)]
[New Thread 0x7fff93fff700 (LWP 29424)]
[New Thread 0x7fff9910a700 (LWP 29423)]
[New Thread 0x7fffda3bd700 (LWP 29422)]
[New Thread 0x7fffe76ec700 (LWP 29421)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2ee329a in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6
(gdb) thread apply all bt

Thread 25 (Thread 0x7fffe76ec700 (LWP 29421)):
#0  0x00007ffff2f324ed in poll () from /usr/lib/libc.so.6
#1  0x00007fffeda8d9f2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fffeda8f56f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fffe8fb0879 in ?? ()
   from /home/thread/apps/bitsharesGUI-0.9.0-linux-x86_64/plugins/platforms/libqxcb.so
#4  0x00007ffff39c2384 in ?? () from libQt5Core.so.5
#5  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 24 (Thread 0x7fffda3bd700 (LWP 29422)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00007ffff6ab7b7d in ?? () from libQt5WebKit.so.5
#2  0x00007ffff6ab7ba9 in ?? () from libQt5WebKit.so.5
#3  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 23 (Thread 0x7fff9910a700 (LWP 29423)):
#0  0x00007ffff2f324ed in poll () from /usr/lib/libc.so.6
#1  0x00007ffff293dc7c in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---

Thread 24 (Thread 0x7fffda3bd700 (LWP 29422)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00007ffff6ab7b7d in ?? () from libQt5WebKit.so.5
#2  0x00007ffff6ab7ba9 in ?? () from libQt5WebKit.so.5
#3  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 23 (Thread 0x7fff9910a700 (LWP 29423)):
#0  0x00007ffff2f324ed in poll () from /usr/lib/libc.so.6
#1  0x00007ffff293dc7c in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x00007ffff293e002 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007fffe535c816 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007ffff2964625 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 22 (Thread 0x7fff93fff700 (LWP 29424)):
#0  0x000000000186b1cc in leveldb::crc32c::Extend(unsigned int, char const*, unsigned long) ()
#1  0x0000000001870646 in leveldb::ReadBlock(leveldb::RandomAccessFile*, leveldb::ReadOptions const&, leveldb::BlockHandle const&, leveldb::BlockContents*) ()
#2  0x000000000185e0b1 in leveldb::Table::BlockReader(void*, leveldb::ReadOptions const&, leveldb::Slice const&) ()
#3  0x000000000185ea5b in leveldb::Table::InternalGet(leveldb::ReadOptions const&, leveldb::Slice const&, void*, void (*)(void*, leveldb::Slice const&, leveldb::Slice const&)) ()
#4  0x0000000001858e0d in leveldb::TableCache::Get(leveldb::ReadOptions const&, unsigned long, unsigned long, leveldb::Slice const&, void*, void (*)(void*, leveldb::Slice const&, leveldb::Slice const&)) ()
#5  0x000000000184841d in leveldb::Version::Get(leveldb::ReadOptions const&, leveldb::LookupKey const&, std::string*, leveldb::Version::GetStats*) ()
#6  0x000000000183a2cf in leveldb::DBImpl::Get(leveldb::ReadOptions const&, leveldb::Slice const&, std::string*) ()
#7  0x0000000000e3503c in bts::db::level_map<unsigned int, fc::ripemd160>::fetch(unsigned int const&) ()
#8  0x0000000000d96763 in bts::blockchain::chain_database::get_block_id(unsigned int) const ()
#9  0x000000000113cb71 in bts::client::detail::client_impl::get_item_ids(unsigned int, std::vector<fc::ripemd160, std::allocator<fc::ripemd160> > const&, unsigned int&, unsigned int) ()
#10 0x0000000001599a24 in fc::detail::functor_run<bts::net::detail::statistics_gathering_node_delegate_wrapper::get_item_ids(unsigned int, std::vector<fc::ripemd160, std::allocator<fc::ripemd160> > const&, unsigned int&, unsigned int)::{lambda()#1}>::run(void*, fc::detail::functor_run<bts::net::detail::statistics_gathering_node_delegate_wrapper::get_item_ids(unsigned int, std::vector<fc::ripemd160, std::allocator<fc::ripemd160> > const&, unsigned int&, unsigned int)::{lambda()#1}>) ()
#11 0x00000000011f5395 in fc::task_base::run_impl() ()
#12 0x00000000011f34ff in fc::thread_d::process_tasks() ()
#13 0x00000000011ec664 in fc::thread::exec() ()
#14 0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#15 0x000000000188425a in thread_proxy ()
#16 0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#17 0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 21 (Thread 0x7fff92828700 (LWP 29425)):
#0  0x00007ffff2f324ed in poll () from /usr/lib/libc.so.6
#1  0x00007ffff293dc7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff293dd8c in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff3c51554 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from libQt5Core.so.5
#4  0x00007ffff3bf4eab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from libQt5Core.so.5
#5  0x00007ffff39bc6ca in QThread::exec() () from libQt5Core.so.5
#6  0x00007ffff39c2384 in ?? () from libQt5Core.so.5
#7  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 20 (Thread 0x7fff91564700 (LWP 29427)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 19 (Thread 0x7fff90d63700 (LWP 29428)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 18 (Thread 0x7fff83fff700 (LWP 29429)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 17 (Thread 0x7fff837fe700 (LWP 29430)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 16 (Thread 0x7fff82ffd700 (LWP 29431)):
#0  0x00007ffff370fd58 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f181b in boost::cv_status boost::condition_variable::wait_until<boost::chrono::steady_clock, boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > >(boost::unique_lock<boost::mutex>&, boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > > const&) ()
#2  0x00000000011f3706 in fc::thread_d::process_tasks() ()
#3  0x00000000011f3751 in fc::thread_d::start_process_tasks(long) ()
#4  0x00000000018ba85e in make_fcontext ()
#5  0x00007fff740008c0 in ?? ()
#6  0x00007fff740034f0 in ?? ()
#7  0x00007fff68000ab8 in ?? ()
#8  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fff827fc700 (LWP 29432)):
#0  0x00007ffff2f3b883 in epoll_wait () from /usr/lib/libc.so.6
#1  0x00000000012abf87 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) ()
#2  0x00000000012af00f in boost::asio::detail::task_io_service::run(boost::system::error_code&) ()
#3  0x00000000012f834a in boost::detail::thread_data<fc::asio::default_io_service_scope::default_io_service_scope()::{lambda()#1}>::run() ()
#4  0x000000000188425a in thread_proxy ()
#5  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 14 (Thread 0x7fff65347700 (LWP 29434)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x0000000001870c73 in leveldb::(anonymous namespace)::PosixEnv::BGThreadWrapper(void*) ()
#2  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7fff57fff700 (LWP 29435)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7fff577fe700 (LWP 29436)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7fff56ffd700 (LWP 29437)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fff567fc700 (LWP 29438)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fff55ffb700 (LWP 29439)):
#0  0x00007ffff370fd58 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f181b in boost::cv_status boost::condition_variable::wait_until<boost::chrono::steady_clock, boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > >(boost::unique_lock<boost::mutex>&, boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > > const&) ()
#2  0x00000000011f3706 in fc::thread_d::process_tasks() ()
#3  0x00000000011f3751 in fc::thread_d::start_process_tasks(long) ()
#4  0x00000000018ba85e in make_fcontext ()
#5  0x00007fff440008c0 in ?? ()
#6  0x00007fff4428a460 in ?? ()
#7  0x00007fff68005988 in ?? ()
#8  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fff55388700 (LWP 29440)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fff375fa700 (LWP 29441)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000011f16eb in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2  0x00000000011f3716 in fc::thread_d::process_tasks() ()
#3  0x00000000011ec664 in fc::thread::exec() ()
#4  0x00000000011ed562 in fc::thread::thread(std::string const&)::{lambda()#1}::operator()() const ()
#5  0x000000000188425a in thread_proxy ()
#6  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fff23fdf700 (LWP 29444)):
#0  0x00007ffff370fd58 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00007ffff6ae444c in WTF::ThreadCondition::timedWait(WTF::Mutex&, double)
    () from libQt5WebKit.so.5
#2  0x00007ffff67ccdb9 in ?? () from libQt5WebKit.so.5
#3  0x00007ffff6ae3ef1 in ?? () from libQt5WebKit.so.5
#4  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fff237de700 (LWP 29445)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00007ffff67cdd93 in ?? () from libQt5WebKit.so.5
#2  0x00007ffff67cde20 in ?? () from libQt5WebKit.so.5
#3  0x00007ffff6ae3ef1 in ?? () from libQt5WebKit.so.5
#4  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fff22fdd700 (LWP 29446)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00007ffff67cdd93 in ?? () from libQt5WebKit.so.5
#2  0x00007ffff67cde20 in ?? () from libQt5WebKit.so.5
#3  0x00007ffff6ae3ef1 in ?? () from libQt5WebKit.so.5
#4  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fff227dc700 (LWP 29447)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00007ffff67cdd93 in ?? () from libQt5WebKit.so.5
#2  0x00007ffff67cde20 in ?? () from libQt5WebKit.so.5
#3  0x00007ffff6ae3ef1 in ?? () from libQt5WebKit.so.5
#4  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fff81ffb700 (LWP 29433)):
#0  0x00007ffff370f9af in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
#1  0x00000000012af0cd in boost::asio::detail::task_io_service::run(boost::system::error_code&) ()
#2  0x00000000012af539 in boost_asio_detail_posix_thread_function ()
#3  0x00007ffff370a374 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ffff2f3b27d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7fb6780 (LWP 29417)):
#0  0x00007ffff2ee329a in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6
#1  0x0000000001916e0d in lh_insert ()
#2  0x00000000018e6e17 in OBJ_NAME_add ()
#3  0x00007fff2153f5c7 in SSL_library_init () from /usr/lib/libssl.so.1.0.0
#4  0x00007ffff416a57e in ?? () from libQt5Network.so.5
#5  0x00007ffff416c4d9 in ?? () from libQt5Network.so.5
#6  0x00007ffff414e646 in QSslCertificate::QSslCertificate(QByteArray const&, QSsl::EncodingFormat) () from libQt5Network.so.5
#7  0x00007ffff4151167 in QSslConfiguration::QSslConfiguration() ()
   from libQt5Network.so.5
#7  0x00007ffff4151167 in QSslConfiguration::QSslConfiguration() ()
   from libQt5Network.so.5
---Type <return> to continue, or q <return> to quit---
#8  0x00007ffff40e4844 in ?? () from libQt5Network.so.5
#9  0x00007ffff40ee8b5 in ?? () from libQt5Network.so.5
#10 0x00007ffff40c0ec5 in QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*) () from libQt5Network.so.5
#11 0x00007ffff40bdc84 in QNetworkAccessManager::get(QNetworkRequest const&) ()
   from libQt5Network.so.5
#12 0x00007ffff59ad717 in ?? () from libQt5WebKit.so.5
#13 0x00007ffff59ad947 in ?? () from libQt5WebKit.so.5
#14 0x00007ffff59a89a8 in ?? () from libQt5WebKit.so.5
#15 0x00007ffff59aa3be in ?? () from libQt5WebKit.so.5
#16 0x00007ffff59a47ce in ?? () from libQt5WebKit.so.5
#17 0x00007ffff58d7da8 in ?? () from libQt5WebKit.so.5
#18 0x00007ffff57ad06a in ?? () from libQt5WebKit.so.5
#19 0x00007ffff57b2364 in ?? () from libQt5WebKit.so.5
#20 0x00007ffff57b27b6 in ?? () from libQt5WebKit.so.5
#21 0x00007ffff57617b5 in ?? () from libQt5WebKit.so.5
#22 0x00007ffff576f086 in ?? () from libQt5WebKit.so.5
#23 0x00007ffff5771055 in ?? () from libQt5WebKit.so.5
#24 0x00007ffff5778420 in ?? () from libQt5WebKit.so.5
#25 0x00007ffff578dc00 in ?? () from libQt5WebKit.so.5
#26 0x00007ffff578dc3d in ?? () from libQt5WebKit.so.5
#27 0x00007ffff57a08dc in ?? () from libQt5WebKit.so.5
#28 0x00007ffff57a50cd in ?? () from libQt5WebKit.so.5
#29 0x00007ffff5440e39 in ?? () from libQt5WebKit.so.5
#30 0x00007ffff57a6f22 in ?? () from libQt5WebKit.so.5
#31 0x00007ffff578e96e in ?? () from libQt5WebKit.so.5
#32 0x00007ffff578ed32 in ?? () from libQt5WebKit.so.5
#33 0x00007ffff578f0db in ?? () from libQt5WebKit.so.5
#34 0x00007ffff54538f1 in QWebFrameAdapter::load(QNetworkRequest const&, QNetworkAccessManager::Operation, QByteArray const&) () from libQt5WebKit.so.5
#35 0x00007ffff4d66f31 in QWebFrame::load(QUrl const&) ()
   from libQt5WebKitWidgets.so.5
#36 0x00000000009d25a0 in QtPrivate::QFunctorSlotObject<BitSharesApp::prepareStartupSequence(ClientWrapper*, Html5Viewer*, MainWindow*, QSplashScreen*)::{lambda()#3}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#37 0x00007ffff3c29035 in QMetaObject::activate(QObject*, int, int, void**) ()
   from libQt5Core.so.5
#38 0x00000000009b282c in fc::detail::void_functor_run<ClientWrapper::initialize(ClientWrapper::INotifier*)::{lambda()#1}::operator()() const::{lambda()#9}>::run(void*, ClientWrapper::initialize(ClientWrapper::INotifier*)::{lambda()#1}::operator()() const::{lambda()#9}) ()
#39 0x00000000011f5395 in fc::task_base::run_impl() ()
#40 0x00000000011f34ff in fc::thread_d::process_tasks() ()
#41 0x00000000011f3751 in fc::thread_d::start_process_tasks(long) ()
#42 0x00000000018ba85e in make_fcontext ()
#43 0x00000000031ab400 in ?? ()
#44 0x00000000031ab680 in ?? ()
#45 0x00007fff5b150ee0 in ?? ()
#46 0x0000000000000000 in ?? ()
vikramrajkumar commented 9 years ago

I am having trouble reading: which is the crashed thread in the above?

djthread commented 9 years ago

Thanks for checking it out, Vikram. I believe I have a trace of the one trouble thread here. I've used "bt" as opposed to last time when I did "thread apply all bt"

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2ee329a in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff2ee329a in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6
#1  0x0000000001916e0d in lh_insert ()
#2  0x00000000018e6e17 in OBJ_NAME_add ()
#3  0x00007fff3bddf5c7 in SSL_library_init () from /usr/lib/libssl.so.1.0.0
#4  0x00007ffff416a57e in ?? () from libQt5Network.so.5
#5  0x00007ffff416c4d9 in ?? () from libQt5Network.so.5
#6  0x00007ffff414e646 in QSslCertificate::QSslCertificate(QByteArray const&, QSsl::EncodingFormat) () from libQt5Network.so.5
#7  0x00007ffff4151167 in QSslConfiguration::QSslConfiguration() ()
   from libQt5Network.so.5
#8  0x00007ffff40e4844 in ?? () from libQt5Network.so.5
#9  0x00007ffff40ee8b5 in ?? () from libQt5Network.so.5
#10 0x00007ffff40c0ec5 in QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*) () from libQt5Network.so.5
#11 0x00007ffff40bdc84 in QNetworkAccessManager::get(QNetworkRequest const&) ()
   from libQt5Network.so.5
#12 0x00007ffff59ad717 in ?? () from libQt5WebKit.so.5
#13 0x00007ffff59ad947 in ?? () from libQt5WebKit.so.5
#14 0x00007ffff59a89a8 in ?? () from libQt5WebKit.so.5
#15 0x00007ffff59aa3be in ?? () from libQt5WebKit.so.5
#16 0x00007ffff59a47ce in ?? () from libQt5WebKit.so.5
#17 0x00007ffff58d7da8 in ?? () from libQt5WebKit.so.5
#18 0x00007ffff57ad06a in ?? () from libQt5WebKit.so.5
#19 0x00007ffff57b2364 in ?? () from libQt5WebKit.so.5
#20 0x00007ffff57b27b6 in ?? () from libQt5WebKit.so.5
#21 0x00007ffff57617b5 in ?? () from libQt5WebKit.so.5
#22 0x00007ffff576f086 in ?? () from libQt5WebKit.so.5
#23 0x00007ffff5771055 in ?? () from libQt5WebKit.so.5
#24 0x00007ffff5778420 in ?? () from libQt5WebKit.so.5
#25 0x00007ffff578dc00 in ?? () from libQt5WebKit.so.5
#26 0x00007ffff578dc3d in ?? () from libQt5WebKit.so.5
#27 0x00007ffff57a08dc in ?? () from libQt5WebKit.so.5
#28 0x00007ffff57a50cd in ?? () from libQt5WebKit.so.5
#29 0x00007ffff5440e39 in ?? () from libQt5WebKit.so.5
#30 0x00007ffff57a6f22 in ?? () from libQt5WebKit.so.5
#31 0x00007ffff578e96e in ?? () from libQt5WebKit.so.5
#32 0x00007ffff578ed32 in ?? () from libQt5WebKit.so.5
#33 0x00007ffff578f0db in ?? () from libQt5WebKit.so.5
#34 0x00007ffff54538f1 in QWebFrameAdapter::load(QNetworkRequest const&, QNetworkAccessManager::Operation, QByteArray const&) () from libQt5WebKit.so.5
#35 0x00007ffff4d66f31 in QWebFrame::load(QUrl const&) ()
   from libQt5WebKitWidgets.so.5
#36 0x00000000009d25a0 in QtPrivate::QFunctorSlotObject<BitSharesApp::prepareStartupSequence(ClientWrapper*, Html5Viewer*, MainWindow*, QSplashScreen*)::{lambda()#3}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#37 0x00007ffff3c29035 in QMetaObject::activate(QObject*, int, int, void**) ()
   from libQt5Core.so.5
#38 0x00000000009b282c in fc::detail::void_functor_run<ClientWrapper::initialize(ClientWrapper::INotifier*)::{lambda()#1}::operator()() const::{lambda()#9}>::run(void*, ClientWrapper::initialize(ClientWrapper::INotifier*)::{lambda()#1}::operator()() const::{lambda()#9}) ()
#39 0x00000000011f5395 in fc::task_base::run_impl() ()
#40 0x00000000011f34ff in fc::thread_d::process_tasks() ()
#41 0x00000000011f3751 in fc::thread_d::start_process_tasks(long) ()
#42 0x00000000018ba85e in make_fcontext ()
#43 0x00000000031a9490 in ?? ()
#44 0x00000000031a9770 in ?? ()
#45 0x00007fff744ec4c0 in ?? ()
#46 0x0000000000000000 in ?? ()
vikramrajkumar commented 9 years ago

Refer back to reopened: #1373