Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [I] [12:50] ubuntu:bitcoin (v23.0) | ₿ gdb --args src/bitcoind
- GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
- Copyright (C) 2022 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-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://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 src/bitcoind...
- sour(gdb) source ~/src/obc/threads.brk
- ~/src/obc/threads.brk: No such file or directory.
- (gdb) source ~/src/obc/threads
- ~/src/obc/threads:1: Error in sourced command file:
- Undefined command: "ThreadImport". Try "help".
- (gdb) quit
- [I] [12:51] ubuntu:bitcoin (v23.0) | ₿ nvim ~/src/obc/threads
- [I] [12:51] ubuntu:bitcoin (v23.0) | ₿ nvim threads.brk
- [I] [12:51] ubuntu:bitcoin (v23.0) | ₿ gdb --args src/bitcoind
- GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
- Copyright (C) 2022 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-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://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 src/bitcoind...
- sou(gdb) source threads.brk
- Breakpoint 1 at 0x23cb01: file ./src/node/blockstorage.cpp, line 861.
- Breakpoint 2 at 0x5dd98c: file ./src/validation.cpp, line 1831.
- Breakpoint 3 at 0x6e65b1: file ./src/httpserver.cpp, line 286.
- Breakpoint 4 at 0x6e610c: file ./src/httpserver.cpp, line 424.
- Breakpoint 5 at 0x707df1: file ./src/index/base.cpp, line 132.
- Breakpoint 6 at 0x658329: file ./scheduler.h, line 130.
- Breakpoint 7 at 0x5497d4: file ./src/torcontrol.cpp, line 608.
- Breakpoint 8 at 0xfba4b: file ./src/net.cpp, line 2315.
- Breakpoint 9 at 0xf59e6: file ./src/net.cpp, line 1731.
- Breakpoint 10 at 0xe0589: file ./src/mapport.cpp, line 226.
- Breakpoint 11 at 0xf5945: file ./src/net.cpp, line 1711.
- Breakpoint 12 at 0xfb681: file ./src/net.cpp, line 2251.
- Breakpoint 13 at 0xf8308: file ./src/net.cpp, line 1914.
- Breakpoint 14 at 0xfbf31: file ./src/net.cpp, line 2358.
- (gdb) start
- Temporary breakpoint 15 at 0x5a3f1: file ./src/bitcoind.cpp, line 262.
- Starting program: /home/will/src/bitcoin/src/bitcoind
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Temporary breakpoint 15, main (argc=1, argv=0x7fffffffdce8) at ./src/bitcoind.cpp:262
- 262 NodeContext node;
- (gdb) c
- Continuing.
- Bitcoin Core starting
- [Attaching after Thread 0x7ffff74389c0 (LWP 29390) fork to child process 29927]
- [New inferior 2 (process 29927)]
- [Detaching after fork from parent process 29390]
- [Inferior 1 (process 29390) detached]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- [Switching to Thread 0x7ffff74389c0 (LWP 29927)]
- Thread 2.1 "bitcoind" hit Breakpoint 2, StartScriptCheckWorkerThreads (threads_num=15) at ./src/validation.cpp:1831
- 1831 scriptcheckqueue.StartWorkerThreads(threads_num);
- (gdb) c
- Continuing.
- [New Thread 0x7ffff4e80640 (LWP 29936)]
- [New Thread 0x7ffff467f640 (LWP 29937)]
- [New Thread 0x7ffff3e7e640 (LWP 29938)]
- [New Thread 0x7ffff367d640 (LWP 29939)]
- [New Thread 0x7ffff2e7c640 (LWP 29940)]
- [New Thread 0x7ffff267b640 (LWP 29941)]
- [New Thread 0x7ffff1e7a640 (LWP 29942)]
- [New Thread 0x7ffff1679640 (LWP 29943)]
- [New Thread 0x7ffff0e78640 (LWP 29944)]
- [New Thread 0x7fffd3fff640 (LWP 29945)]
- [New Thread 0x7fffd37fe640 (LWP 29946)]
- [New Thread 0x7fffd2ffd640 (LWP 29947)]
- [New Thread 0x7fffd27fc640 (LWP 29948)]
- [New Thread 0x7fffd1ffb640 (LWP 29949)]
- [New Thread 0x7fffd17fa640 (LWP 29950)]
- [New Thread 0x7fffd0ff9640 (LWP 29951)]
- Thread 2.1 "bitcoind" hit Breakpoint 6, SingleThreadedSchedulerClient::SingleThreadedSchedulerClient (this=0x5555568f9b08, pschedulerIn=0x55555690d0c0) at ./scheduler.h:130
- 130 explicit SingleThreadedSchedulerClient(CScheduler* pschedulerIn) : m_pscheduler(pschedulerIn) {}
- (gdb) c
- Continuing.
- Thread 2.1 "bitcoind" hit Breakpoint 4, StartHTTPServer () at ./src/httpserver.cpp:424
- 424 LogPrint(BCLog::HTTP, "Starting HTTP server\n");
- (gdb) c
- Continuing.
- [New Thread 0x7fffaffff640 (LWP 29963)]
- [New Thread 0x7fffaf7fe640 (LWP 29964)]
- [New Thread 0x7fffaeffd640 (LWP 29965)]
- [Switching to Thread 0x7fffaffff640 (LWP 29963)]
- Thread 2.18 "bitcoind" hit Breakpoint 3, ThreadHTTP (base=0x555556986160) at ./src/httpserver.cpp:286
- 286 util::ThreadRename("http");
- (gdb) c
- Continuing.
- [New Thread 0x7fffae7fc640 (LWP 29966)]
- [New Thread 0x7fffadffb640 (LWP 29967)]
- [New Thread 0x7fffad7fa640 (LWP 29968)]
- [New Thread 0x7fffacff9640 (LWP 29969)]
- [New Thread 0x7fff93fff640 (LWP 29970)]
- [New Thread 0x7fff937fe640 (LWP 29971)]
- [New Thread 0x7fff92ffd640 (LWP 29972)]
- [New Thread 0x7fff927fc640 (LWP 29973)]
- [New Thread 0x7fff91ffb640 (LWP 29974)]
- [New Thread 0x7fff917fa640 (LWP 29975)]
- [New Thread 0x7fff90ff9640 (LWP 29976)]
- [New Thread 0x7fff6ffff640 (LWP 29977)]
- [New Thread 0x7fff6f7fe640 (LWP 29978)]
- [New Thread 0x7fff6effd640 (LWP 29979)]
- [New Thread 0x7fff6e7fc640 (LWP 29980)]
- [New Thread 0x7fff6dffb640 (LWP 29981)]
- (gdb) [New Thread 0x7ffee0bb2640 (LWP 30748)]
- [New Thread 0x7ffee1c58640 (LWP 30762)]
- [New Thread 0x7ffedbbd9640 (LWP 30763)]
- [Switching to Thread 0x7ffee1c58640 (LWP 30762)]
- Thread 2.38 "b-txindex" hit Breakpoint 5, BaseIndex::ThreadSync (this=0x555561d21f30) at ./src/index/base.cpp:132
- 132 SetSyscallSandboxPolicy(SyscallSandboxPolicy::TX_INDEX);
- (gdb) c
- Continuing.
- [New Thread 0x7ffedb3d8640 (LWP 30766)]
- [New Thread 0x7ffedabd7640 (LWP 30767)]
- [Thread 0x7ffee1c58640 (LWP 30762) exited]
- [Switching to Thread 0x7ffedb3d8640 (LWP 30766)]
- Thread 2.40 "b-torcontrol" hit Breakpoint 7, TorControlThread (onion_service_target=...) at ./src/torcontrol.cpp:608
- 608 SetSyscallSandboxPolicy(SyscallSandboxPolicy::TOR_CONTROL);
- (gdb) c
- Continuing.
- [New Thread 0x7ffeda3d6640 (LWP 30775)]
- [Switching to Thread 0x7ffedbbd9640 (LWP 30763)]
- Thread 2.39 "b-loadblk" hit Breakpoint 1, node::ThreadImport (chainman=..., vImportFiles=std::vector of length 0, capacity 0, args=...) at ./src/node/blockstorage.cpp:861
- 861 SetSyscallSandboxPolicy(SyscallSandboxPolicy::INITIALIZATION_LOAD_BLOCKS);
- (gdb) c
- Continuing.
- [New Thread 0x7ffed9bd5640 (LWP 30776)]
- [Switching to Thread 0x7ffedabd7640 (LWP 30767)]
- Thread 2.41 "b-net" hit Breakpoint 11, CConnman::ThreadSocketHandler (this=0x55555793b1d0) at ./src/net.cpp:1711
- 1711 SetSyscallSandboxPolicy(SyscallSandboxPolicy::NET);
- (gdb) c
- Continuing.
- [New Thread 0x7ffed93d4640 (LWP 30778)]
- [New Thread 0x7ffed8bd3640 (LWP 30779)]
- [New Thread 0x7ffec3fff640 (LWP 30780)]
- [Switching to Thread 0x7ffed93d4640 (LWP 30778)]
- Thread 2.44 "b-opencon" hit Breakpoint 13, CConnman::ThreadOpenConnections (this=0x55555793b1d0, connect=std::vector of length 0, capacity 0) at ./src/net.cpp:1914
- 1914 SetSyscallSandboxPolicy(SyscallSandboxPolicy::NET_OPEN_CONNECTION);
- (gdb) c
- Continuing.
- [Switching to Thread 0x7ffed8bd3640 (LWP 30779)]
- Thread 2.45 "b-msghand" hit Breakpoint 8, CConnman::ThreadMessageHandler (this=0x55555793b1d0) at ./src/net.cpp:2315
- 2315 SetSyscallSandboxPolicy(SyscallSandboxPolicy::MESSAGE_HANDLER);
- (gdb) c
- Continuing.
- [Switching to Thread 0x7ffed9bd5640 (LWP 30776)]
- Thread 2.43 "b-addcon" hit Breakpoint 12, CConnman::ThreadOpenAddedConnections (this=0x55555793b1d0) at ./src/net.cpp:2251
- 2251 SetSyscallSandboxPolicy(SyscallSandboxPolicy::NET_ADD_CONNECTION);
- (gdb) c
- Continuing.
- [Switching to Thread 0x7ffeda3d6640 (LWP 30775)]
- Thread 2.42 "b-dnsseed" hit Breakpoint 9, CConnman::ThreadDNSAddressSeed (this=0x55555793b1d0) at ./src/net.cpp:1731
- 1731 SetSyscallSandboxPolicy(SyscallSandboxPolicy::INITIALIZATION_DNS_SEED);
- (gdb) c
- Continuing.
- [Switching to Thread 0x7ffec3fff640 (LWP 30780)]
- Thread 2.46 "b-i2paccept" hit Breakpoint 14, CConnman::ThreadI2PAcceptIncoming (this=0x55555793b1d0) at ./src/net.cpp:2358
- 2358 auto err_wait = err_wait_begin;
- (gdb) c
- Continuing.
- Thread 2.37 "bitcoind" received signal SIGBUS, Bus error.
- [Switching to Thread 0x7ffee0bb2640 (LWP 30748)]
- 0x0000555556231179 in leveldb::DecodeFixed32 (ptr=0x7fff2c90c12a <error: Cannot access memory at address 0x7fff2c90c12a>) at ./leveldb/util/coding.h:112
- 112 std::memcpy(&result, buffer, sizeof(uint32_t));
- (gdb) c
- Continuing.
- Couldn't get registers: No such process.
- (gdb) [Thread 0x7ffec3fff640 (LWP 30780) exited]
- [Thread 0x7ffed8bd3640 (LWP 30779) exited]
- [Thread 0x7ffed93d4640 (LWP 30778) exited]
- [Thread 0x7ffed9bd5640 (LWP 30776) exited]
- [Thread 0x7ffeda3d6640 (LWP 30775) exited]
- [Thread 0x7ffedabd7640 (LWP 30767) exited]
- [Thread 0x7ffedb3d8640 (LWP 30766) exited]
- [Thread 0x7ffedbbd9640 (LWP 30763) exited]
- [Thread 0x7ffee0bb2640 (LWP 30748) exited]
- [Thread 0x7fff6dffb640 (LWP 29981) exited]
- [Thread 0x7fff6e7fc640 (LWP 29980) exited]
- [Thread 0x7fff6effd640 (LWP 29979) exited]
- [Thread 0x7fff6f7fe640 (LWP 29978) exited]
- [Thread 0x7fff6ffff640 (LWP 29977) exited]
- [Thread 0x7fff90ff9640 (LWP 29976) exited]
- [Thread 0x7fff917fa640 (LWP 29975) exited]
- [Thread 0x7fff91ffb640 (LWP 29974) exited]
- [Thread 0x7fff927fc640 (LWP 29973) exited]
- [Thread 0x7fff92ffd640 (LWP 29972) exited]
- [Thread 0x7fff937fe640 (LWP 29971) exited]
- [Thread 0x7fff93fff640 (LWP 29970) exited]
- [Thread 0x7fffacff9640 (LWP 29969) exited]
- [Thread 0x7fffad7fa640 (LWP 29968) exited]
- [Thread 0x7fffadffb640 (LWP 29967) exited]
- [Thread 0x7fffae7fc640 (LWP 29966) exited]
- [Thread 0x7fffaeffd640 (LWP 29965) exited]
- [Thread 0x7fffaf7fe640 (LWP 29964) exited]
- [Thread 0x7fffaffff640 (LWP 29963) exited]
- [Thread 0x7fffd0ff9640 (LWP 29951) exited]
- [Thread 0x7fffd17fa640 (LWP 29950) exited]
- [Thread 0x7fffd1ffb640 (LWP 29949) exited]
- [Thread 0x7fffd27fc640 (LWP 29948) exited]
- [Thread 0x7fffd2ffd640 (LWP 29947) exited]
- [Thread 0x7fffd37fe640 (LWP 29946) exited]
- [Thread 0x7fffd3fff640 (LWP 29945) exited]
- [Thread 0x7ffff0e78640 (LWP 29944) exited]
- [Thread 0x7ffff1679640 (LWP 29943) exited]
- [Thread 0x7ffff1e7a640 (LWP 29942) exited]
- [Thread 0x7ffff267b640 (LWP 29941) exited]
- [Thread 0x7ffff2e7c640 (LWP 29940) exited]
- [Thread 0x7ffff367d640 (LWP 29939) exited]
- [Thread 0x7ffff3e7e640 (LWP 29938) exited]
- [Thread 0x7ffff467f640 (LWP 29937) exited]
- [Thread 0x7ffff4e80640 (LWP 29936) exited]
- Program terminated with signal SIGBUS, Bus error.
- The program no longer exists.
- (gdb) c
- The program is not being run.
- (gdb)
Add Comment
Please, Sign In to add comment