https://bugs.winehq.org/show_bug.cgi?id=38935
Bug ID: 38935 Summary: CocosStudio1.6 crashes when starting application Product: Wine Version: 1.7.44 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mamankuat@yandex.com Distribution: ---
Created attachment 51870 --> https://bugs.winehq.org/attachment.cgi?id=51870 backtrace from crash when starting cocostudio.exe
Cocostudio 1.6 properly installed on WINEARCH=win32, With winetricks dotnet40
Can't start cocos studio 1.6 using wine CocosStudio.exe
Download link: http://www.y999.com/e/DownSys/GetDown/?classid=66&id=114149&pathid=0
https://bugs.winehq.org/show_bug.cgi?id=38935
mamankuat mamankuat@yandex.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.y999.com/e/DownS | |ys/GetDown/?classid=66&id=1 | |14149&pathid=0
https://bugs.winehq.org/show_bug.cgi?id=38935
mamankuat mamankuat@yandex.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=38935
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Severity|critical |normal
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net --- Not critical.
Confirming; tested in wine-1.7.47-118-ga90592c.
https://bugs.winehq.org/show_bug.cgi?id=38935
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 51882 --> https://bugs.winehq.org/attachment.cgi?id=51882 log from wine-1.7.47-118-ga90592c
Attaching log from wine-1.7.47-118-ga90592c.
https://bugs.winehq.org/show_bug.cgi?id=38935
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|CocosStudio1.6 crashes when |CocosStudio1.6 crashes when |starting application |starting (.NET 4.0 app)
https://bugs.winehq.org/show_bug.cgi?id=38935
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Hi, Rosanne.
Could you please attach +wbemprox,+tid log?
https://bugs.winehq.org/show_bug.cgi?id=38935
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet CC| |focht@gmx.net Component|-unknown |wmi&wbemprox Summary|CocosStudio1.6 crashes when |CocosStudio1.6 (.NET 4.0 |starting (.NET 4.0 app) |app) crashes when starting | |(needs | |'Win32_DesktopMonitor' WMI | |class with | |'PixelsPerXLogicalInch' | |property)
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Cocos Studio
$ WINEDEBUG=+tid,+seh,+relay,+wbemprox wine ./Cocos\ Studio.exe >>log.txt 2>&1 ... 002d:trace:wbemprox:wbem_services_GetObject 0x1a0420, L"Win32_DesktopMonitor", 0x00000000, (nil), 0x32e510, (nil) ... 002d:trace:wbemprox:parse_query wql_parse returned 0 002d:trace:wbemprox:EnumWbemClassObject_create 0x32e404 ... 002d:trace:wbemprox:EnumWbemClassObject_create returning iface 0x1a0238 ... 002d:trace:wbemprox:create_class_object L"Win32_DesktopMonitor", 0x32e510 ... 002d:trace:wbemprox:create_class_object returning iface 0x1a0188 ... 002d:trace:wbemprox:class_object_Get 0x1a0188, L"__PATH", 00000000, 0x32e4f0, 0x32e5b4, 0x32e5b0 002d:Call KERNEL32.GetComputerNameW(0032e2ec,0032e2e8) ret=7e353474 002d:Ret KERNEL32.GetComputerNameW() retval=00000001 ret=7e353474 002d:Call oleaut32.SysAllocString(0032e2ec L"NEXUS5") ret=7e3534bb 002d:Ret oleaut32.SysAllocString() retval=0019a44c ret=7e3534bb 002d:Call oleaut32.SysAllocString(7e364318 L"ROOT\CIMV2") ret=7e3534fd 002d:Call ntdll.RtlAllocateHeap(00110000,00000000,00000020) ret=7e3cdb54 002d:Ret ntdll.RtlAllocateHeap() retval=001a01b0 ret=7e3cdb54 002d:Ret oleaut32.SysAllocString() retval=001a01b4 ret=7e3534fd 002d:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e3534cc ip=7e3534cc tid=002d 002d:trace:seh:raise_exception info[0]=00000000 002d:trace:seh:raise_exception info[1]=00000000 002d:trace:seh:raise_exception eax=00000000 ebx=00e32400 ecx=00e32408 edx=0000000a esi=00000004 edi=0032e4b4 002d:trace:seh:raise_exception ebp=0032e2d8 esp=0032e2c0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 002d:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c code=c0000005 flags=0 ... --- snip ---
Managed backtrace:
--- snip --- Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Management.IWbemClassObjectFreeThreaded.Get_(String wszName, Int32 lFlags, Object& pVal, Int32& pType, Int32& plFlavor) at System.Management.ManagementObject.Initialize(Boolean getObject) at System.Management.ManagementBaseObject.get_ClassName() at System.Management.ManagementClass.GetInstances(EnumerationOptions options) at System.Management.ManagementClass.GetInstances() at CocoStudio.UserStatistics.LocalInfo.GetDPI() at CocoStudio.UserStatistics.LocalInfo.init() at CocoStudio.UserStatistics.LocalInfo..ctor() at CocoStudio.UserStatistics.UserStatisticsMonitor.Start() at CocoStudio.UserStatistics.UserStatisitcsCS.OnInit() at CocoStudio.UserStatistics.BaseUserStatistics.Init() at CocoStudio.UserStatistics.BaseUserStatistics.set_EditorInfo(EditorInfo value) at CocoStudio.UserStatistics.UserStatisticsFactory.Start() at CocoStudio.App.Application_Startup(Object sender, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b__1(Object unused) --- snip ---
App .NET code for reference:
--- snip --- private double GetDPI() { int num = 0; double result; using (ManagementClass managementClass = new ManagementClass("Win32_DesktopMonitor")) { using (ManagementObjectCollection instances = managementClass.GetInstances()) { using (ManagementObjectCollection.ManagementObjectEnumerator enumerator = instances.GetEnumerator()) { while (enumerator.MoveNext()) { ManagementObject managementObject = (ManagementObject)enumerator.Current; num = int.Parse(managementObject.Properties["PixelsPerXLogicalInch"].Value.ToString()); } } result = (double)num; } } return result; } --- snip ---
$ sha1sum Cocos\ Studio_1.6.rar de097037a873da31dcb38e1eba0cf0c8d2c93dbc Cocos Studio_1.6.rar
$ du -sh Cocos\ Studio_1.6.rar 123M Cocos Studio_1.6.rar
$ wine --version wine-1.7.47-118-ga90592c
Regards
https://bugs.winehq.org/show_bug.cgi?id=38935
--- Comment #5 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 51886 --> https://bugs.winehq.org/attachment.cgi?id=51886 +wbemprox,+tid log
Probably not needed now that Anastasius has analyzed the bug, but attaching just in case.
https://bugs.winehq.org/show_bug.cgi?id=38935
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |deaf036992ba6aeb811ee77219a | |b862ad29ceb4a Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/deaf036992ba6aeb811ee77219...
Thanks Hans
Regards
https://bugs.winehq.org/show_bug.cgi?id=38935
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.49.