http://bugs.winehq.com/show_bug.cgi?id=1134
Summary: endian problem (?) in registry loader
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P1
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: whiting(a)mit.edu
running wine 20021031 with an installed copy of Windows ME, I tried to start MS
Word. It complained that it was not installed. I compared the wine system.reg
and the registry dump from regedit.exe and found the following difference:
Windows Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\Applications\WINWORD.EXE\shell\edit\command]
@="\"C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE\" /n"
"command"=hex(7):4c,6a,4e,25,21,67,78,73,66,28,4e,67,5d,71,46,60,48,7b,4c,73,\
57,4f,52,44,46,69,6c,65,73,3e,6c,6c,54,5d,6a,49,7b,6a,66,28,3d,31,26,4c,5b,\
2d,38,31,2d,5d,20,2f,6e,00,00
~/.wine/system.reg:
[Software\\CLASSES\\Applications\\WINWORD.EXE\\shell\\edit\\command] 1036529854
@="\"C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE\" /n"
"command"=str(7):"LjN%!gxsf(Ng]qF`H{LsWORDFiles>llT]jI{jf(=1&L[-81-] /n\0"
Replacing the "command"= line in ~/.wine/system.reg with the one from the
Windows registry fixed the problem. Looking at an ASCII table, I realized that
the string was the same byte values, except the byte order was swapped.
Changing the byte order to
[Software\\CLASSES\\Applications\\WINWORD.EXE\\shell\\edit\\command] 1036745211
@="\"C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE\" /n"
"command"=str(7):"jL%Ng!sx(fgNq]`F{HsLOWDRiFel>sll}TIjj{(f1=L&-[18]-/ n\0"
fixed the problem. MS Word started, loaded a file and saved it with no problem.
This is probably a general problem with all registry values that load to str(7).
I saw it in several other str(7) values in the system.reg file.
Should be easy to fix, but I don't know anything about Wine's architecture, so I
don't even know where to begin looking for the function that reads in the
Windows registry.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1133
Summary: Drives config at setup does not work
Product: Wine
Version: 20010112
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-gui
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: fbrunnerreg(a)gmx.ch
Hi,
I just installed the wine-rpm for SuSE 8.0 (v20021107-0).
At the setup I tried to changed the letters of some drives which had the effect
that they were removed from the list. A change to the path of a drive had no
effect at all.
- Florian Brunner
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1133>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1131
------- Additional Comments From andi(a)rhlx01.fht-esslingen.de 2002-11-07 17:13 -------
Oh come on :-)
You don't want to tell me you don't know to add a simple TRACE ? :)
Just add something like
TRACE("stupid trace\n");
and then tell me in which line it crashes.
(preferrably also with printout of variables if possible)
(sorry, I'm too stupid to manage to think why and where exactly it might crash,
so you'll have to tell me :-\)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1131
------- Additional Comments From jms(a)josh.com 2002-11-07 15:23 -------
as i am new to this, can you tell me what it is you want me to add to
dlls/rpcrt4/rpcrt4_main.c/UuidToStringA()? sorry for the ignorance...
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1131
andi(a)rhlx01.fht-esslingen.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
everconfirmed|0 |1
------- Additional Comments From andi(a)rhlx01.fht-esslingen.de 2002-11-07 15:14 -------
Hmm, the program calls NdrDllRegisterProxy:
083765d8:Call rpcrt4.NdrDllRegisterProxy(70390000,7039f370,703982b0) ret=70391bf
c
trace:ole:NdrDllRegisterProxy (0x70390000,0x7039f370,{b8da6310-e19b-11d0-933c-00
a0c90dcaa9})
083765d8:Call ntdll.RtlAllocateHeap(40250000,00000000,00000025) ret=40a6c442
083765d8:Ret ntdll.RtlAllocateHeap() retval=4028e078 ret=40a6c442
trace:ole:NdrDllRegisterProxy registering IActiveScriptStats {70395720-57a2-7039
-b255-397000000000} => b8da6310-e19b-11d0-933c-00a0c90dcaa9
083765d8:Call ntdll.RtlAllocateHeap(40250000,00000000,00000025) ret=40a6c442
083765d8:Ret ntdll.RtlAllocateHeap() retval=4028e128 ret=40a6c442
which then leads to:
083765d8:Ret advapi32.RegCloseKey() retval=00000000 ret=40a66291
trace:ole:NdrDllRegisterProxy registering IActiveScriptParseProcedure2 (null) =>
b8da6310-e19b-11d0-933c-00a0c90dcaa9
083765d8:Call ntdll.RtlAllocateHeap(40250000,00000000,00000025) ret=40a6c442
083765d8:Ret ntdll.RtlAllocateHeap() retval=4028e128 ret=40a6c442
083765d8:Call kernel32.UnhandledExceptionFilter(40620900) ret=302c34f5
wine: Unhandled exception, starting debugger...
Note that proxy->header.piid is null !!
But AFAICS UuidToString should handle the first argument (null) just fine.
(it properly assigns the null uuid to it in case it's null).
Why that now crashes is beyond me...
Could you add some more TRACEs to dlls/rpcrt4/rpcrt4_main.c/UuidToStringA()
in order to nail down why exactly it crashes in that function ?
Thanks !
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1132
------- Additional Comments From andi(a)rhlx01.fht-esslingen.de 2002-11-07 14:18 -------
Err, not so sure any more ;-)))
Hmm, could you attach a log showing about 5000 lines around the problem ?
Or maybe I'd even have to install that stuff... *sigh*
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1132>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1131
------- Additional Comments From jms(a)josh.com 2002-11-07 14:02 -------
Created an attachment (id=327)
+relay,+ole trace !!!Warning....77mb when uncompressed!!!
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1131
------- Additional Comments From andi(a)rhlx01.fht-esslingen.de 2002-11-07 13:07 -------
Sorry, not at all. No information here either :-\
Could you attach a --debugmsg +relay,+ole logfile ?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1131
------- Additional Comments From jms(a)josh.com 2002-11-07 12:55 -------
here it is...hope it helps!
info local:
RPCRT4.DLL.UuidToStringA:
info reg:
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:008f GS:0000
EIP:40a6c45c ESP:40731cb8 EBP:40731cc0 EFLAGS:00010206( R- 00 I - -P1 )
EAX:0000000e EBX:40a78e44 ECX:4025001c EDX:4028dd00
ESI:00000000 EDI:7039f990
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1132
------- Additional Comments From arpi(a)mplayerhq.hu 2002-11-07 12:51 -------
Are you sure you want it?
It wrote HUGE log for a while (around a half minute), and it crashed when the
log was around 280 MB long, then it (4 instances of wine still running)
continued writing the log...
then i've killed.
A'rpi
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1132>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.