[Bug 15578] New: Px-map crashes (probably caused because reading registry-key fails)
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Oct 11 06:43:48 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=15578
Summary: Px-map crashes (probably caused because reading
registry-key fails)
Product: Wine
Version: CVS/GIT
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P2
Component: advapi32
AssignedTo: wine-bugs at winehq.org
ReportedBy: xerox_xerox2000 at yahoo.co.uk
The application crashes somewhere in a function called GetDefaultBrowser. The
cause is probably the following:
0009:Call advapi32.RegOpenKeyExW(80000000,00886d88
L"\\htmlfile\\shell\\open\\command",00000000,00020019,0032f238) ret=0036ab8f
0009:Ret advapi32.RegOpenKeyExW() retval=000000a1 ret=0036ab8f
0009:Call KERNEL32.InterlockedCompareExchange(00855858,00000004,00000008)
ret=79ef56cc
0009:Ret KERNEL32.InterlockedCompareExchange() retval=00000008 ret=79ef56cc
0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x4011830
0009:trace:seh:raise_exception info[0]=00000000
Reading the registry-key fails with ERROR_BAD_PATH (000000a1) because the key
starts with a backslash "\\htmlfile". There's even a test for this:
/* beginning backslash character */
ret = RegOpenKeyA(HKEY_CURRENT_USER, "\\Software\\Wine\\Test", &hkResult);
ok(ret == ERROR_BAD_PATHNAME || /* NT/2k/XP */
ret == ERROR_FILE_NOT_FOUND /* Win9x,ME */
, "expected ERROR_BAD_PATHNAME or ERROR_FILE_NOT_FOUND, got %d\n",
ret);
Whereas this might be true for opening a key under HKEY_CURRENT_USER, it seems
to be wrong for a key under HKCR, if you change the test to opening a key with
a heading backslash under HKEY_CURRENT_ROOT it just seems to work fine (on
winXP). Wine should'nt probably fail as well.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list