Hi!
For some time, there is a regression in wine, which disables my Dynatext
reader from working. It tries to open it's configuration file but
unsuccessfully. The file IS there and former wine versions allowed the
program to read it.
I was recommended to do a regression tests to find a particular patch
but it's too time-expensive for me these days, so I did a full trace
and found an IMHO critical part in it.
The program searches for file called "DYNATEXT.INI".
The file is located at /opt/samba-dir/EBT23/BIN/ :
-rw-r--r-- 1 patrol users 3050 Mar 1 2002
/opt/samba-dir/EBT23/BIN/DYNATEXT.INI
From the windoze point of view it should be E:\EBT23\BIN\DYNATEXT.INI .
Please could an expert review the trace and find, where the problem is ?
With regards, Pavel Troller
08260ca8:trace:global:GlobalHandle16 019f
08260ca8:Call WPROCS.133: INT_INT21HANDLER() ret=02cf:539f ds=0a17
AX=4e52 BX=0a17 CX=0016 DX=0dfa SI=0114 DI=0e14 ES=0a17 EFL=00000292
08260ca8:trace:int21:DOS3Call AX=4e52 BX=0a17 CX=0016 DX=0dfa SI=0114 DI=0e14
DS=0a17 ES=0a17 EFL=00000292
08260ca8:trace:int21:DOS3Call FINDFIRST mask 0x0016 spec
E:\EBT23\BIN\dynatext.ini
08260ca8:trace:dosfs:DOSFS_GetFullName L"E:\\EBT23\\BIN\\dynatext.ini"
(last=0)
08260ca8:trace:string:lstrcpynA (0x411c1c84, "/opt/samba-dir", 1024)
08260ca8:trace:dosfs:DOSFS_FindUnixName
/opt/samba-dir,L"EBT23\\BIN\\dynatext.ini"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000110): returning
41643060
08260ca8:trace:dosfs:DOSFS_OpenDir "/opt/samba-dir"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
412e8868
08260ca8:trace:heap:RtlReAllocateHeap (40370000,00000002,41643060,00000210):
returning 41643060
08260ca8:trace:heap:RtlReAllocateHeap (40370000,00000002,41643060,00000410):
returning 41643060
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,412e8868): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
(/opt/samba-dir,L"EBT23\\BIN\\dynatext.ini") -> L"EBT23"
(L"EBT23")
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,41643060): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
/opt/samba-dir/EBT23,L"BIN\\dynatext.ini"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000110): returning
41643060
08260ca8:trace:dosfs:DOSFS_OpenDir "/opt/samba-dir/EBT23"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
412e8868
08260ca8:trace:heap:RtlReAllocateHeap (40370000,00000002,41643060,00000210):
returning 41643060
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,412e8868): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
(/opt/samba-dir/EBT23,L"BIN\\dynatext.ini") -> L"BIN"
(L"BIN")
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,41643060): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
/opt/samba-dir/EBT23/BIN,L"dynatext.ini"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000110): returning
41643060
08260ca8:trace:dosfs:DOSFS_OpenDir "/opt/samba-dir/EBT23/BIN"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
412e8868
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,412e8868): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
(/opt/samba-dir/EBT23/BIN,L"dynatext.ini") ->
L"DYNATEXT.INI" (L"DYNATEXT.INI")
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,41643060): returning TRUE
08260ca8:trace:dosfs:DOSFS_GetFullName returning
/opt/samba-dir/EBT23/BIN/DYNATEXT.INI =
L"E:\\EBT23\\BIN\\DYNATEXT.INI"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000028): returning
412e8868
08260ca8:trace:int21:DOS3Call FINDNEXT
08260ca8:trace:win32:_EnterSysLevel (0x4010a288, level 1): thread 0x8260ca8 (fs
0287, pid 538) count before 2
08260ca8:trace:win32:_EnterSysLevel (0x4010a288, level 1): thread 0x8260ca8 (fs
0287, pid 538) count after 3
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000020): returning
41643060
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
412e8898
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000110): returning
41643088
08260ca8:trace:dosfs:DOSFS_OpenDir "/opt/samba-dir/EBT23/BIN"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
416431a0
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,416431a0): returning TRUE
08260ca8:trace:string:lstrcpynA (0x411c209c,
"/opt/samba-dir/EBT23/BIN", 1023)
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,41643088): returning TRUE
08260ca8:trace:win32:_LeaveSysLevel (0x4010a288, level 1): thread 0x8260ca8 (fs
0287, pid 538) count before 3
08260ca8:trace:win32:_LeaveSysLevel (0x4010a288, level 1): thread 0x8260ca8 (fs
0287, pid 538) count after 2
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,412e8868): returning TRUE
08260ca8:trace:int21:DOS3Call failed, error 18
08260ca8:trace:int21:DOS3Call returning: AX=0012 BX=0a17 CX=0016 DX=0dfa SI=0114
DI=0e14 DS=0a17 ES=0a17 EFL=00000293
08260ca8:trace:global:GlobalHandle16 019f
08260ca8:Ret WPROCS.133: INT_INT21HANDLER() retval=none ret=02cf:539f ds=0a17
AX=0012 BX=0a17 CX=0016 DX=0dfa SI=0114 DI=0e14 ES=0a17 EFL=00000293
08260ca8:trace:global:GlobalHandle16 019f
08260ca8:Call WPROCS.133: INT_INT21HANDLER() ret=02cf:5443 ds=0a17
AX=4e45 BX=0b66 CX=0016 DX=0b66 SI=0114 DI=0e14 ES=0a17 EFL=00000202
08260ca8:trace:int21:DOS3Call AX=4e45 BX=0b66 CX=0016 DX=0b66 SI=0114 DI=0e14
DS=0a17 ES=0a17 EFL=00000202
08260ca8:trace:int21:DOS3Call FINDFIRST mask 0x0016 spec
E:\EBT23\BIN\dynatext.ini
08260ca8:trace:dosfs:DOSFS_GetFullName L"E:\\EBT23\\BIN\\dynatext.ini"
(last=0)
08260ca8:trace:string:lstrcpynA (0x411c1c84, "/opt/samba-dir", 1024)
08260ca8:trace:dosfs:DOSFS_FindUnixName
/opt/samba-dir,L"EBT23\\BIN\\dynatext.ini"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000110): returning
41643088
08260ca8:trace:dosfs:DOSFS_OpenDir "/opt/samba-dir"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
412e8868
08260ca8:trace:heap:RtlReAllocateHeap (40370000,00000002,41643088,00000210):
returning 41643088
08260ca8:trace:heap:RtlReAllocateHeap (40370000,00000002,41643088,00000410):
returning 41643088
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,412e8868): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
(/opt/samba-dir,L"EBT23\\BIN\\dynatext.ini") -> L"EBT23"
(L"EBT23")
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,41643088): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
/opt/samba-dir/EBT23,L"BIN\\dynatext.ini"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000110): returning
41643088
08260ca8:trace:dosfs:DOSFS_OpenDir "/opt/samba-dir/EBT23"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
412e8868
08260ca8:trace:heap:RtlReAllocateHeap (40370000,00000002,41643088,00000210):
returning 41643088
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,412e8868): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
(/opt/samba-dir/EBT23,L"BIN\\dynatext.ini") -> L"BIN"
(L"BIN")
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,41643088): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
/opt/samba-dir/EBT23/BIN,L"dynatext.ini"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000110): returning
41643088
08260ca8:trace:dosfs:DOSFS_OpenDir "/opt/samba-dir/EBT23/BIN"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
412e8868
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,412e8868): returning TRUE
08260ca8:trace:dosfs:DOSFS_FindUnixName
(/opt/samba-dir/EBT23/BIN,L"dynatext.ini") ->
L"DYNATEXT.INI" (L"DYNATEXT.INI")
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,41643088): returning TRUE
08260ca8:trace:dosfs:DOSFS_GetFullName returning
/opt/samba-dir/EBT23/BIN/DYNATEXT.INI =
L"E:\\EBT23\\BIN\\DYNATEXT.INI"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000028): returning
41643088
08260ca8:trace:int21:DOS3Call FINDNEXT
08260ca8:trace:win32:_EnterSysLevel (0x4010a288, level 1): thread 0x8260ca8 (fs
0287, pid 538) count before 2
08260ca8:trace:win32:_EnterSysLevel (0x4010a288, level 1): thread 0x8260ca8 (fs
0287, pid 538) count after 3
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000020): returning
412e8868
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
416430b8
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000110): returning
416430d8
08260ca8:trace:dosfs:DOSFS_OpenDir "/opt/samba-dir/EBT23/BIN"
08260ca8:trace:heap:RtlAllocateHeap (40370000,00000002,00000018): returning
416431f0
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,416431f0): returning TRUE
08260ca8:trace:string:lstrcpynA (0x411c209c,
"/opt/samba-dir/EBT23/BIN", 1023)
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,416430d8): returning TRUE
08260ca8:trace:win32:_LeaveSysLevel (0x4010a288, level 1): thread 0x8260ca8 (fs
0287, pid 538) count before 3
08260ca8:trace:win32:_LeaveSysLevel (0x4010a288, level 1): thread 0x8260ca8 (fs
0287, pid 538) count after 2
08260ca8:trace:heap:RtlFreeHeap (40370000,00000002,41643088): returning TRUE
08260ca8:trace:int21:DOS3Call failed, error 18
08260ca8:trace:int21:DOS3Call returning: AX=0012 BX=0b66 CX=0016 DX=0b66 SI=0114
DI=0e14 DS=0a17 ES=0a17 EFL=00000203
08260ca8:trace:global:GlobalHandle16 019f
...After that point, the program tries to search the file in other different
places.
Even copying the file there didn't make the program to find it.