286 | @@ -287,6 +287,17 @@ def start(self, extra_args=None, *, cwd=None, stdout=None, stderr=None, env=None
287 | # does not provide. In particular, painting a QGroupBox can make Qt call
288 | # addSubview: on an invalid native object (QTBUG-49686).
289 | subp_env.setdefault("QT_STYLE_OVERRIDE", "fusion")
290 | + if platform.system() == "OpenBSD":
Where is the actual bug here, I'm guessing it's in Qt (has it been reported?).
so shutdown emits messages like
(process:NNN): GLib-CRITICAL **: g_main_context_pop_thread_default:
assertion 'stack != NULL' failed
This might suppress the output for the test framework here, but does this mean any users who self-compile, might also see this output on shutdown?
so shutdown emits messages like
(process:NNN): GLib-CRITICAL **: g_main_context_pop_thread_default:
assertion 'stack != NULL' failed
This might suppress the output for the test framework here, but does this mean any users who self-compile, might also see this output on shutdown?
Yes, users building against OpenBSD's system Qt packages will still see this output on shutdown:
openbsd$ ./build_dev_mode/bin/bitcoin-qt -regtest
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.507: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.509: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.510: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.630: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.676: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.678: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.679: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.680: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.691: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-qt:63886): GLib-CRITICAL **: 12:14:30.703: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
openbsd$ ./build_dev_mode/bin/bitcoin-gui -regtest
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.239: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.241: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.243: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.345: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.372: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.373: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.374: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.376: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.387: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(bitcoin-gui:87818): GLib-CRITICAL **: 12:15:09.400: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
Where is the actual bug here, I'm guessing it's in Qt...
However, this forum discussion states:
That error message comes from glib, not from Qt.