http://bugs.winehq.org/show_bug.cgi?id=22060
Summary: regedit CRASHES when key with non-ascii values is renamed or deleted Product: Wine Version: 1.1.40 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: tianshuo@gmail.com
Created an attachment (id=26868) --> (http://bugs.winehq.org/attachment.cgi?id=26868) results of WINEDEBUG=+relay wine regedit
there is a key in my registry that I can not delete, every time I delete it regedit.exe crashes. I am deleting this key because of Bug 20279 and the solution it provides does not work because of this crash. rename does not work either gives the same error message
wine: Unhandled page fault on write access to 0x00750072 at address 0x7bc486bc (thread 001b), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc48148
"wine --version" is 1.1.40 I am attaching the tail of "WINEDEBUG=+relay wine regedit" as winedebugrelay.log and "winedbg regedit" as winedbg.log
I am not sure if more information is needed
http://bugs.winehq.org/show_bug.cgi?id=22060
--- Comment #1 from tianshuo@gmail.com 2010-03-18 02:35:34 --- Created an attachment (id=26869) --> (http://bugs.winehq.org/attachment.cgi?id=26869) results of winedbg regedit
http://bugs.winehq.org/show_bug.cgi?id=22060
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |programs Summary|regedit CRASHES when key |regedit crashes when key |with non-ascii values is |with non-ascii values is |renamed or deleted |renamed or deleted
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2010-03-18 03:07:11 --- Please install debu symbols and provide another backtrace. Also, if you could attach .reg file with the key to reproduce the crash, or provide a step by step description how to create that key manually would help.
http://bugs.winehq.org/show_bug.cgi?id=22060
--- Comment #3 from tianshuo@gmail.com 2010-03-18 03:19:07 --- Created an attachment (id=26870) --> (http://bugs.winehq.org/attachment.cgi?id=26870) exported reg file that has bad behavior
http://bugs.winehq.org/show_bug.cgi?id=22060
--- Comment #4 from tianshuo@gmail.com 2010-03-18 03:19:59 --- (In reply to comment #2)
Please install debu symbols and provide another backtrace. Also, if you could attach .reg file with the key to reproduce the crash, or provide a step by step description how to create that key manually would help.
Could you please provide a link on how to install debug symbols under linux?
http://bugs.winehq.org/show_bug.cgi?id=22060
--- Comment #5 from tianshuo@gmail.com 2010-03-18 03:27:32 --- Created an attachment (id=26871) --> (http://bugs.winehq.org/attachment.cgi?id=26871) part of user.reg file
http://bugs.winehq.org/show_bug.cgi?id=22060
--- Comment #6 from tianshuo@gmail.com 2010-03-18 03:55:04 --- WORKAROUND: I deleted the malicious key from the registry, by editing ~/.wine/user.reg, but afaik the bug still exists
http://bugs.winehq.org/show_bug.cgi?id=22060
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2010-03-18 09:10:41 --- (In reply to comment #4)
Could you please provide a link on how to install debug symbols under linux?
They should be available from the same repository you installed Wine from.
Works fine here. What's your locale?
http://bugs.winehq.org/show_bug.cgi?id=22060
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=22060
--- Comment #8 from tianshuo@gmail.com 2010-03-18 20:41:20 --- (In reply to comment #7)
(In reply to comment #4)
Could you please provide a link on how to install debug symbols under linux?
They should be available from the same repository you installed Wine from.
Works fine here. What's your locale?
declare -x LANG="en_US.UTF-8" declare -x LANGUAGE="en_US.UTF-8"
http://bugs.winehq.org/show_bug.cgi?id=22060
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com 2011-11-21 20:46:30 CST --- Friendly reminder of 1.5 years without new posts. The bug 20279 related in comment #0 was fixed. Is this still a problem?
http://bugs.winehq.org/show_bug.cgi?id=22060
Rafal Stanilewicz washuu@eastnews.com.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |washuu@eastnews.com.pl
--- Comment #10 from Rafal Stanilewicz washuu@eastnews.com.pl 2012-03-06 07:03:55 CST --- I confirm the error in wine 1.4-rc5. Wine's regedit crashes when trying anything (deleting, renaming, changing value) to do with the key from registry having _name_ longer than 128 characters (sometimes it works with length 129).
In my case it is regardless of location of the key or the length of _value_.
wine: Unhandled page fault on write access to 0x0075006e at address 0x7bc48197 (thread 0009), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc47ab5
You can reproduce the error by yourself by creating such a key, or importing the key from comment #3.
It's a slight shame that we still have such overflows in wine...
http://bugs.winehq.org/show_bug.cgi?id=22060
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|regedit crashes when key |regedit crashes when a long |with non-ascii values is |length key is renamed or |renamed or deleted |deleted Ever Confirmed|0 |1
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com 2012-04-26 22:10:15 CDT --- The problem is related to the length of the key, not its contents. I have sent a patch: http://www.winehq.org/pipermail/wine-patches/2012-April/113740.html
http://bugs.winehq.org/show_bug.cgi?id=22060
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c3821f6c6389e8087a916b6a313 | |d94c39e08abf5 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com 2012-04-27 18:05:40 CDT --- Patch commited. http://source.winehq.org/git/wine.git/commitdiff/c3821f6c6389e8087a916b6a313...
http://bugs.winehq.org/show_bug.cgi?id=22060
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2012-05-11 13:21:14 CDT --- Closing bugs fixed in 1.5.4.
http://bugs.winehq.org/show_bug.cgi?id=22060
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.4.x
http://bugs.winehq.org/show_bug.cgi?id=22060
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.4.x |---