http://bugs.winehq.org/show_bug.cgi?id=17131
Summary: NtQueryObject needs to handle ObjectNameInformation information class (iMesh 8.0) Product: Wine Version: 1.1.13 Platform: PC URL: http://download.imesh.com/files/iMeshV8.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com
With today's Git (wine-1.1.13-272-gf63d950), after installing iMesh 8.0 and starting the application, within a couple of seconds an out of memory dialog appears. From relay trace:
0009:Call ntdll.ZwQueryObject(00000234,00000001,03cc7cf8,00000104,0032f7d8) ret=0044ce21 0009:fixme:ntdll:NtQueryObject Unsupported information class 1 0009:Ret ntdll.ZwQueryObject() retval=c0000002 ret=0044ce21 0009:Call KERNEL32.TlsGetValue(00000005) ret=00c3a9c9 0009:Ret KERNEL32.TlsGetValue() retval=00000000 ret=00c3a9c9 0009:Call ntdll.ZwQueryObject(00000234,00000001,03cc7ae8,00000208,0032f7d8) ret=0044ce21 0009:fixme:ntdll:NtQueryObject Unsupported information class 1 0009:Ret ntdll.ZwQueryObject() retval=c0000002 ret=0044ce21
From checking the OBJECT_INFORMATION_CLASS enumeration, iMesh is trying to
query the ObjectNameInformation class for a handle. iMesh attempts to iteratively double the size of its output buffer to allocate a sufficiently sized buffer for the NtQueryObject call. Since Wine does not at present handle the ObjectNameInformation class, NtQueryObject will never succeed and iMesh erroneously continues allocating until it incurs an out of memory condition.