https://bugs.winehq.org/show_bug.cgi?id=37758
Bug ID: 37758 Summary: Engine001 Crash (when selecting an NPC) ~ MAP001.EXE Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: thezixgamer@gmail.com Distribution: ---
Created attachment 50277 --> https://bugs.winehq.org/attachment.cgi?id=50277 bug report produced by WINE
A crash is caused when editing a Map, everytime i try to place an NPC on the map, shortley after selecting what type of NPC I want the screen hangs and the app crashes soon after.
Having used this application for years on WIndows I confirm this is not a bug within Engine001 (Map001.exe) itself, but within WINE.
https://bugs.winehq.org/show_bug.cgi?id=37758
Daniel thezixgamer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thezixgamer@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=37758
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Can you reproduce with the community edition? http://www.engine001.com/downloads.htm
Wine build: wine-1.6.2
Please try again in the latest development version of wine, currently 1.7.33.
https://bugs.winehq.org/show_bug.cgi?id=37758
Daniel thezixgamer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.6.2 Summary|Engine001 Crash (when |Engine001 (v1.012.017) |selecting an NPC) ~ |Crash (when selecting an |MAP001.EXE |NPC) ~ MAP001.EXE
https://bugs.winehq.org/show_bug.cgi?id=37758
--- Comment #2 from Daniel thezixgamer@gmail.com --- My apologies for not being more clear, yes I was using the latest community version of Engine001 (v1.012.017) on WINE v1.6.2
but I will download the latest beta version and see if the problem still exists.
https://bugs.winehq.org/show_bug.cgi?id=37758
--- Comment #3 from Daniel thezixgamer@gmail.com --- Created attachment 50294 --> https://bugs.winehq.org/attachment.cgi?id=50294 *UPDATED* Bug report by WINE 1.7.33
I have updated to the latest version of WINE 1.7.33 and it appears that the bug still persists, I have uploaded a new report.
https://bugs.winehq.org/show_bug.cgi?id=37758
Daniel thezixgamer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.6.2 |1.7.33
https://bugs.winehq.org/show_bug.cgi?id=37758
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.engine001.com/do | |wnloads.htm
https://bugs.winehq.org/show_bug.cgi?id=37758
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- I can confirm this issue in wine 1.7.33.
Backtrace: =>0 0x7b83b685 RaiseException+0x93(code=<couldn't compute location>, flags=<couldn't compute location>, nbargs=<couldn't compute location>, args=<couldn't compute location>) [/home/bruno/programs/wine/dlls/kernel32/except.c:84] in kernel32 (0x0033eee8) 1 0x72a10dcf in msvbvm60 (+0xd0dce) (0x0033ef0c) 2 0x72a0e228 in msvbvm60 (+0xce227) (0x00165ed8) 0x7b83b685 RaiseException+0x93 [/home/bruno/programs/wine/dlls/kernel32/except.c:84] in kernel32: subl $4,%esp
https://bugs.winehq.org/show_bug.cgi?id=37758
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |loader Summary|Engine001 (v1.012.017) |Engine001 v1.012.017 (VB6 |Crash (when selecting an |app) crashes after |NPC) ~ MAP001.EXE |selecting actor from 'Actor | |template' ('MS Serif' font | |substitute missing)
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Relevant part of trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/001/Map
$ WINEDEBUG=+tid,+seh,+relay,+variant,+ole,+font wine ./Map001.exe >>log.txt 2>&1 ... 0023:Call gdi32.EnumFontsA(0012002a,13db8624 "MS Serif",732e1384,0033d120) ret=732e137d 0023:trace:font:FONT_EnumFontFamiliesEx lfFaceName = L"MS Serif" lfCharset = 1 0023:trace:font:freetype_EnumFonts facename = L"MS Serif" charset 1 0023:Ret gdi32.EnumFontsA() retval=00000001 ret=732e137d ... 0023:Call ole32.CreateErrorInfo(0033d1fc) ret=732f1183 0023:trace:ole:CreateErrorInfo (0x33d1fc) ... 0023:trace:ole:IErrorInfoImpl_QueryInterface (0x1512e120)->({22f03340-547d-101b-8e65-08002b2bd119},0x33d1fc) 0023:trace:ole:IErrorInfoImpl_AddRef (0x1512e120)->(count=1) 0023:trace:ole:IErrorInfoImpl_QueryInterface -- Interface: (0x33d1fc)->(0x1512e124) 0023:trace:ole:IErrorInfoImpl_Release (0x1512e120)->(count=2) 0023:Ret ole32.CreateErrorInfo() retval=00000000 ret=732f1183 0023:trace:ole:ICreateErrorInfoImpl_SetGUID (0x1512e120)->({33ad4ef1-6699-11cf-b70c-00aa0060d393}) ... 0023:trace:ole:ICreateErrorInfoImpl_SetSource (0x1512e120): L"Map001" ... 0023:Call user32.LoadStringA(732a0000,00000564,013f5008,00000400) ret=732c04d5 0023:Ret user32.LoadStringA() retval=00000016 ret=732c04d5 0023:Call KERNEL32.lstrlenA(013f5008 "Invalid property value") ret=732c04ec 0023:Ret KERNEL32.lstrlenA() retval=00000016 ret=732c04ec ... 0023:trace:ole:ICreateErrorInfoImpl_SetDescription (0x1512e120): L"Invalid property value" ... 0023:Call KERNEL32.RaiseException(c000008f,00000001,00000002,0033d1bc) ret=732cd07f 0023:trace:seh:raise_exception code=c000008f flags=1 addr=0x7b83b30f ip=7b83b30f tid=0023 0023:trace:seh:raise_exception info[0]=deadcafe 0023:trace:seh:raise_exception info[1]=deadcafe 0023:trace:seh:raise_exception eax=7b826f95 ebx=7b8bf000 ecx=deadcafe edx=0033d11c esi=0033d1bc edi=0033d180 0023:trace:seh:raise_exception ebp=0033d158 esp=0033d0f4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200283 0023:trace:seh:call_vectored_handlers calling handler at 0x701c6d78 code=c000008f flags=1 0023:trace:seh:call_vectored_handlers handler at 0x701c6d78 returned 0 0023:trace:seh:call_stack_handlers calling handler at 0x41bf66 code=c000008f flags=1 ... 0023:trace:seh:raise_exception code=c0000005 flags=0 addr=0x732d3c90 ip=732d3c90 tid=0023 0023:trace:seh:raise_exception info[0]=00000000 0023:trace:seh:raise_exception info[1]=00000014 0023:trace:seh:raise_exception eax=00000000 ebx=013e5bf4 ecx=0033c87c edx=013e62b0 esi=0139fdac edi=013e4e5c 0023:trace:seh:raise_exception ebp=0033c8b0 esp=0033c8a8 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210246 0023:trace:seh:call_vectored_handlers calling handler at 0x701c6d78 code=c0000005 flags=0 0023:trace:seh:call_vectored_handlers handler at 0x701c6d78 returned 0 0023:trace:seh:call_stack_handlers calling handler at 0x41bf66 code=c0000005 flags=0 ... 0023:Call user32.LoadStringA(732a0000,00002738,0033cd84,000001f4) ret=732ce34d 0023:Ret user32.LoadStringA() retval=0000002b ret=732ce34d 0023:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0033cd84 "Application-defined or object-defined error",ffffffff,00000000,00000000) ret=732ce2b6 0023:Ret KERNEL32.MultiByteToWideChar() retval=0000002c ret=732ce2b6 ... --- snip ---
The VB6 app assigns properties to controls (ActiveX objects). After selection of actor from 'Actor template' it assigns various properties, such as caption, tooltip, fontname etc. to UI controls to be shown.
One of the controls has hard-coded 'MS Serif' font name property assignment (VB control designer).
As workaround add a font substitute for 'MS Serif' to the registry:
--- snip --- $ wine reg add 'HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes' /v 'MS Serif' /t REG_SZ /d 'Liberation Serif' --- snip ---
(should go to 'wine.inf.in')
$ sha1sum Map001.exe 3a432548c516c862aa28683ad3079404029ff129 Map001.exe
$ du -sh Map001.exe 30M Map001.exe
$ wine --version wine-1.7.33-84-gfecbc88
https://bugs.winehq.org/show_bug.cgi?id=37758
--- Comment #6 from Stefan Leichter Stefan.Leichter@camLine.com --- According to Dmitry (https://www.winehq.org/pipermail/wine-devel/2015-February/106398.html) the setting needs to got to the registy key HKCU\Software\Wine\Fonts\Replacements.
Patch was sent: https://www.winehq.org/pipermail/wine-patches/2015-February/136941.html
https://bugs.winehq.org/show_bug.cgi?id=37758
Stefan Leichter Stefan.Leichter@camLine.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Stefan.Leichter@camLine.com
--- Comment #7 from Stefan Leichter Stefan.Leichter@camLine.com --- The resend of the patch (http://source.winehq.org/patches/data/109238) is now also close to the end of the patches list ...
https://bugs.winehq.org/show_bug.cgi?id=37758
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #8 from super_man@post.com --- (In reply to Stefan Leichter from comment #7)
The resend of the patch (http://source.winehq.org/patches/data/109238) is now also close to the end of the patches list ...
Patch still applies against 1.9.9. Maybe staging is interested?
https://bugs.winehq.org/show_bug.cgi?id=37758
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.engine001.com/do |https://web.archive.org/web |wnloads.htm |/20160325022847/http://engi | |ne001.com/files/Map001.exe Component|loader |fonts
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Adding stable download link via Internet Archive.
https://web.archive.org/web/20160325022847/http://engine001.com/files/Map001...
https://www.virustotal.com/gui/file/4cdcbabb91a864be9d089b917fd970dceb3f656e...
$ sha1sum Map001.exe 00157d55ee7775e3e82d5769d5423c949d911d3f Map001.exe
$ du -sh Map001.exe 58M Map001.exe
$ wine --version wine-6.22-204-gf03933fbb73
Regards