Bitcoin Forum
March 06, 2021, 02:57:51 PM *
News: Latest Bitcoin Core release: 0.21.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Bitcoin core shutdown fails / hungs on: August 31, 2019, 04:51:43 PM
Hi everyone!

I have problem with shutting down bitcoin core on linux platform for years with different bitcoin core versions Sad
bitcoind and bitcoin-qt hungs after shutdown it. In bitcon.conf only one line - server=1

Note that is with empty database (like 1st bitcoind run!)

Here is debug.log with debug=0:
...

2019-08-31T16:29:46Z Shutdown: In progress...
2019-08-31T16:29:46Z net thread exit
2019-08-31T16:29:47Z msghand thread exit

Here is debug.log with debug=1:
...
019-08-31T16:46:40Z Shutdown: In progress...
2019-08-31T16:46:40Z Stopping HTTP RPC server
2019-08-31T16:46:40Z Unregistering HTTP handler for / (exactmatch 1)
2019-08-31T16:46:40Z Unregistering HTTP handler for /wallet/ (exactmatch 0)
2019-08-31T16:46:40Z Stopping RPC
2019-08-31T16:46:40Z RPC stopped.
2019-08-31T16:46:40Z Stopping HTTP server
2019-08-31T16:46:40Z Waiting for HTTP worker threads to exit
2019-08-31T16:46:40Z libevent: epoll_dispatch: epoll_wait reports 1
2019-08-31T16:46:40Z libevent: event_active: 0x559cf948bda0 (fd 24), res 2, callback 0x7fc92f469610
2019-08-31T16:46:40Z libevent: event_process_active: event: 0x559cf948bda0, EV_READ   call 0x7fc92f469610
2019-08-31T16:46:40Z libevent: event_base_loop: asked to terminate loop.
2019-08-31T16:46:40Z libevent: event_del: 0x7fc914000d00 (fd -1), callback 0x559cf681f6d0
2019-08-31T16:46:40Z torcontrol thread exit
2019-08-31T16:46:40Z addcon thread exit
2019-08-31T16:46:40Z opencon thread exit
2019-08-31T16:46:40Z libevent: event_del: 0x559cf8d236c8 (fd 9), callback 0x7fc92f476500
2019-08-31T16:46:40Z libevent: Epoll DEL(1) on fd 9 okay. Old events were 2; read change was 2 (del); write change was 0 (none); close change was 0 (none)
2019-08-31T16:46:40Z libevent: event_del: 0x559cf8d230a8 (fd 10), callback 0x7fc92f476500
2019-08-31T16:46:40Z libevent: Epoll DEL(1) on fd 10 okay. Old events were 2; read change was 2 (del); write change was 0 (none); close change was 0 (none)
2019-08-31T16:46:40Z Waiting for HTTP event thread to exit
2019-08-31T16:46:40Z libevent: epoll_dispatch: epoll_wait reports 1
2019-08-31T16:46:40Z libevent: event_active: 0x559cf8d228e0 (fd Cool, res 2, callback 0x7fc92f469610
2019-08-31T16:46:40Z libevent: event_process_active: event: 0x559cf8d228e0, EV_READ   call 0x7fc92f469610
2019-08-31T16:46:40Z libevent: event_base_loop: no events registered.
2019-08-31T16:46:40Z Exited http event loop
2019-08-31T16:46:40Z libevent: event_del: 0x559cf8d228e0 (fd Cool, callback 0x7fc92f469610
2019-08-31T16:46:40Z libevent: Epoll DEL(1) on fd 8 okay. Old events were 2; read change was 2 (del); write change was 0 (none); close change was 0 (none)
2019-08-31T16:46:40Z libevent: event_base_free_: 0 events freed
2019-08-31T16:46:40Z Stopped HTTP server
2019-08-31T16:46:40Z BerkeleyEnvironment::Flush: [/bitcoin/bitcoin/] Flush(false)
2019-08-31T16:46:40Z BerkeleyEnvironment::Flush: Flushing wallet.dat (refcount = 0)...
2019-08-31T16:46:40Z BerkeleyEnvironment::Flush: wallet.dat checkpoint
2019-08-31T16:46:40Z BerkeleyEnvironment::Flush: wallet.dat detach
2019-08-31T16:46:40Z net thread exit
2019-08-31T16:46:40Z BerkeleyEnvironment::Flush: wallet.dat closed
2019-08-31T16:46:40Z BerkeleyEnvironment::Flush: Flush(false) took              72ms
2019-08-31T16:46:40Z msghand thread exit

The same configuration with bitcoin testnet shutdowns fine.

Maybe someone can help me with finding where problem is ? I'm very tired with it. Thanks in advance.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!