[Bug 36501] Dyn Updater v4.1.10 'DynUpConfig' tool crashes on startup ('Win32_NetworkAdapterConfiguration' WMI class 'Description' property missing)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 22 17:24:36 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=36501

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|-unknown                    |wmi&wbemprox
            Summary|Dyn Updater v4.1.10         |Dyn Updater v4.1.10
                   |'DynUpConfig' tool crashes  |'DynUpConfig' tool crashes
                   |on startup                  |on startup
                   |                            |('Win32_NetworkAdapterConfi
                   |                            |guration' WMI class
                   |                            |'Description' property
                   |                            |missing)
     Ever confirmed|0                           |1

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming, I could now reproduce it.

You just have to cancel the 'Dyn Account Information' dialog which pops up on
startup to trigger a crash.

Interestingly +relay avoids the crash, but other channels are sufficient enough
to show a problem.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Dyn Updater

WINEDEBUG=+tid,+seh,+loaddll,+process,+wbemprox wine ./DynUpConfig.exe
>>log.txt 2>&1
...
0009:trace:wbemprox:wbem_services_ExecQuery 0x812d18, L"WQL", L"Select * from
Win32_NetworkAdapterConfiguration where (IPEnabled=TRUE)", 0x00000030, (nil),
0x33e570
0009:trace:wbemprox:grab_table returning 0x7d04137c
0009:trace:wbemprox:parse_query wql_parse returned 0
0009:trace:wbemprox:fill_networkadapterconfig created 7 rows
0009:trace:wbemprox:EnumWbemClassObject_create 0x33e570
0009:trace:wbemprox:EnumWbemClassObject_create returning iface 0x21ea78
0009:trace:wbemprox:enum_class_object_Next 0x21ea78, -1, 1, 0x33e6a8, 0x33e54c
0009:trace:wbemprox:create_class_object L"Win32_NetworkAdapterConfiguration",
0x33e6a8
0009:trace:wbemprox:create_class_object returning iface 0x21ea90
0009:trace:wbemprox:class_object_Get 0x21ea90, L"DefaultIPGateway", 00000000,
0x33e510, (nil), (nil)
0009:trace:wbemprox:wbem_services_ExecQuery 0x812d18, L"WQL", L"Select * from
Win32_IP4RouteTable", 0x00000030, (nil), 0x33e4f4
0009:trace:wbemprox:parse_query wql_parse returned 0
0009:trace:wbemprox:EnumWbemClassObject_create 0x33e4f4
0009:trace:wbemprox:EnumWbemClassObject_create returning iface 0x993cb8
0009:trace:wbemprox:enum_class_object_Next 0x993cb8, -1, 1, 0x33e4f0, 0x33e4ec
0009:trace:wbemprox:enum_class_object_Release destroying 0x993cb8
0009:trace:wbemprox:class_object_Get 0x21ea90, L"Description", 00000000,
0x33e530, (nil), (nil)
0009:trace:wbemprox:class_object_Get 0x21ea90, L"MACAddress", 00000000,
0x33e520, (nil), (nil)
0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7b87f9d5
ip=7b87f9d5 tid=0009
0009:trace:seh:raise_exception  info[0]=00000000
0009:trace:seh:raise_exception  info[1]=00000071
0009:trace:seh:raise_exception  eax=00000071 ebx=00000071 ecx=4c3d90a3
edx=0033e430 esi=0033e6a8 edi=00000000
0009:trace:seh:raise_exception  ebp=0033e418 esp=0033e408 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210202
0009:trace:seh:call_stack_handlers calling handler at 0x7b89426b code=c0000005
flags=0
0009:trace:seh:__regs_RtlUnwind code=c0000005 flags=2
0009:trace:seh:__regs_RtlUnwind calling handler at 0x7bc938e1 code=c0000005
flags=2
0009:trace:seh:__regs_RtlUnwind handler at 0x7bc938e1 returned 1
0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7b857644
ip=7b857644 tid=0009
0009:trace:seh:raise_exception  info[0]=00000000
0009:trace:seh:raise_exception  info[1]=00000071
0009:trace:seh:raise_exception  eax=00000071 ebx=00000071 ecx=0033e420
edx=7b8800b9 esi=0033e4f0 edi=00000002
0009:trace:seh:raise_exception  ebp=0033e458 esp=0033e448 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210206
0009:trace:seh:call_stack_handlers calling handler at 0x1002ff46 code=c0000005
flags=0
0009:trace:seh:call_stack_handlers handler at 0x1002ff46 returned 1
0009:trace:seh:call_stack_handlers calling handler at 0x10030039 code=c0000005
flags=0
0009:trace:seh:call_stack_handlers handler at 0x10030039 returned 1
0009:trace:seh:call_stack_handlers calling handler at 0x4102f0 code=c0000005
flags=0
0009:trace:seh:call_stack_handlers handler at 0x4102f0 returned 1
0009:trace:seh:call_stack_handlers calling handler at 0x7bcb50ab code=c0000005
flags=0
wine: Unhandled page fault on read access to 0x00000071 at address 0x7b857644
(thread 0009), starting debugger... 
...
Backtrace:
=>0 0x7b857644 strlenW+0x15(str=*** invalid address 0x71 ***)
[/home/focht/projects/wine/wine.repo/src/include/wine/unicode.h:200] in
kernel32 (0x0033e458)
  1 0x7b85b666 WideCharToMultiByte+0x4e(page=0x3, flags=0, src=*** invalid
address 0x71 ***, srclen=0xffffffff, dst="", dstlen=0x2, defchar=0x0(nil),
used=0x0(nil))
[/home/focht/projects/wine/wine.repo/src/dlls/kernel32/locale.c:2351] in
kernel32 (0x0033e4c8)
  2 0x1000c701 in dynlib (+0xc700) (0x0033e648)
  3 0x1000dd1a in dynlib (+0xdd19) (0x0033f944)
  4 0x1000f05e in dynlib (+0xf05d) (0x0033f954)
  5 0x00350000 (0x0033fd94)
  6 0x0040dc64 in dynupconfig (+0xdc63) (0x0033fe30)
  7 0x7b86ea34 call_process_entry+0xb() in kernel32 (0x0033fe48) 
...
0x7b857644 strlenW+0x15
[/home/focht/projects/wine/wine.repo/src/include/wine/unicode.h:200] in
kernel32: movzwl    0x0(%eax),%eax
200        while (*s) s++;
Modules:
Module    Address            Debug info    Name (121 modules)
PE      400000-  44a000    Export          dynupconfig
PE    10000000-10045000    Export          dynlib
ELF    42467000-42470000    Deferred        librt.so.1
ELF    42771000-4278f000    Deferred        libgcc_s.so.1
ELF    7a800000-7a939000    Deferred        opengl32<elf>
  \-PE    7a840000-7a939000    \               opengl32
ELF    7b800000-7ba73000    Dwarf           kernel32<elf>
  \-PE    7b820000-7ba73000    \               kernel32
ELF    7bc00000-7bd07000    Dwarf           ntdll<elf>
  \-PE    7bc30000-7bd07000    \               ntdll
ELF    7bf00000-7bf04000    Dwarf           <wine-loader> 
...
Threads:
process  tid      prio (all id:s are in hex) 
...
00000042 (D) C:\Program Files\Dyn Updater\DynUpConfig.exe
    00000044    0
    0000003e    0
    00000027    0
    00000032    0
    00000009    0 <==
--- snip ---

The 'Description' property doesn't exist in 'Win32_NetworkAdapterConfiguration'
WMI class which could be the culprit here.

MSDN:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa394217%28v=vs.85%29.aspx

Source:
https://source.winehq.org/git/wine.git/blob/20ff3352eb19292d47eaa8f3aecc61523ac1f1d9:/dlls/wbemprox/builtin.c#l472

--- snip ---
 472 static const struct column col_networkadapterconfig[] =
 473 {
 474     { prop_dnshostnameW,        CIM_STRING|COL_FLAG_DYNAMIC },
 475     { prop_indexW,              CIM_UINT32|COL_FLAG_KEY, VT_I4 },
 476     { prop_ipconnectionmetricW, CIM_UINT32, VT_I4 },
 477     { prop_ipenabledW,          CIM_BOOLEAN },
 478     { prop_macaddressW,         CIM_STRING|COL_FLAG_DYNAMIC }
 479 };
--- snip ---

ProtectionID scan:

--- snip ---
-=[ ProtectionID v0.6.7.0 OCTOBER]=-
(c) 2003-2015 CDKiLLER & TippeX
Build 31/10/15-14:35:10
Ready...
Scanning -> Z:\home\focht\Downloads\DynUpSetup.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 897520 (0DB1F0h)
Byte(s) | Machine: 0x14C (I386)
Compilation TimeStamp : 0x4B1AE464 -> Sat 05th Dec 2009 22:53:24 (GMT)
[TimeStamp] 0x4B1AE464 -> Sat 05th Dec 2009 22:53:24 (GMT) | PE Header | - |
Offset: 0x000000D0 | VA: 0x004000D0 | -
-> File Appears to be Digitally Signed @ Offset 0D9C78h, size : 01578h / 05496
byte(s)
-> File has 819320 (0C8078h) bytes of appended data starting at offset 011C00h
[File Heuristics] -> Flag #1 : 00000000000001011100000000000100 (0x0005C004)
[Entrypoint Section Entropy] : 6.48 (section #0) ".text   " | Size : 0x6396
(25494) byte(s)
[DllCharacteristics] -> Flag : (0x8000) -> TSA
[SectionCount] 5 (0x5) | ImageSize 0x4B000 (307200) byte(s)
[VersionInfo] Company Name : Dyn. Inc.
[VersionInfo] Product Name : Dyn Updater
[VersionInfo] File Description : Dyn Updater
[VersionInfo] File Version : 4.1.10.0
[VersionInfo] Internal Name : DynUpSetup.exe
[VersionInfo] Legal Copyrights : © Dyn. Inc.  All rights reserved.
[-= Installer =-] Nullsoft SFX Setup v2.46
- Scan Took : 0.342 Second(s) [000000156h (342) tick(s)] [562 of 577 scan(s)
done]

Scanning -> C:\Program Files\Dyn Updater\DynUpConfig.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 288632 (046778h)
Byte(s) | Machine: 0x14C (I386)
Compilation TimeStamp : 0x4EC29F5C -> Tue 15th Nov 2011 17:20:28 (GMT)
[TimeStamp] 0x4EC29F5C -> Tue 15th Nov 2011 17:20:28 (GMT) | PE Header | - |
Offset: 0x00000108 | VA: 0x00400108 | -
[TimeStamp] 0x4EC29F5B -> Tue 15th Nov 2011 17:20:27 (GMT) | Export | - |
Offset: 0x000254A4 | VA: 0x00426EA4 | -
[TimeStamp] 0x4EC29F5C -> Tue 15th Nov 2011 17:20:28 (GMT) | DebugDirectory | -
| Offset: 0x0001DA94 | VA: 0x0041F494 | -
-> File Appears to be Digitally Signed @ Offset 045200h, size : 01578h / 05496
byte(s)
[File Heuristics] -> Flag #1 : 00000100000001001101000100000100 (0x0404D104)
[Entrypoint Section Entropy] : 6.65 (section #0) ".text   " | Size : 0x1D0A2
(118946) byte(s)
[DllCharacteristics] -> Flag : (0x8140) -> ASLR | DEP | TSA
[SectionCount] 5 (0x5) | ImageSize 0x4A000 (303104) byte(s)
[Export] 100% of function(s) (1 of 1) are in file | 0 are forwarded | 1 code |
0 data | 0 uninit data | 0 unknown | 
[VersionInfo] Company Name : Dyn. Inc.
[VersionInfo] Product Name : Dyn Updater
[VersionInfo] Product Version : 4.1.10
[VersionInfo] File Description : Dyn Updater Configuration 4.1.10
[VersionInfo] File Version : 4.1.10
[VersionInfo] Original FileName : DynUpConfig.exe
[VersionInfo] Internal Name : DynUpConfig
[VersionInfo] Version Comments : Dyn Updater Configuration 4.1.10
[VersionInfo] Legal Trademarks : Dyn (sm)
[VersionInfo] Legal Copyrights : © Dynamic Network Services. Inc.
[Debug Info] (record 1 of 1) (file offset 0x1DA90)
Characteristics : 0x0 | TimeDateStamp : 0x4EC29F5C (Tue 15th Nov 2011 17:20:28
(GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0)
Type : 2 (0x2) -> CodeView | Size : 0x6C (108) 
AddressOfRawData : 0x23EEC | PointerToRawData : 0x224EC
CvSig : 0x53445352 | SigGuid 1033897C-2766-4C9C-9BA91BB30475A032
Age : 0x1 | Pdb : C:\DYN\Projects\dynupdater\windows\dynclients\Release -
Updater Dyn\DynUpConfig.pdb
[CdKeySerial] found "Test Version" @ VA: 0x00022D77 / Offset: 0x00021377
[CdKeySerial] found "Test Version" @ VA: 0x00022F43 / Offset: 0x00021543
[CompilerDetect] -> Visual C++ 10.0 (Visual Studio 2010)
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 0.432 Second(s) [0000001B0h (432) tick(s)] [503 of 577 scan(s)
done]
--- snip ---

$ wine --version
wine-1.8-rc1

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list