https://bugs.winehq.org/show_bug.cgi?id=42703
--- Comment #9 from Akram akram_ma@hotmail.com --- (In reply to Akram from comment #8)
(In reply to Nikolay Sivov from comment #7)
Created attachment 57673 [details] oleaut32.dll.so
(In reply to Akram from comment #6)
setting LANG to Arabic causes the crash. Also setting LC_MESSAGES does the same thing. Other LC settings are ok. But without native usp10.dll and LANG, Arabic letters will not connect together.
The question was mostly, does Arabic shaping still not work correctly with current Wine 2.4.
Nikolay Sivov , sorry, I am not familiar with building Wine. So if you would supply an .so file, that would be great.
Sure, I'm running Debian, hopefully this binary will be compatible enough.
Thanks Nikolay, I replaced oleaut32.dll.so and it sure works. Excel opens with no problem. I also typed 1-1 in Excel cell and it translates it to a date (First of Jan), then put 23-2 and subtract the two cells the result is 53 (correct answer).
For Wine 2.4, I only use Cross Over 16.2, I tried other methods (Wine+WinPrefix, PlayOnLinux, Vinegaurd), and I had trouble getting Arabic to work fine with them so I switched to CrossOver. It is very easy to use. I actually upgraded all ole*.so files of Cross Over 16.2 to Wine 2.4 as well as usp10, mlang and msls31. The result is the same. Arabic shaping needs native usp10.dll and setting LANG. I tried to replace all .so files but this makes Cross Over not working properly. So I upgraded only those files. Should there any other files I need to upgrade so I can get closer to Wine 2.4 and test Arabic shaping.
Some Update: I upgraded more Cross Over .so files to Wine 2.4 (ole*, usp10, msxml*, msls, mlang, w32*)
no native usp10.dll, LANG is set to Arabic Arabic Shaping works great for Word, Excel, Access, OneNote Arabic letter not connected for PowerPoint, Publisher
no native usp10.dll, LANG is not set: ِArabic shaping works for Excel, Access Letters not connected for PowerPoint, Publisher Letter are connected for Word, but words and letters got scrambled together and RTL are not mainained. Word keeps adding Arabic words from left side.
OneNote seems to type Arabic well but after typing 2 words, it crashed. I tried to repeat the error, but OneNote did not fail typing Arabic : Unhandled exception: page fault on read access to 0x00000006 in 32-bit code (0x3aab008c). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:3aab008c ESP:0033f968 EBP:0033f96c EFLAGS:00210297( R- -- I S -A-P-C) EAX:00000000 EBX:00000000 ECX:004dee50 EDX:00000002 ESI:004d5500 EDI:00000000 Stack dump: 0x0033f968: 004d5500 0033f9a8 3aaed473 00000000 0x0033f978: 0033f990 78e46df3 05af3098 0033f9e4 0x0033f988: 00000001 00000000 00000000 004d5500 0x0033f998: 0033f97c 0033f9bc 3b18609c 00000000 0x0033f9a8: 0033f9c8 3aa6ba2b 78e46d93 05c6d0c0 0x0033f9b8: 0033f9e4 0033fa4c 3b1ec8dc 00000000 000c: sel=0067 base=00000000 limit=00000000 32-bit r-x Backtrace: =>0 0x3aab008c in onmain (+0x7008c) (0x0033f96c) 1 0x3aaed473 in onmain (+0xad472) (0x0033f9a8) 2 0x3aa6ba2b in onmain (+0x2ba2a) (0x0033f9c8) 3 0x3aa752fb in onmain (+0x352fa) (0x0033fa58) 4 0x3ab1e822 in onmain (+0xde821) (0x0033fa68) 5 0x3aa447bd in onmain (+0x47bc) (0x0033fa74) 6 0x3ab1e7fe in onmain (+0xde7fd) (0x0033fa8c) 7 0x3ab1e7e1 in onmain (+0xde7e0) (0x0033faa0) 8 0x3ab2150a in onmain (+0xe1509) (0x0033fb14) 9 0x3ab0b822 in onmain (+0xcb821) (0x0033fb38) 10 0x3ab0b580 in onmain (+0xcb57f) (0x0033fb60) 11 0x3aa703b4 in onmain (+0x303b3) (0x0033fc8c) 12 0x3aade375 in onmain (+0x9e374) (0x0033fce4) 13 0x3aade1e3 in onmain (+0x9e1e2) (0x0033fcf8) 14 0x2e01e7dc in onenote (+0x1e7db) (0x0033fd0c) 15 0x3aad89ef in onmain (+0x989ee) (0x0033fd98) 16 0x2e0020d3 in onenote (+0x20d2) (0x0033fdb8) 17 0x2e001ff7 in onenote (+0x1ff6) (0x0033fdd0) 18 0x2e001fc1 in onenote (+0x1fc0) (0x0033fe60) 19 0x7b45ecfc call_process_entry+0xb() in kernel32 (0x0033fe78) 20 0x7b45f98a ExitProcess+0xc89() in kernel32 (0x0033fea8) 21 0x7bc7c9c0 call_thread_func_wrapper+0xb() in ntdll (0x0033fec8) 22 0x7bc7f7b1 call_thread_func+0xb0() in ntdll (0x0033ffa8) 23 0x7bc7c99e RtlRaiseException+0x21() in ntdll (0x0033ffc8) 24 0x7bc51a37 call_dll_entry_point+0x3b6() in ntdll (0x0033ffe8) 25 0xf754d79d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000) 26 0xf754d900 wine_switch_to_stack+0x1f() in libwine.so.1 (0xffa03708) 27 0x7bc575cd LdrInitializeThunk+0x22c() in ntdll (0xffa03748) 28 0x7b4668d1 __wine_kernel_init+0x990() in kernel32 (0xffa04638) 29 0x7bc58393 __wine_process_init+0x152() in ntdll (0xffa046a8) 30 0xf754bb63 wine_init+0x292() in libwine.so.1 (0xffa046f8) 31 0x7c000a9a main+0x79() in <wine-loader> (0xffa04b38) 32 0xf735e637 __libc_start_main+0xf6() in libc.so.6 (0x00000000) 0x3aab008c: movl 0x4(%edx),%eax Modules: Module Address Debug info Name (148 modules) PE 590000- 8d3000 Deferred onintl PE 8f0000- 4e1a000 Deferred msores PE 4e20000- 5082000 Deferred msointl PE 10000000-1040f000 Deferred office.odf PE 20300000-2034f000 Deferred mscss7en PE 2e000000-2e19e000 Export onenote PE 39000000-3a1e0000 Deferred mso PE 3aa40000-3b307000 Export onmain PE 3f860000-3f899000 Deferred msproof7 PE 40e50000-40ed9000 Deferred mssp7en PE 42030000-4217f000 Deferred riched20 PE 44020000-441b4000 Deferred ogl PE 44330000-443b9000 Deferred mssp7ar PE 49a90000-49bda000 Deferred inkobj PE 6bdc0000-6be7c000 Deferred msptls PE 6be90000-6beb0000 Deferred osppc PE 6bed0000-6c064000 Deferred osppcext ELF 7b400000-7b7e0000 Dwarf kernel32<elf> -PE 7b410000-7b7e0000 \ kernel32 ELF 7bc00000-7bcf2000 Dwarf ntdll<elf> -PE 7bc10000-7bcf2000 \ ntdll ELF 7c000000-7c003000 Dwarf <wine-loader> ELF 7c1de000-7c2a8000 Deferred crypt32<elf> -PE 7c1f0000-7c2a8000 \ crypt32 ELF 7c2a8000-7c400000 Deferred libgnutls.so.30 ELF 7c433000-7c474000 Deferred rsaenh<elf> -PE 7c440000-7c474000 \ rsaenh ELF 7c474000-7c500000 Deferred libgmp.so.10 ELF 7c817000-7c830000 Deferred cryptnet<elf> -PE 7c820000-7c830000 \ cryptnet ELF 7ca0f000-7ca44000 Deferred libhogweed.so.4 ELF 7ca44000-7ca81000 Deferred libnettle.so.6 ELF 7ca81000-7ca96000 Deferred libtasn1.so.6 ELF 7cd53000-7cddf000 Deferred gdiplus<elf> -PE 7cd60000-7cddf000 \ gdiplus ELF 7cddf000-7cf06000 Deferred msvcp60<elf> -PE 7ce20000-7cf06000 \ msvcp60 ELF 7cf0d000-7cf41000 Deferred libidn.so.11 ELF 7cf41000-7cfa2000 Deferred libp11-kit.so.0 ELF 7cfa2000-7cfb7000 Deferred schannel<elf> -PE 7cfb0000-7cfb7000 \ schannel ELF 7cfb7000-7cfcd000 Deferred winscard<elf> -PE 7cfc0000-7cfcd000 \ winscard ELF 7cfcd000-7d100000 Deferred actxprxy<elf> -PE 7cff0000-7d100000 \ actxprxy ELF 7d208000-7d239000 Deferred secur32<elf> -PE 7d210000-7d239000 \ secur32 ELF 7d401000-7d42e000 Deferred netapi32<elf> -PE 7d410000-7d42e000 \ netapi32 ELF 7d42e000-7d474000 Deferred usp10<elf> -PE 7d430000-7d474000 \ usp10 ELF 7d474000-7d48d000 Deferred libresolv.so.2 ELF 7d491000-7d4b8000 Deferred iphlpapi<elf> -PE 7d4a0000-7d4b8000 \ iphlpapi ELF 7d4b8000-7d4d5000 Deferred libgcc_s.so.1 ELF 7d4dc000-7d4e5000 Deferred libffi.so.6 ELF 7d4e5000-7d500000 Deferred rasapi32<elf> -PE 7d4f0000-7d500000 \ rasapi32 ELF 7d602000-7d609000 Deferred libnss_dns.so.2 ELF 7d609000-7d60d000 Deferred libnss_mdns4_minimal.so.2 ELF 7d60d000-7d620000 Deferred sensapi<elf> -PE 7d610000-7d620000 \ sensapi ELF 7d620000-7d633000 Deferred msimg32<elf> -PE 7d630000-7d633000 \ msimg32 ELF 7d633000-7d668000 Deferred msctf<elf> -PE 7d640000-7d668000 \ msctf ELF 7d668000-7d694000 Deferred atl<elf> -PE 7d670000-7d694000 \ atl ELF 7d694000-7d752000 Deferred msvcrt<elf> -PE 7d6b0000-7d752000 \ msvcrt ELF 7d752000-7d769000 Deferred wtsapi32<elf> -PE 7d760000-7d769000 \ wtsapi32 ELF 7d769000-7d7a0000 Deferred uxtheme<elf> -PE 7d770000-7d7a0000 \ uxtheme ELF 7d7e6000-7d805000 Deferred cabinet<elf> -PE 7d7f0000-7d805000 \ cabinet ELF 7d805000-7d900000 Deferred comctl32<elf> -PE 7d810000-7d900000 \ comctl32 ELF 7d900000-7d93b000 Deferred ws2_32<elf> -PE 7d910000-7d93b000 \ ws2_32 ELF 7d93b000-7d9b2000 Deferred wininet<elf> -PE 7d940000-7d9b2000 \ wininet ELF 7d9b2000-7dbf9000 Deferred shell32<elf> -PE 7d9c0000-7dbf9000 \ shell32 ELF 7dbf9000-7dc94000 Deferred urlmon<elf> -PE 7dc00000-7dc94000 \ urlmon ELF 7dc94000-7dd81000 Deferred msi<elf> -PE 7dca0000-7dd81000 \ msi ELF 7dec6000-7decd000 Deferred libxfixes.so.3 ELF 7decd000-7ded8000 Deferred libxcursor.so.1 ELF 7ded8000-7deeb000 Deferred libxi.so.6 ELF 7deeb000-7deef000 Deferred libxcomposite.so.1 ELF 7deef000-7defc000 Deferred libxrandr.so.2 ELF 7defc000-7df08000 Deferred libxrender.so.1 ELF 7df08000-7df0f000 Deferred libxxf86vm.so.1 ELF 7df0f000-7df13000 Deferred libxinerama.so.1 ELF 7df13000-7df1a000 Deferred libxdmcp.so.6 ELF 7df1a000-7df1e000 Deferred libxau.so.6 ELF 7df1e000-7df44000 Deferred libxcb.so.1 ELF 7df44000-7e08f000 Deferred libx11.so.6 ELF 7e08f000-7e0a4000 Deferred libxext.so.6 ELF 7e0a6000-7e0cd000 Deferred mpr<elf> -PE 7e0b0000-7e0cd000 \ mpr ELF 7e0cf000-7e15b000 Deferred winex11<elf> -PE 7e0e0000-7e15b000 \ winex11 ELF 7e15b000-7e17e000 Deferred imm32<elf> -PE 7e160000-7e17e000 \ imm32 ELF 7e2d5000-7e2ff000 Deferred libexpat.so.1 ELF 7e2ff000-7e348000 Deferred libfontconfig.so.1 ELF 7e348000-7e373000 Deferred libpng12.so.0 ELF 7e373000-7e38e000 Deferred libz.so.1 ELF 7e38e000-7e43e000 Deferred libfreetype.so.6 ELF 7e469000-7e599000 Deferred oleaut32<elf> -PE 7e480000-7e599000 \ oleaut32 ELF 7e599000-7e5b5000 Deferred jsproxy<elf> -PE 7e5a0000-7e5b5000 \ jsproxy ELF 7e5b5000-7e5f2000 Deferred winhttp<elf> -PE 7e5c0000-7e5f2000 \ winhttp ELF 7e5f2000-7e747000 Deferred msvcp90<elf> -PE 7e630000-7e747000 \ msvcp90 ELF 7e747000-7e7bc000 Deferred shlwapi<elf> -PE 7e750000-7e7bc000 \ shlwapi ELF 7e7bc000-7e882000 Deferred msvcr90<elf> -PE 7e7d0000-7e882000 \ msvcr90 ELF 7e882000-7e900000 Deferred rpcrt4<elf> -PE 7e890000-7e900000 \ rpcrt4 ELF 7e900000-7ea51000 Deferred user32<elf> -PE 7e910000-7ea51000 \ user32 ELF 7ea51000-7eb8a000 Deferred ole32<elf> -PE 7ea70000-7eb8a000 \ ole32 ELF 7eb8a000-7ecba000 Deferred gdi32<elf> -PE 7eba0000-7ecba000 \ gdi32 ELF 7ecba000-7ed32000 Deferred advapi32<elf> -PE 7ecd0000-7ed32000 \ advapi32 ELF 7ed32000-7ed45000 Deferred libnss_files.so.2 ELF 7ed45000-7ed52000 Deferred libnss_nis.so.2 ELF 7ed52000-7ed6d000 Deferred libnsl.so.1 ELF 7ed6d000-7ed77000 Deferred libnss_compat.so.2 ELF 7ef77000-7efcc000 Deferred libm.so.6 ELF 7efcc000-7efd5000 Deferred librt.so.1 ELF 7efe7000-7f000000 Deferred version<elf> -PE 7eff0000-7f000000 \ version ELF f7341000-f7346000 Deferred libdl.so.2 ELF f7346000-f74fc000 Dwarf libc.so.6 ELF f74fd000-f751a000 Deferred libpthread.so.0 ELF f7545000-f76fc000 Dwarf libwine.so.1 ELF f76fe000-f7723000 Deferred ld-linux.so.2 ELF f7725000-f7726000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 0000000c services.exe 00000162 0 000000f1 0 000000b6 0 0000004c 0 00000028 0 0000001d 0 00000014 0 0000000e 0 0000000d 0 00000010 mscorsvw.exe 0000001a 0 00000019 0 00000018 0 00000011 0 0000001b winedevice.exe 00000027 0 00000020 0 0000001f 0 0000001c 0 00000025 plugplay.exe 0000002b 0 0000002a 0 00000026 0 0000002c explorer.exe 00000035 0 00000034 0 00000033 0 00000032 0 0000002d 0 00000045 OSPPSVC.EXE 00000216 0 00000215 0 00000213 0 00000211 0 0000020f 0 0000020d 0 0000020b 0 00000209 0 00000047 0 0000017d 0 0000017b 0 00000148 0 0000014c 0 0000013c 0 0000015f 0 0000013a 0 00000136 0 0000012f 0 0000014f 0 00000137 0 00000133 0 00000153 0 0000013f 0 00000128 0 0000011d 0 00000121 0 0000015c 0 0000015d 0 00000177 0 000000e4 0 00000090 0 0000008c 0 00000080 0 00000072 0 0000007e 0 0000007c 0 0000007a 0 00000078 0 00000074 0 00000092 0 000000d1 0 00000091 0 0000008b 0 0000007f 0 0000006f 0 00000131 0 00000126 0 00000161 0 0000011a 0 00000114 0 000000c8 0 000000c6 0 000000a6 0 000000a0 0 000000ac 0 000000ca 0 000000a4 0 000000ab 0 0000005d 0 000000aa 0 0000009c 0 0000009f 0 0000009d 0 000000cd 0 000000c9 0 000000c7 0 000000a5 0 0000005b 0 00000057 0 00000056 0 00000054 0 00000052 0 0000004f 0 0000004e 0 00000046 0 000000b4 rpcss.exe 00000154 0 00000152 0 00000041 0 0000016b 0 000000be 0 000000bd 0 000000bc 0 000000ba 0 000000b9 0 000000b8 0 000000b5 0 000000ef svchost.exe 00000103 0 000000f7 0 000000f5 0 000000f4 0 000000f3 0 000000f0 0 00000104 ONENOTEM.EXE 00000105 0 00000116 POWERPNT.EXE 00000166 0 00000174 0 00000175 0 00000172 0 00000171 0 0000016e 0 0000016f 0 00000169 0 0000016a 0 00000167 0 00000168 0 00000163 0 00000094 0 000000d0 0 00000097 0 00000095 0 00000099 0 000000cf 0 000000e9 0 00000110 0 000000e5 -2 00000115 0 000000c2 EXCEL.EXE 0000011c 0 0000007d 0 0000006d 0 0000007b 0 0000006b 0 00000079 0 00000062 0 00000077 0 00000075 0 00000073 0 00000069 0 00000067 0 00000053 0 00000170 0 000000dc 0 000000db 0 000000dd 0 000000c3 0 00000178 0 000000c1 0 0000011e (D) C:\Program Files\Microsoft Office\Office14\ONENOTE.EXE 00000217 0 00000145 0 00000149 0 0000015a 0 00000132 0 0000014d 2 00000147 0 00000139 2 00000135 0 00000130 0 00000111 0 00000117 0 00000118 0 00000127 0 0000011f 0 00000165 0 00000129 0 <== System information: Wine build: cxoffice-16.2.0beta1rc4-15-g560ebbf Platform: i386 Version: Windows XP Host system: Linux Host version: 4.4.0-66-generic