[Bug 17131] New: NtQueryObject needs to handle ObjectNameInformation information class (iMesh 8.0)
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(a)winehq.org ReportedBy: arethusa26(a)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.
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17131 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17131 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #1 from Juan Lang <juan_lang(a)yahoo.com> 2009-01-25 13:01:27 --- Confirming. This didn't happen for me the first time I ran the application, but did the second. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17131 --- Comment #2 from Juan Lang <juan_lang(a)yahoo.com> 2009-01-25 15:02:42 --- This may take a bit of work. I added a server request to retrieve the name of an object, but the stored name is empty in the server. The reason may be that the file name given to the server is a Unix path, so returning that to a function that expects something in the NT namespace might not be a good idea. I'll upload my patches as a starting point, but they don't actually fix the app. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17131 --- Comment #3 from Juan Lang <juan_lang(a)yahoo.com> 2009-01-25 15:03:54 --- Created an attachment (id=18993) --> (http://bugs.winehq.org/attachment.cgi?id=18993) Header file patch This patch seems safe enough, so I'll send it in independently, I'm just attaching it here for completeness' sake. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17131 --- Comment #4 from Juan Lang <juan_lang(a)yahoo.com> 2009-01-25 15:05:58 --- Created an attachment (id=18994) --> (http://bugs.winehq.org/attachment.cgi?id=18994) NtQueryObject patch After applying this patch (and the prior one), you'll need to run tools/make_requests before you can rebuild Wine. Running with this patch applied will lead to a crash in iMesh. The returned name is empty, which is probably the reason: the app expects a non-empty name to be returned for a file. Running with WINEDEBUG=+server will give you an idea what the app is up to. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17131 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> 2010-01-08 10:57:33 --- This info class is implemented with 658dae988df5427c392a021d2bed9e8219b403df, 574eace36eaf555d568216c0a01ecdbcc204f532. iMesh V9 hangs after start now, consuming 100% CPU (half for main executable, half - wineserver). Anrew, please open next bug for this app. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17131 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Jeff Zaroyko <jeffz(a)jeffz.name> 2010-01-09 04:48:07 --- Closing bugs fixed in 1.1.36. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=17131 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |574eace36eaf555d568216c0a01 | |ecdbcc204f532 URL|http://download.imesh.com/f |https://web.archive.org/web |iles/iMeshV8.exe |/20210204092057/http://dl15 | |.afterdawn.com/download/e13 | |88b763437766acae527110bdf89 | |47/601bbc4f/0-m/iMesh_8.0.0 | |.55769.zip CC| |focht(a)gmx.net -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla