[Bug 45374] Yet Another Process Monitor (.NET 2.0 app) reports System.AccessViolationException ('ntdll.NtQueryObject' needs to support 'ObjectTypesInformation' info class)

WineHQ Bugzilla wine-bugs at winehq.org
Fri Feb 19 03:12:10 CST 2021


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Fixed by SHA1|                            |b6f774df695e4ba9b88a18cb1d4
                   |                            |7cdaa8b3fafee
             Status|STAGED                      |RESOLVED
         Resolution|---                         |FIXED

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

confirming, it works now.

@Zeb

--- quote ---
Should be fixed by
<https://source.winehq.org/git/wine.git/commitdiff/835f5fff7150034139919801444b52a4c0186f44>.
--- quote ---

That's a different bug report or follow problem.

The problem here was fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/b6f774df695e4ba9b88a18cb1d47cdaa8b3fafee
("server: Add a request to return all object types."), see my earlier analysis.

Thanks Alexandre

--- snip ---
$ WINEDEBUG=+seh,+relay,+ntdll,+server wine ./YAPM.exe >>log.txt 2>&1
...
015c:Call ntdll.NtQueryObject(00000000,00000003,052dd3c0,000008dc,0636f2f0)
ret=04945bb6
015c: get_object_types( )
015c: get_object_types() = 0 { count=20,
info={,{index=0,obj_count=20,handle_count=0,obj_max=20,handle_max=0,valid=001f0001,access={r=00020000,w=00020000,x=00020000,a=000f0001},name=L"Type"},{index=1,obj_count=19,handle_count=15,obj_max=19,handle_max=17,valid=000f000f,access={r=00020003,w=0002000c,x=00020003,a=000f000f},name=L"Directory"},{index=2,obj_count=78,handle_count=0,obj_max=78,handle_max=1,valid=000f0001,access={r=00020001,w=00020000,x=00020001,a=000f0001},name=L"SymbolicLink"},{index=3,obj_count=12,handle_count=42,obj_max=12,handle_max=42,valid=001f01ff,access={r=0002001a,w=000201e0,x=00020005,a=000f01ff},name=L"Token"},{index=4,obj_count=0,handle_count=0,obj_max=0,handle_max=0,valid=001f003f,access={r=00020004,w=0002000b,x=00120000,a=001f003f},name=L"Job"},{index=5,obj_count=12,handle_count=20,obj_max=12,handle_max=20,valid=001fffff,access={r=00020410,w=00020bea,x=00121001,a=001fffff},name=L"Process"},{index=6,obj_count=64,handle_count=38,obj_max=65,handle_max=39,valid=001fffff,access={r=00020048,w=00020437,x=00121800,a=001fffff},name=L"Thread"},{index=7,obj_count=0,handle_count=0,obj_max=0,handle_max=0,valid=001f000f,access={r=00020001,w=00020002,x=00120000,a=001f000f},name=L"DebugObject"},{index=8,obj_count=214,handle_count=209,obj_max=214,handle_max=209,valid=001f0003,access={r=00020001,w=00020002,x=00120000,a=001f0003},name=L"Event"},{index=9,obj_count=23,handle_count=29,obj_max=23,handle_max=29,valid=001f0001,access={r=00020001,w=00020000,x=00120000,a=001f0001},name=L"Mutant"},{index=10,obj_count=27,handle_count=28,obj_max=27,handle_max=28,valid=001f0003,access={r=00020001,w=00020002,x=00120000,a=001f0003},name=L"Semaphore"},{index=11,obj_count=0,handle_count=0,obj_max=0,handle_max=0,valid=001f0003,access={r=00020001,w=00020002,x=00120000,a=001f0003},name=L"Timer"},{index=12,obj_count=13,handle_count=12,obj_max=13,handle_max=12,valid=001f0003,access={r=00020001,w=00020002,x=00020000,a=000f0003},name=L"KeyedEvent"},{index=13,obj_count=2,handle_count=8,obj_max=2,handle_max=9,valid=000f037f,access={r=00020303,w=0002001c,x=00020060,a=000f037f},name=L"WindowStation"},{index=14,obj_count=2,handle_count=8,obj_max=2,handle_max=9,valid=000f01ff,access={r=00020041,w=000200be,x=00020100,a=000f01ff},name=L"Desktop"},{index=15,obj_count=65,handle_count=2,obj_max=65,handle_max=2,valid=001f01ff,access={r=00120089,w=00120116,x=001200a0,a=001f01ff},name=L"Device"},{index=16,obj_count=1,handle_count=1,obj_max=1,handle_max=1,valid=001f0003,access={r=00020001,w=00020002,x=00120000,a=001f0003},name=L"IoCompletion"},{index=17,obj_count=75,handle_count=82,obj_max=80,handle_max=87,valid=001f01ff,access={r=00120089,w=00120116,x=001200a0,a=001f01ff},name=L"File"},{index=18,obj_count=17,handle_count=9,obj_max=20,handle_max=12,valid=001f001f,access={r=00020005,w=00020002,x=00020008,a=000f001f},name=L"Section"},{index=19,obj_count=32252,handle_count=180,obj_max=32252,handle_max=183,valid=001f003f,access={r=00020019,w=00020006,x=00020039,a=000f003f},name=L"Key"}}
}
015c:Ret  ntdll.NtQueryObject() retval=00000000 ret=04945bb6
015c:Call KERNEL32.GetLastError() ret=79e7badc
015c:Ret  KERNEL32.GetLastError() retval=00000000 ret=79e7badc 
...
--- snip ---

$ wine --version
wine-6.2-157-gb8719736c5a

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