Workaround for QSBR mode issue #4390

Robert Kirkman via bind-users <[email protected]>
Newsgroups gmane.network.dns.bind9.user
Message-ID <edd124170aa7b6e78f6cc8e9371f81ffa44f1e90__12304.5095986285$1787706085$gmane$org@termux.dev>
Hello, we have developed this workaround for the hanging problem with builds of bind with the configure argument --with-liburcu=qsbr :

the hanging problem is reproducible on both ARM Android and ARM GNU/Linux, and is fixed on both by this.

```
--- a/lib/isc/work.c
+++ b/lib/isc/work.c
@@ -276,6 +276,7 @@ workthread_thread(void *arg) {
 		work_run(work);
 	}

+	rcu_thread_offline();
 	isc__loopmgr_stopping(thread->loop);

 	return NULL;
```

We hope this helps someone.

https://gitlab.isc.org/isc-projects/bind9/-/work_items/4390

https://github.com/termux/termux-packages/issues/31302
-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.