http://bugs.winehq.org/show_bug.cgi?id=34463
Bug #: 34463 Summary: thai2english loads ok but crashes on startup Product: Wine Version: 1.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: genrobgen5@gmail.com Classification: Unclassified
Created attachment 45883 --> http://bugs.winehq.org/attachment.cgi?id=45883 bugreport and terminal output
Hi
I am trying to get a program thai2english to run with wine 1.6 (I have tried it with 1.7 but get the same rusults). I am not sure if anything can be done but would appreciate any help
Regards Rob genrobgen5@gmail.com
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'
there was a windows type message saying t2e-dbsetup.exe encountered a serious problem and needs to close
http://bugs.winehq.org/show_bug.cgi?id=34463
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.thai2english.com | |/downloading/thai2english-s | |etup-2.3.4233.exe Severity|critical |normal
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2013-09-06 08:37:02 CDT --- Not critical, read http://bugs.winehq.org/page.cgi?id=fields.html#importance
Do not run wine as root.
http://bugs.winehq.org/show_bug.cgi?id=34463
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45883|bugreport |bugreport.txt filename| | Attachment #45883|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=34463
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Austin English austinenglish@gmail.com 2013-09-06 13:29:00 CDT --- Confirming. You'll need winetricks dotnet40 to get this far.
Looks OLE related: fixme:ole:CoGetDefaultContext -1 {000001c6-0000-0000-c000-000000000046} 0x470d2f0 stub fixme:ole:Context_QueryInterface interface not implemented {51372ae0-cae7-11cf-be81-00aa00a2fa25} fixme:variant:VarDecRound semi-stub!
Unhandled Exception: System.OverflowException: Value was either too large or too small for a Decimal. at System.Decimal.FCallRound(Decimal& d, Int32 decimals) at T2EDbSetup.SetupForm.?() at T2EDbSetup.SetupForm.DoSetup() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
austin@aw25 ~ $ sha1sum thai2english-setup-2.3.4233.exe d0d90ebf59b82b3aaa3b5bd531e047e929eff199 thai2english-setup-2.3.4233.exe austin@aw25 ~ $ du -h thai2english-setup-2.3.4233.exe 58M thai2english-setup-2.3.4233.exe austin@aw25 ~ $ wine --version wine-1.7.1-126-g3b16325
http://bugs.winehq.org/show_bug.cgi?id=34463
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com 2013-09-19 09:07:02 CDT --- A patch implementing VarDecRound is in current wine-git and will be in Wine 1.7.3. Please retest with the patch and see if this is improved.
http://bugs.winehq.org/show_bug.cgi?id=34463
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |87c459ab2359784f238c30073b1 | |adc0111876987 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com 2013-09-19 13:03:13 CDT --- (In reply to comment #3)
A patch implementing VarDecRound is in current wine-git and will be in Wine 1.7.3. Please retest with the patch and see if this is improved.
Yep, works fine in wine-1.7.2-78-gfb96cb5.
http://bugs.winehq.org/show_bug.cgi?id=34463
rob genrobgen5@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #5 from rob genrobgen5@gmail.com 2013-09-23 03:26:04 CDT --- To Andrew Eikum aeikum@codeweavers.com Austin English austinenglish@gmail.com
Hi
I tried the patch mplementing VarDecRound, unfortunately it does not seem to have helped with [Bug 34463] thai2english.
I think there is going to be more than one bug. The visable bug at the moment is CoGetContextToken apartment not initialised. I did a
WINEDEBUG=+ole,+relay wine '/root/.wine/drive_c/Program Files/Thai2English/thai2english.exe' 2>/log
followed by
grep 'CoGetContextToken'
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
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.
Rob
http://bugs.winehq.org/show_bug.cgi?id=34463
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2013-09-23 07:35:51 CDT --- (In reply to comment #5)
I tried the patch mplementing VarDecRound, unfortunately it does not seem to have helped with [Bug 34463] thai2english.
I think there is going to be more than one bug. The visable bug at the moment is CoGetContextToken apartment not initialised.
Hi, there is a general rule about one problem per bug. The original bug (VarDecRound not working) was fixed, now please open new bugs for other problems.
Also remember that console fixme messages are not always a problem, only open a new bug if the application really does not work.
http://bugs.winehq.org/show_bug.cgi?id=34463
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-09-27 13:41:08 CDT --- Closing bugs fixed in 1.7.3.
http://bugs.winehq.org/show_bug.cgi?id=34463
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
http://bugs.winehq.org/show_bug.cgi?id=34463
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2013-11-15 13:39:53 CST --- Removing 1.6.x milestone from bugs included in 1.6.1.
https://bugs.winehq.org/show_bug.cgi?id=34463
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |oleaut32