[Bug 19427] Radio Manager 1.4 (.NET 2.0 app) fails on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 1 03:54:05 CDT 2014


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

--- Comment #16 from Anastasius Focht <focht at gmx.net> ---
Hello Hans,

unfortunately not, it reports "Insufficient memory to continue the execution of
the program."

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+wbemprox,+ole,+variant wine ./Radiomanager.exe
>>log.txt 2>&1
...
002a:trace:wbemprox:enum_class_object_Next 0x1a2a50, -1, 1, 0x17d728, 0xa729f4
002a:trace:wbemprox:create_class_object L"Win32_OperatingSystem", 0x17d728 
...
002a:trace:wbemprox:class_object_GetNames 0x19c4c0, (null), 00000040,
{VT_EMPTY}, 0x33f0c4
002a:fixme:wbemprox:class_object_GetNames qualifier not supported
002a:Call oleaut32.SafeArrayCreateVector(00000008,00000000,00000001)
ret=7dde90a6
002a:trace:variant:SafeArrayCreateVector (8->VT_BSTR,0,1
002a:Call ntdll.RtlAllocateHeap(00110000,00000008,0000002c) ret=7e007fb8
002a:Ret  ntdll.RtlAllocateHeap() retval=0019c160 ret=7e007fb8
002a:Ret  oleaut32.SafeArrayCreateVector() retval=0019c170 ret=7dde90a6
002a:Call oleaut32.SysAllocString(7ddf3dc4 L"OSLanguage") ret=7dde918b
002a:trace:ole:SysAllocStringLen L"OSLanguage"
002a:Call ntdll.RtlAllocateHeap(00110000,00000000,00000020) ret=7dff60db
002a:Ret  ntdll.RtlAllocateHeap() retval=0019c208 ret=7dff60db
002a:Ret  oleaut32.SysAllocString() retval=0019c20c ret=7dde918b
002a:Call oleaut32.SafeArrayPutElement(0019c170,0033efec,0019c20c) ret=7dde91b0
002a:trace:variant:SafeArrayPutElement (0x19c170,0x33efec,0x19c20c)
002a:trace:variant:SafeArrayLock (0x19c170)
002a:trace:variant:SafeArrayPtrOfIndex (0x19c170,0x33efec,0x33ef30)
002a:trace:variant:SafeArrayUnlock (0x19c170)
002a:Ret  oleaut32.SafeArrayPutElement() retval=8002000b ret=7dde91b0
002a:Call oleaut32.SysFreeString(0019c20c L"OSLanguage") ret=7dde91c2
002a:Ret  oleaut32.SysFreeString() retval=00000000 ret=7dde91c2
002a:Call oleaut32.SafeArrayDestroy(0019c170) ret=7dde91d0
002a:trace:variant:SafeArrayDestroy (0x19c170)
002a:trace:variant:SafeArrayDestroyData (0x19c170)
002a:trace:variant:SafeArrayDestroyDescriptor (0x19c170)
002a:Call ntdll.RtlFreeHeap(00110000,00000000,0019c160) ret=7e007fe9
002a:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7e007fe9
002a:Ret  oleaut32.SafeArrayDestroy() retval=00000000 ret=7dde91d0
002a:Call oleaut32.VariantClear(0033f0f8) ret=79f28046
002a:trace:variant:VariantClear (0x33f0f8->(VT_EMPTY))
002a:Ret  oleaut32.VariantClear() retval=00000000 ret=79f28046
002a:Call msvcr80.memset(0033f0f8,00000000,00000010) ret=79f27fd5
002a:Ret  msvcr80.memset() retval=0033f0f8 ret=79f27fd5
002a:Call KERNEL32.GetLastError() ret=79e8e15b
002a:Ret  KERNEL32.GetLastError() retval=00000000 ret=79e8e15b
002a:Call KERNEL32.GetProcAddress(7dfe0000,000000c8) ret=79e9d311
002a:Ret  KERNEL32.GetProcAddress() retval=7e803fe0 ret=79e9d311
002a:Call ole32.GetErrorInfo(00000000,0033f18c) ret=79f97d03
002a:trace:ole:GetErrorInfo (0, 0x33f18c, (nil))
002a:Ret  ole32.GetErrorInfo() retval=00000001 ret=79f97d03 
...
002a:Call msvcr80._CxxThrowException(0033f104,79f9acc4) ret=79f97365
002a:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033f044)
ret=7e976949
002a:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83ac57
ip=7b83ac57 tid=002a
002a:trace:seh:raise_exception  info[0]=19930520
002a:trace:seh:raise_exception  info[1]=0033f104
002a:trace:seh:raise_exception  info[2]=79f9acc4
002a:trace:seh:raise_exception  eax=7b826c7d ebx=7b8bb000 ecx=19930520
edx=0033ef94 esi=0033f040 edi=0033f000
002a:trace:seh:raise_exception  ebp=0033efd8 esp=0033ef74 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
...
002a:Call user32.MessageBoxW(00000000,00a72df0 L"Insufficient memory to
continue the execution of the program.",790d6590 L"",00000000) ret=05471593 
--- snip ---

Managed backtrace:

--- snip ---
(29.2a): C++ EH exception - code e06d7363 (first chance)
(29.2a): CLR exception - code e0434f4d (first chance)
OS Thread Id: 0x2a (0)
ESP       EIP     
0033f178 7b83ac57 [HelperMethodFrame: 0033f178]
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32,
IntPtr)
0033f1d0 05831005
System.Management.PropertyDataCollection+PropertyDataEnumerator..ctor(System.Management.ManagementBaseObject,
Boolean)
0033f1e4 05830f58 System.Management.PropertyDataCollection.GetEnumerator()
0033f1f0 0543d1a5 Common.Translate.GetOSCultureInfo()
0033f224 053c01f4 Usr.Winforms.Program.Main()
0033f4fc 79e88f63 [GCFrame: 0033f4fc] 
--- snip ---

Winedbg:

--- snip ---
Wine-dbg>bt
Backtrace:
=>0 0x7e008256 SafeArrayPtrOfIndex(psa=0x1c5f08, rgIndices=0x33efec,
ppvData=0x33ef60)
[/home/focht/projects/wine/wine.repo/src/dlls/oleaut32/safearray.c:1198] in
oleaut32 (0x0033efb8)

  1 0x7dde91b0 get_properties+0x144(view=0x1bd1b0, flags=0x40, props=0x33f0c4)
[/home/focht/projects/wine/wine.repo/src/dlls/wbemprox/query.c:983] in wbemprox
(0x0033f008)

  2 0x7dde2fc1 class_object_GetNames+0x19f(iface=0x1bd3b8,
wszQualifierName=0x0(nil), lFlags=0x40, pQualifierVal=0x33f0f8,
pNames=0x33f0c4)
[/home/focht/projects/wine/wine.repo/src/dlls/wbemprox/class.c:489] in wbemprox
(0x0033f068)

  3 0x6a30184b in wminet_utils (+0x184a) (0x0033f084)
  4 0x054d0a64 (0x0033f158)
  5 0x05831080 (0x0033f1f4)
  6 0x0543d0b7 (0x0033f21c)
  7 0x053c01dd (0x0033f2e0)
  8 0x79e88f63 in mscorwks (+0x18f62) (0x0033f2f0)
  9 0x79e88ee4 in mscorwks (+0x18ee3) (0x0033f370)
  10 0x79e88e31 in mscorwks (+0x18e30) (0x0033f4b0)
  11 0x79e88d19 in mscorwks (+0x18d18) (0x0033f584)
  12 0x003831c0 (0x003830b8)
  13 0x00200006 (0x090200bf)

Wine-dbg>p *rgIndices 
0xb
--- snip ---

You are re-using the "all properties" column index for insertion of selected
properties into safe array.

Source:
http://source.winehq.org/git/wine.git/blob/c9abb27d89b7a531c0a873264cc0ac3eb04ff624:/dlls/wbemprox/query.c#l983

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