[Bug 15578] New: Px-map crashes (probably caused because reading registry-key fails)
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(a)winehq.org ReportedBy: xerox_xerox2000(a)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.
http://bugs.winehq.org/show_bug.cgi?id=15578 --- Comment #1 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2008-10-11 06:48:04 --- (sorry for typo: HKEY_CURRENT_ROOT should of course be HKEY_CLASSES_ROOT) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15578 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Version|CVS/GIT |1.1.6 --- Comment #2 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-10-11 07:26:09 --- CVS/GIT tag is deprecated, please specify what 'wine --version' provides. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15578 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2008-12-07 03:35:43 --- this was apparently fixed by a patch from Lei Zhang some weeks ago -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15578 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2008-12-20 09:05:42 --- Closing bugs fixed in 1.1.11. -- 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.
participants (1)
-
wine-bugs@winehq.org