Firstly I don't know it is a wine or linux issue. Have old Oracle Forms app where some reports are called via external dll. That's are BIRT reports. Everything works fine on debian with wine 1.6.2 but not on latest Fedora's. When I try to call report there are some logs generated to file. Report engine have problem with polish chars.
Have locale:
Code: Select all
localectl
System Locale: LANG=pl_PL.UTF-8
VC Keymap: pl2
X11 Layout: pl
X11 Model: pc105
Code: Select all
608641.266:004a:004e:Call KERNEL32.MultiByteToWideChar(00000000,00000000,7e9f1680 "Invalid or incomplete multibyte or wide character",ffffffff,0140e8b8,00007fff) ret=7e95be46
608641.266:004a:004e:trace:nls:MultiByteToWideChar cp 0 "Invalid or incomplete multibyte or wide character\x00" -> L"Invalid or incomplete multibyte or wide character\0000", ret = 50
608641.266:004a:004e:Ret KERNEL32.MultiByteToWideChar() retval=00000032 ret=7e95be46
608641.266:004a:004e:Ret msvcr100._wcserror_s() retval=00000000 ret=00401d56
608641.266:004a:004e:Call msvcr100._vsnwprintf(013fe8b8,00007ffe,00408e30 L"Nie uda\0142o si\0119 zapisa\0107 do pliku %s napisu\n %s\n%s",013fe890) ret=00401323
608641.266:004a:004e:trace:msvcrt:pf_printf_w Format is: L"Nie uda\0142o si\0119 zapisa\0107 do pliku %s napisu\n %s\n%s"
608641.266:004a:004e:Ret msvcr100._vsnwprintf() retval=000000c6 ret=00401323
608641.266:004a:004e:Call user32.MessageBoxW(00000000,013fe8b8 L"Nie uda\0142o si\0119 zapisa\0107 do pliku c:\\birt\\birtlib.reportDownload.20160701100447.log napisu\n 2016-07-01 10:04:47 - reportDownload - Inicjalizuj\0119 cURL-a\n\nInvalid or incomplete multibyte or wide character",0040738c L"B\0142\0105d",00000010) ret=0040594f
Here are some interesting log fragments:
Code: Select all
608641.255:004a:004b:trace:gdi:SelectObject (0x3003e,0x10041)
608641.255:004a:004e:Call msvcr100._wfopen_s(014a6968,014a696c L"c:\\birt\\birtlib.reportDownload.20160701100447.log",00408d14 L"a, ccs=UTF-8") ret=004017b8
608641.255:004a:004b:trace:gdi:GetObjectType 0x3003e -> 10
608641.255:004a:004e:trace:msvcrt:MSVCRT__wfsopen (L"c:\\birt\\birtlib.reportDownload.20160701100447.log",L"a, ccs=UTF-8")
608641.255:004a:004b:trace:gdi:GetObjectType 0x3003e -> 10
608641.255:004a:004e:trace:msvcrt:msvcrt_get_flags L"a, ccs=UTF-8"
608641.255:004a:004b:trace:gdi:GetStockObject returning 0x1002a
608641.255:004a:004b:trace:dib:dibdrv_SelectBitmap (0x158078, 0x10041)
608641.255:004a:004e:trace:msvcrt:MSVCRT__wsopen_s fd*: 0x142e7c8 :file (L"c:\\birt\\birtlib.reportDownload.20160701100447.log") oflags: 0x40109 shflags: 0x0040 pmode: 0x0180
608641.255:004a:004e:Call KERNEL32.CreateFileW(014a696c L"c:\\birt\\birtlib.reportDownload.20160701100447.log",80000000,00000003,0142e760,00000003,00000080,00000000) ret=7e966910
608641.255:004a:004e:trace:file:CreateFileW L"c:\\birt\\birtlib.reportDownload.20160701100447.log" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE creation 3 attributes 0x80
608641.255:004a:004e:trace:file:RtlDosPathNameToNtPathName_U (L"c:\\birt\\birtlib.reportDownload.20160701100447.log",0x142e664,(nil),(nil))
608641.255:004a:004e:trace:file:RtlGetFullPathName_U (L"c:\\birt\\birtlib.reportDownload.20160701100447.log" 520 0x142e3b4 (nil))
608641.255:004a:004b:trace:heap:RtlAllocateHeap (0x110000,7000006a,00000080): returning 0x158328
608641.255:004a:004b:trace:gdi:GetObjectType 0x3003e -> 10
608641.255:004a:004b:trace:dc:SetTextColor hdc=0x3003e color=0x00000000
608641.255:004a:004b:trace:gdi:GetObjectType 0x3003e -> 10
608641.255:004a:004e:trace:file:wine_nt_to_unix_file_name L"\\birt\\birtlib.reportDownload.20160701100447.log" not found in /home/marcin/.wine/dosdevices/c:/birt
608641.255:004a:004b:trace:palette:GDISelectPalette 0x3003e 0x10029
608641.255:004a:004b:trace:gdi:GetObjectType 0x10029 -> 5
608641.255:004a:004b:trace:gdi:GetObjectType 0x3003e -> 10
608641.255:004a:004b:trace:gdi:GetObjectType 0x3003e -> 10
608641.255:004a:004b:trace:gdi:GetObjectType 0x3003e -> 10
608641.255:004a:004b:trace:dib:dibdrv_SetDeviceClipping (0x158078, (nil))
608641.255:004a:004b:trace:dib:dibdrv_DeleteDC (0x158078)
608641.255:004a:004e:trace:heap:RtlFreeHeap (0x110000,70000062,0x158440): returning TRUE
608641.255:004a:004e:warn:ntdll:FILE_CreateFile L"\\??\\C:\\birt\\birtlib.reportDownload.20160701100447.log" not found (c0000034)
608641.255:004a:004e:warn:file:CreateFileW Unable to create file L"c:\\birt\\birtlib.reportDownload.20160701100447.log" (status c0000034)
608641.256:004a:004b:trace:heap:RtlFreeHeap (0x110000,70000062,0x158078): returning TRUE
608641.256:004a:004b:trace:xrender:dec_ref_cache dec'ing entry 0 to 4
608641.256:004a:004e:trace:heap:RtlFreeHeap (0x110000,70000062,0x1583b8): returning TRUE
608641.256:004a:004e:trace:file:CreateFileW returning 0xffffffff
608641.256:004a:004e:Ret KERNEL32.CreateFileW() retval=ffffffff ret=7e966910
608641.256:004a:004e:Call KERNEL32.CreateFileW(014a696c L"c:\\birt\\birtlib.reportDownload.20160701100447.log",40000000,00000003,0142e760,00000004,00000080,00000000) ret=7e96696c
608641.256:004a:004e:trace:file:CreateFileW L"c:\\birt\\birtlib.reportDownload.20160701100447.log" GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE creation 4 attributes 0x80
608641.256:004a:004e:trace:file:RtlDosPathNameToNtPathName_U (L"c:\\birt\\birtlib.reportDownload.20160701100447.log",0x142e664,(nil),(nil))
608641.256:004a:004e:trace:file:RtlGetFullPathName_U (L"c:\\birt\\birtlib.reportDownload.20160701100447.log" 520 0x142e3b4 (nil))
608641.256:004a:004b:trace:heap:RtlFreeHeap (0x110000,70000062,0x139258): returning TRUE
608641.256:004a:004e:trace:heap:RtlAllocateHeap (0x110000,70000062,00000074): returning 0x15d748
608641.256:004a:004e:trace:ntdll:FILE_CreateFile handle=0x142e660 access=40100000 name=L"\\??\\C:\\birt\\birtlib.reportDownload.20160701100447.log" objattr=00000042 root=(nil) sec=(nil) io=0x142e66c alloc_size=(nil) attr=00000080 sharing=00000003 disp=3 options=00000060 ea=(nil).0x00000000
608641.256:004a:004b:trace:xrender:xrenderdrv_SelectFont font transform 1.000000 0.000000 0.000000 1.000000
608641.256:004a:004b:trace:gdi:GetObjectType 0x1b003a -> 10
608641.256:004a:004e:trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\birt\\birtlib.reportDownload.20160701100447.log" -> "/home/marcin/.wine/dosdevices/c:/birt/birtlib.reportDownload.20160701100447.log"
608641.256:004a:004b:trace:xrender:dec_ref_cache dec'ing entry 0 to 3
608641.256:004a:004b:trace:xrender:LookupEntry 0
608641.256:004a:004b:trace:xrender:LookupEntry found font in cache 0