http://bugs.winehq.com/show_bug.cgi?id=1469
------- Additional Comments From bon(a)elektron.ikp.physik.tu-darmstadt.de 2003-25-05 06:29 -------
You write:
wine-20030408 (good):
0009:Call kernel32.FindFirstFileA(406d22f4 "X:",406d2198) ret=004010a7
0009:Ret kernel32.FindFirstFileA() retval=403d7c02 ret=004010a7
wine-20030508 (bad)
0009:Call kernel32.FindFirstFileA(406d22f4 "X:",406d2198) ret=004010a7
0009:Ret kernel32.FindFirstFileA() retval=ffffffff ret=004010a7
However that is the right behaviour. Look at the FindFirstFile API description
on MSDN: "You cannot use root directories as the lpFileName input string for
FindFirstFile, with or without a trailing backslash."
Our testsuite also has test_FindFirstFileA() in dlls/kernel/test/file.c
You will find that the actual behaviour is right.
Look for the error in a earlier stage, try to find out who delivers the "C:" to
FindFirstFile.
Bye
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1398
------- Additional Comments From juan(a)virtual-orbis.com 2003-25-05 06:08 -------
Created an attachment (id=263)
--> (http://bugs.winehq.com/attachment.cgi?id=263&action=view)
pop up message of error
It shows an error message (see attached image):
Application Error
Exception EConvertError in module CALMIRA.EXE at 0337:0472.
'-' is not a valid integer value.
(then exits)
I'm using wine-20030508 & CVS to test this app. My setup has a win95 partition
(with w95 installed & acting as drive C for Wine) , I'm running wine under
mandrake 8.1 (without updates).
console output is:
[cad@pc-2 calmira]$ wine calmira.exe
err:ntdll:RtlpWaitForCriticalSection section 0x400e11f8
"../../scheduler/syslevel.c: Win16Mutex" wait timed out, retrying (60 sec)
tid=000e
fixme:toolhelp:InterruptRegister16 (0000, 0x21f00ba), stub.
fixme:class:get_class_ptr reading from class of other process window 0x20021
fixme:dialog:MSGBOX_OnInit system modal msgbox ! Not modal yet.
fixme:class:get_class_ptr reading from class of other process window 0x20021
fixme:toolhelp:InterruptUnRegister16 (0000), stub.
[cad@pc-2 calmira]$ wine calmira.exe
fixme:toolhelp:InterruptRegister16 (0000, 0x21f00ba), stub.
err:ntdll:RtlpWaitForCriticalSection section 0x400e11f8
"../../scheduler/syslevel.c: Win16Mutex" wait timed out, retrying (60 sec)
tid=0011
fixme:class:get_class_ptr reading from class of other process window 0x20021
fixme:dialog:MSGBOX_OnInit system modal msgbox ! Not modal yet.
fixme:class:get_class_ptr reading from class of other process window 0x20021
fixme:toolhelp:InterruptUnRegister16 (0000), stub.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1435
------- Additional Comments From Andrew.Talbot(a)talbotville.com 2003-25-05 05:57 -------
Bug introduced by changes to files/dos_fs.c on 2003-04-04.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1435
------- Additional Comments From Andrew.Talbot(a)talbotville.com 2003-25-05 05:49 -------
Faulty code somewhere in files/dos_fs.c introduced 2003-04-04.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1469
------- Additional Comments From juan(a)virtual-orbis.com 2003-25-05 05:30 -------
A silly note: I changed /tmp drive letter from E: to X: , but this doesn't
matter for this bug. So if you see in the images a different letter than the
dump of --debugmsg please take this in account.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1469
juan(a)virtual-orbis.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bon(a)elektron.ikp.physik.tu-
| |darmstadt.de
------- Additional Comments From juan(a)virtual-orbis.com 2003-25-05 05:23 -------
I found that this regression is related to a patch applied to CVS on 2003/04/16
21:10:04:
ChangeSet ID: 7890
files:
files : dos_fs.c dlls/kernel/tests: file.c
Log message:
Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de>
FindFirstFile on root directory should fail.
Patch: http://cvs.winehq.com/patch.py?id=7890
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1469
------- Additional Comments From juan(a)virtual-orbis.com 2003-25-05 05:13 -------
Created an attachment (id=262)
--> (http://bugs.winehq.com/attachment.cgi?id=262&action=view)
--debugmsg +relay,+file output of winzip7.0(SR-1) INSTALLER under
wine-2003-0508 (+CVS as of May22)
Please use the same text search as above, then compare both:
wine-20030408 (good):
0009:Call kernel32.FindFirstFileA(406d22f4 "X:",406d2198) ret=004010a7
0009:Ret kernel32.FindFirstFileA() retval=403d7c02 ret=004010a7
wine-20030508 (bad)
0009:Call kernel32.FindFirstFileA(406d22f4 "X:",406d2198) ret=004010a7
0009:Ret kernel32.FindFirstFileA() retval=ffffffff ret=004010a7
^^^^^^^^
As you can see, FindFistFileA() is ever returning a value of ffffffff (check
the other instances of FindFirstFileA and you will find the same error:
bad: (as of wine-20030508 & CVS-May22)
0009:Call kernel32.FindFirstFileA(406d22f4 "X:\\",406d2198) ret=004010a7
0009:Ret kernel32.FindFirstFileA() retval=ffffffff ret=004010a7
should be: (as of wine-20030408)
0009:Call kernel32.FindFirstFileA(406d22f4 "X:\\",406d2198) ret=004010a7
0009:Ret kernel32.FindFirstFileA() retval=403d77c2 ret=004010a7
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1469
------- Additional Comments From juan(a)virtual-orbis.com 2003-25-05 04:58 -------
Created an attachment (id=261)
--> (http://bugs.winehq.com/attachment.cgi?id=261&action=view)
--debugmsg +relay,+file output of winzip7.0(SR-1) INSTALLER working fine under
wine-2003-0408
As reported earlier, winzip7.0 SR-1 installer worked fine under wine-20030408
Please do a text search in this file for "WZSE1" and check for this line:
0009:Call kernel32.FindFirstFileA(406d22f4 "X:",406d2198) ret=004010a7
in this context:
0009:Call kernel32.lstrcpyA(00408530,406d22f4 "X:\\\\WZSE1.tmp\\README.TXT")
ret=00401706
0009:Ret kernel32.lstrcpyA() retval=00408530 ret=00401706
0009:Call kernel32.lstrlenA(00408530 "X:\\\\WZSE1.tmp\\README.TXT")
ret=0040177c0009:Ret kernel32.lstrlenA() retval=00000018 ret=0040177c
0009:Call kernel32.lstrlenA(00408530 "X:\\\\WZSE1.tmp\\README.TXT")
ret=004017880009:Ret kernel32.lstrlenA() retval=00000018 ret=00401788
0009:Call kernel32.lstrcpyA(406d22f4,00408530 "X:\\\\WZSE1.tmp\\README.TXT")
ret=0040179f
0009:Ret kernel32.lstrcpyA() retval=406d22f4 ret=0040179f
0009:Call kernel32.GetDriveTypeA(406d22d8 "X:\\") ret=00401750
0009:Ret kernel32.GetDriveTypeA() retval=00000003 ret=00401750
0009:Call kernel32.lstrlenA(406d22f4 "X:\\\\WZSE1.tmp\\README.TXT")
ret=0040164b0009:Ret kernel32.lstrlenA() retval=00000018 ret=0040164b
0009:Call kernel32.FindFirstFileA(406d22f4 "X:",406d2198) ret=004010a7
######################################################################
and compare with the same finding in the file next (next attachment)
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1343
coolpav(a)parkertech.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|coolpav(a)parkertech.org |
------- Additional Comments From coolpav(a)parkertech.org 2003-24-05 16:38 -------
Resolved.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.