Repository navigation
Closed
Description
When built on OpenBSD 7.8 and 7.9 against the system's Qt packages, the interface_gui.py functional test fails:
440/479 - interface_gui.py failed, Duration: 2 s
stdout:
2026-07-30T05:31:07.475980Z TestFramework (INFO): PRNG seed is: 2270383617293618425
2026-07-30T05:31:07.530574Z TestFramework (INFO): Initializing test directory /home/test_runner_₿_🏃_20260730_051639/interface_gui_33
2026-07-30T05:31:08.921306Z TestFramework (INFO): Test that bitcoin-gui starts up and can be stopped via RPC
2026-07-30T05:31:09.281358Z TestFramework (ERROR): Unexpected exception:
Traceback (most recent call last):
File "/home/bitcoin/test/functional/test_framework/test_framework.py", line 145, in main
self.run_test()
~~~~~~~~~~~~~^^
File "/home/build/test/functional/interface_gui.py", line 36, in run_test
self.stop_node(0)
~~~~~~~~~~~~~~^^^
File "/home/bitcoin/test/functional/test_framework/test_framework.py", line 521, in stop_node
self.nodes[i].stop_node(expected_stderr, wait=wait)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bitcoin/test/functional/test_framework/test_node.py", line 498, in stop_node
self.wait_until_stopped(expected_stderr=expected_stderr)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bitcoin/test/functional/test_framework/test_node.py", line 544, in wait_until_stopped
self.wait_until(lambda: self.is_node_stopped(**kwargs), timeout=timeout)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bitcoin/test/functional/test_framework/test_node.py", line 878, in wait_until
return wait_until_helper_internal(test_function, timeout=timeout, timeout_factor=self.timeout_factor, check_interval=check_interval)
File "/home/bitcoin/test/functional/test_framework/util.py", line 444, in wait_until_helper_internal
if predicate():
~~~~~~~~~^^
File "/home/bitcoin/test/functional/test_framework/test_node.py", line 544, in <lambda>
self.wait_until(lambda: self.is_node_stopped(**kwargs), timeout=timeout)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/home/bitcoin/test/functional/test_framework/test_node.py", line 529, in is_node_stopped
raise AssertionError("Unexpected stderr {} != {}".format(stderr, expected_stderr))
AssertionError: Unexpected stderr (process:56464): GLib-CRITICAL **: 05:31:09.003: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(process:56464): GLib-CRITICAL **: 05:31:09.004: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(process:56464): GLib-CRITICAL **: 05:31:09.143: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(process:56464): GLib-CRITICAL **: 05:31:09.168: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(process:56464): GLib-CRITICAL **: 05:31:09.169: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(process:56464): GLib-CRITICAL **: 05:31:09.169: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(process:56464): GLib-CRITICAL **: 05:31:09.170: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
(process:56464): GLib-CRITICAL **: 05:31:09.172: g_main_context_pop_thread_default: assertion 'stack != NULL' failed !=
2026-07-30T05:31:09.351122Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later.
2026-07-30T05:31:09.351348Z TestFramework (WARNING): Not cleaning up dir /home/test_runner_₿_🏃_20260730_051639/interface_gui_33
2026-07-30T05:31:09.351490Z TestFramework (ERROR): Test failed. Test logging available at /home/test_runner_₿_🏃_20260730_051639/interface_gui_33/test_framework.log
2026-07-30T05:31:09.351828Z TestFramework (ERROR):
2026-07-30T05:31:09.352108Z TestFramework (ERROR): Hint: Call /home/bitcoin/test/functional/combine_logs.py '/home/test_runner_₿_🏃_20260730_051639/interface_gui_33' to consolidate all logs
2026-07-30T05:31:09.352252Z TestFramework (ERROR):
2026-07-30T05:31:09.352365Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2026-07-30T05:31:09.352556Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues
2026-07-30T05:31:09.352664Z TestFramework (ERROR):
Activity
maflcko commentedon Jul 30, 2026
Can you check if building the system package without GLib event dispatcher fixes the issue, like in depends?
hebasto commentedon Aug 12, 2026
Thanks! Using this idea in #35954.
Merge bitcoin/bitcoin#35954: qa: Disable Qt's glib event dispatcher f…
Merge bitcoin/bitcoin#35954: qa: Disable Qt's glib event dispatcher f…