You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2017/11/14 14:39:02 UTC
[jira] [Reopened] (DAEMON-131) Win64 build: //DS// fails to
delete registry keys
[ https://issues.apache.org/jira/browse/DAEMON-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Thomas reopened DAEMON-131:
--------------------------------
Assignee: (was: Mladen Turk)
> Win64 build: //DS// fails to delete registry keys
> ---------------------------------------------------
>
> Key: DAEMON-131
> URL: https://issues.apache.org/jira/browse/DAEMON-131
> Project: Commons Daemon
> Issue Type: Bug
> Environment: Win64; I've only seen it on AMD64, but presumably it would also happen on ia64.
> Reporter: Jesse Morris
> Priority: Minor
> Fix For: 1.0.2
>
> Attachments: procrun-win64-registry-cleanup.patch
>
>
> When creating and accessing the configuration registry keys, the tool uses CreateRegKeyEx with the KEY_WOW64_32KEY flag, telling windows "Use the 32-bit hive instead of the 64-bit one". Maybe this was done so that 64-bit daemons could use the configuration from 32-bit ones?
> Anyway when it's time to go and delete the configuration from the registry it uses the ancient SHDeleteKey call, which tries to delete the key from the 64-bit hive, which fails, so the key is left behind.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)