From 867e999b7c645a76c32c9890799cc65183b8e93b Mon Sep 17 00:00:00 2001 From: wakgill <76528604+wakgill@users.noreply.github.com> Date: Thu, 7 Jan 2021 14:19:25 -0600 Subject: [PATCH] Create 76.md --- docs/forum/bitcoin-forum/76.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/forum/bitcoin-forum/76.md diff --git a/docs/forum/bitcoin-forum/76.md b/docs/forum/bitcoin-forum/76.md new file mode 100644 index 0000000..d6afda8 --- /dev/null +++ b/docs/forum/bitcoin-forum/76.md @@ -0,0 +1,31 @@ +--- +layout: forum +title: 'Re: Command Line and JSON-RPC' +grand_parent: Forum Posts +parent: Bitcoin Forum +nav_order: 75 +date: 2010-02-25 22:54:17 UTC +original: https://bitcointalk.org/index.php?topic=63.msg539#msg539 +--- + +# Re: Command Line and JSON-RPC +--- + +
+Re: Command Line and JSON-RPC
+February 25, 2010, 10:54:17 PM
+
+OK, I made a build target bitcoind that only links wxBase and does not link GTK. Version 0.2.7 on SVN.
+
+I split out the init and shutdown stuff from ui.cpp into init.cpp, so now ui.cpp is pure UI. ui.h provides inline stubs if wxUSE_GUI=0. We only have four functions that interface from the node to the UI. In the bitcoind build, we don't link ui.o or uibase.o.
+
+Quote from: sirius-m on February 25, 2010, 04:32:17 PM
+-------------
+It started increasing right away. I'll see if valgrind can help me.
+-------------
+
+Sure feels like it could be something in wxWidgets retrying endlessly because some UI thing failed or something wasn't inited correctly. Our hack to ignore the initialize failure and run anyway means we're in uncharted territory. We're relying on the fact that we hardly use wx in this mode. We do still use a few things like wxGetTranslation and wxMutex.
+
+Another way to debug would be to run in gdb, wait until everything is quiet and all threads should be idle, and break it and see which thread is busily doing something and what it's doing.
+
+I suspect bitcoind will probably work fine, but I hope you can still debug the problem.