http://bugs.winehq.org/show_bug.cgi?id=34584
Bug #: 34584 Summary: thai2english not working at all may ole32 related Product: Wine Version: 1.7.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 AssignedTo: wine-bugs@winehq.org ReportedBy: genrobgen5@gmail.com Classification: Unclassified
Hi
linux distr debian wheezy (recently updated) gcc version 4.6.3 (Debian 4.6.3-14) thai2english-setup-2.3.4233.exe http://www.thai2english.com/downloading/thai2english-setup-2.3.4233.exe
started with wine '/root/.wine/drive_c/Program Files/Thai2English/thai2english.exe'
wine version 1.7.2 with wine.git-87c459ab2359784f238c30073b1adc0111876987.patch
I tried the patch mplementing VarDecRound (wine.git-87c459ab2359784f238c30073b1adc0111876987.patch) in wine-1.7.2, unfortunately it does not seem to have helped with [Bug 34463] thai2english.
I think there is going to be more than one bug. A visable bug at the moment is CoGetContextToken apartment not initialised (see attached log log-initial in attachment). I did a
WINEDEBUG=+ole,+relay wine '/root/.wine/drive_c/Program Files/Thai2English/thai2english.exe' 2>log+ole,+relay
followed by
grep 'CoGetContextToken' log+ole,+relay
to give
002c:Call ole32.CoGetContextToken(030be730) ret=791f525b trace:ole:CoGetContextToken (0x30be730) err:ole:CoGetContextToken apartment not initialised 002c:Ret ole32.CoGetContextToken() retval=800401f0 ret=791f525b 002d:Call ole32.CoGetContextToken(045be790) ret=791f525b trace:ole:CoGetContextToken (0x45be790) 002d:Ret ole32.CoGetContextToken() retval=00000000 ret=791f525b 0030:Call ole32.CoGetContextToken(046be710) ret=791f525b trace:ole:CoGetContextToken (0x46be710) trace:ole:CoGetContextToken apt->context_token=0x188750 0030:Ret ole32.CoGetContextToken() retval=00000000 ret=791f525b
(see log+ole+relay-greped in attachment)
retval=800401f0 refers to return CO_E_NOTINITIALIZED in CoGetContextToken in wine-1.7.2/dlls/ole32/compobj.c so apartment_find_multi_threaded() fails.
I suspect the following bit of code fails
LIST_FOR_EACH( cursor, &apts ) { struct apartment *apt = LIST_ENTRY( cursor, struct apartment, entry ); if (apt->multi_threaded) { result = apt; apartment_addref(result); break; } }
this piece of code looks for a struct apartment in &apts (or possibly it might create one if none exists)
&apts created by
static struct list apts = LIST_INIT( apts ); /* protected by csApartment */
however there does not appear to be any struct apartment or an appropriate pointer in struct list
I am not sure how the program is supposed to work but there is a problem here.
By the way thai2english does not work at all I am not just making it up or something. If the bug is not worth dealing with then that is not a problem to me as I can us virtualbox however wine is a neater solution.
Rob
http://bugs.winehq.org/show_bug.cgi?id=34584
--- Comment #1 from rob genrobgen5@gmail.com 2013-09-24 06:08:10 CDT --- Created attachment 46061 --> http://bugs.winehq.org/attachment.cgi?id=46061 tarball of 3 logs
http://bugs.winehq.org/show_bug.cgi?id=34584
--- Comment #2 from Austin English austinenglish@gmail.com 2013-09-24 13:13:13 CDT --- (In reply to comment #0)
started with wine '/root/.wine/drive_c/Program Files/Thai2English/thai2english.exe'
A) please don't run wine as root B) cd to the directory first, and don't use Unix paths
http://bugs.winehq.org/show_bug.cgi?id=34584
Jari K jarjar2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarjar2@luukku.com
--- Comment #3 from Jari K jarjar2@luukku.com --- fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe8b0, overlapped 0xdbe8bc): stub fixme:mscoree:parse_startup useLegacyV2RuntimeActivationPolicy=L"true" not implemented fixme:mscoree:parse_supported_runtime sku=L"Client" not implemented fixme:mscoree:parse_supported_runtime sku=L"Client" not implemented fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0" Missing method .ctor in assembly C:\Program Files\Thai2English\thai2english.exe, type System.Runtime.Versioning.TargetFrameworkAttribute Can't find custom attr constructor image: C:\Program Files\Thai2English\thai2english.exe mtoken: 0x0a00000b * Assertion at ../../../mono/mono/metadata/class.c:5600, condition `!mono_loader_get_last_error ()' not met
abnormal program termination err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.
wine 1.7.19
http://bugs.winehq.org/show_bug.cgi?id=34584
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://www.thai2english.com | |/downloading/thai2english-s | |etup-2.3.4233.exe CC| |focht@gmx.net Component|ole32 |mscoree Summary|thai2english not working at |Thai2English doesn't work |all may ole32 related |with Wine-Mono Ever confirmed|0 |1
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
the app works with .NET Framework 4.0 client profile ('winetricks -q dotnet40').
Whatever problem you are seeing has nothing to do with ole32 (COM contexts). It's a common misconception that failure to retrieve the (default) context for specific COM apartment causes these problems (often seen with .NET apps run with Wine).
Some functionality can't be used since the app makes extensive use of embedded browser control (DHTML) for user-interface, subject to other (known) bugs.
Making this bug about Mono issue (might be a dupe anyway).
$ sha1sum thai2english-setup-2.3.4233.exe d0d90ebf59b82b3aaa3b5bd531e047e929eff199 thai2english-setup-2.3.4233.exe
$ du -sh thai2english-setup-2.3.4233.exe 58M thai2english-setup-2.3.4233.exe
$ wine --version wine-1.7.19
Regards
http://bugs.winehq.org/show_bug.cgi?id=34584
--- Comment #5 from Vincent Povirk madewokherd@gmail.com --- fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0"
This is the issue. We're failing to detect the correct runtime for the exe, and loading it with the 2.0 runtime.
But there are more problems after that one.
https://bugs.winehq.org/show_bug.cgi?id=34584
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #6 from super_man@post.com --- fixme:ole:CoCreateInstanceEx no instance created for interface {2933bf95-7b36-11d2-b20e-00c04f983e60} of class
Don't know if that's serious.
anyway it doesnt work.
wine 1.9.12-git.
https://bugs.winehq.org/show_bug.cgi?id=34584
--- Comment #7 from mirh mirh@protonmail.ch --- https://thai2english.software.informer.com/download/
I don't seem to be getting the same error, still unless I install dotnet40, it doesn't work.
https://bugs.winehq.org/show_bug.cgi?id=34584
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED URL|http://www.thai2english.com |https://thai2english.softwa |/downloading/thai2english-s |re.informer.com/download/?c |etup-2.3.4233.exe |a21424
--- Comment #8 from Gijs Vermeulen gijsvrm@gmail.com --- This seems to work now with wine-6.17-261-g16e73be10d9, wine-mono 6.4.0 and wine-gecko 2.47.2 (also needed).
Can't try to add a stable download right now as archive.org is currently down.
$ sha1sum thai2english-setup-2.3.4233.exe d0d90ebf59b82b3aaa3b5bd531e047e929eff199 thai2english-setup-2.3.4233.exe
$ du -sh thai2english-setup-2.3.4233.exe 58M thai2english-setup-2.3.4233.exe
https://bugs.winehq.org/show_bug.cgi?id=34584
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.18.
https://bugs.winehq.org/show_bug.cgi?id=34584
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://thai2english.softwa |https://web.archive.org/web |re.informer.com/download/?c |/20210926075224/https://dow |a21424 |nload.informer.com/win-1193 | |085642-4ffffb25-6e46f38b/th | |ai2english-setup-2.3.4233.e | |xe