https://bugs.winehq.org/show_bug.cgi?id=36477
Bug ID: 36477 Summary: Nikon Message Center 2 (part of Nikon Capture NX2) crashes on startup (needs support for 'CIM_Processor' WMI class) Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wmi&wbemprox Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
found during investigation of bug 30433
Prerequisite: 'winetricks -q dotnet40' (needed for 'Nikon CaptureNX2' although the crashing app itself is unmanaged code).
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Nikon/Nikon Message Center 2
$ WINEDEBUG=+tid,+seh,+relay,+wbemprox wine ./NkMC2.exe -a >>log.txt 2>&1 ... 002b:Call ole32.CoCreateInstance(0042ec48,00000000,00000001,0042eb78,0033fa60) ret=0041a509 ... 002b:Ret ole32.CoCreateInstance() retval=00000000 ret=0041a509 ... 002b:trace:wbemprox:wbem_locator_ConnectServer 0x16a600, L"ROOT\CIMV2", (null), (null), (null), 0x00000000, (null), (nil), 0x33fa50) ... 002b:trace:wbemprox:WbemServices_create (0x33fa50) ... 002b:trace:wbemprox:WbemServices_create returning iface 0x162830 ... 002b:trace:wbemprox:wbem_services_ExecQuery 0x162830, L"WQL", L"Select * From CIM_Processor", 0x00000030, (nil), 0x33fa58 ... 002b:trace:wbemprox:parse_query wql_parse returned 0 ... 002b:trace:wbemprox:EnumWbemClassObject_create returning iface 0x168bc8 002b:trace:wbemprox:enum_class_object_Next 0x168bc8, -1, 1, 0x33fa68, 0x33fa64 002b:trace:wbemprox:wbem_services_Release destroying 0x162830 ... 002b:trace:wbemprox:wbem_locator_Release destroying 0x16a600 ... 002b:trace:wbemprox:enum_class_object_Release destroying 0x168bc8 ... 002b:trace:seh:raise_exception code=c0000005 flags=0 addr=0x720050 ip=00720050 tid=002b 002b:trace:seh:raise_exception info[0]=00000000 002b:trace:seh:raise_exception info[1]=00720050 002b:trace:seh:raise_exception eax=0033fa80 ebx=ffffffff ecx=00720050 edx=004331b8 esi=0043dd78 edi=0043dd78 002b:trace:seh:raise_exception ebp=0033fa78 esp=0033fa18 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 002b:trace:seh:call_stack_handlers calling handler at 0x42b647 code=c0000005 flags=0 002b:trace:seh:call_stack_handlers handler at 0x42b647 returned 1 ... Unhandled exception: page fault on read access to 0x00720050 in 32-bit code ... Backtrace: =>0 0x00720050 (0x0033fa78) 1 0x004029ab in nkmc2 (+0x29aa) (0x0033fa90) 2 0x00402e83 in nkmc2 (+0x2e82) (0x0033fb10) 3 0x00426939 in nkmc2 (+0x26938) (0x0033fd78) 4 0x78a4aef9 in mfc90u (+0x6aef8) (0x0033fd8c) 5 0x00412957 in nkmc2 (+0x12956) (0x0033fe20) ... 0x00720050: addb %al,0x0(%eax) Modules: Module Address Debug info Name (79 modules) PE 400000- 499000 Export nkmc2 PE 10000000-10041000 Deferred nkrsslib ELF 4eb05000-4eb1e000 Deferred libresolv.so.2 PE 5d360000-5d36d000 Deferred mfc90enu PE 789e0000-78d81000 Export mfc90u ... Threads: process tid prio (all id:s are in hex) ... 0000002a (D) C:\Program Files\Nikon\Nikon Message Center 2\NkMC2.exe 0000002b 0 <== --- snip ---
$ sha1sum S-CNX2__-020300WF-INTEN-ALL___.exe 894f5fc753a6c7b212e5e845035db525bc9a834f S-CNX2__-020300WF-INTEN-ALL___.exe
$ du -sh S-CNX2__-020300WF-INTEN-ALL___.exe 114M S-CNX2__-020300WF-INTEN-ALL___.exe
$ wine --version wine-1.7.19
Regards