Bug 1336

Summary: hangs when shut down windows xp
Product: unbound Reporter: lenovo_me
Component: serverAssignee: unbound team <unbound-team>
Status: ASSIGNED ---    
Severity: normal CC: cathya, wouter
Priority: P5    
Version: 1.6.4   
Hardware: i386   
OS: Windows   

Description lenovo_me 2017-07-05 12:49:39 CEST
https://i.imgur.com/WkmjFjb.png
Translate:
Windows cannot end this program. It may need more time to complete operation.
To return to Windows and check status of program, chick Cancel.
If you choose to end program immediately. you will loose any unsaved data. To end program, click End now.

This dialog box appears every time you shut down windows xp.

unbound started via command line with nircmd:
C:\localdns\nircmd.exe exec2 hide "C:\localdns\unbound\" "C:\localdns\unbound\unbound.exe" -c unbound.conf

complete configuration:
https://github.com/CNMan/unbound.conf/tree/master/unbound

this issue don't appear on windows 8.1.
Comment 1 Wouter Wijngaards 2017-07-05 12:53:18 CEST
Hi Lenovo_me,

If you start unbound with the additional parameters:  -w service   then it will hook up into the windows services framework, that gets a different signal when it is time to quit, and that may quit much more quickly.

Apart from that, windows XP is a little to old to really provide software support for.  But perhaps the above option can solve your troubles.

Best regards, Wouter