Bug 1336 - hangs when shut down windows xp
hangs when shut down windows xp
Status: ASSIGNED
Product: unbound
Classification: Unclassified
Component: server
1.6.4
i386 Windows
: P5 normal
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-05 12:49 CEST by lenovo_me
Modified: 2017-07-05 12:53 CEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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