- 1694: handle_getattr: Invalid session pointer 0xdddddddddddddddd
- 2298: handle_getattr: Invalid session pointer 0xdddddddddddddddd
- 1588: handle_getattr: Invalid session pointer 0xdddddddddddddddd
- 1fdc: ASSERTION 'state != NULL' in 'C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\daemon\open.c'/115 failed.
- (1698.1fdc): Access violation - code c0000005 (first chance)
- First chance exceptions are reported before any exception handling.
- This exception may be expected and handled.
- nfsd!parse_getattr+0xfc:
- 00007ff6`9ee6402c 0fb78900050000 movzx ecx,word ptr [rcx+500h] ds:00000000`00000500=????
- 0:015> kp
- Child-SP RetAddr Call Site
- 00000013`3abfda00 00007ff6`9eeadbc8 nfsd!parse_getattr(unsigned char * buffer = 0x00000013`3abfdda8 "", unsigned int length = 0, struct __nfs41_upcall * upcall = 0x00000013`3abfee00)+0xfc
- 00000013`3abfdb50 00007ff6`9ee7d484 nfsd!upcall_parse(unsigned char * buffer = 0x00000013`3abfdda0 "???", unsigned int length = 8, struct __nfs41_upcall * upcall = 0x00000013`3abfee00)+0x358
- 00000013`3abfdcd0 00007ffe`73d34c7c nfsd!thread_main(void * args = 0x00007ff6`9eee6090)+0x144
- 00000013`3abffa20 00007ffe`9d927344 ucrtbased!thread_start<unsigned int (void * parameter = 0x00000170`62652020)+0x9c
- 00000013`3abffa80 00007ffe`9efc26b1 KERNEL32!BaseThreadInitThunk+0x14
- 00000013`3abffab0 00000000`00000000 ntdll!RtlUserThreadStart+0x21
- 0:015> dv
- buffer = 0x00000013`3abfdda8 ""
- length = 0
- upcall = 0x00000013`3abfee00
- args = 0x00000013`3abfee18
- status = 0n0
- 0:015> dt
- 0:015> l+s
- WARNING: Line information loading disabled
- Source options are 4:
- 4/s - List source code at prompt
- 0:015> 4/s
- ^ Syntax error in '4/s'
- 0:015> .lines -e
- Line number information will be loaded
- 0:015> l+s
- Source options are 4:
- 4/s - List source code at prompt
- 0:015> kp
- Child-SP RetAddr Call Site
- 00000013`3abfda00 00007ff6`9eeadbc8 nfsd!parse_getattr(unsigned char * buffer = 0x00000013`3abfdda8 "", unsigned int length = 0, struct __nfs41_upcall * upcall = 0x00000013`3abfee00)+0xfc [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapp
- ing\ms-nfs41-client\daemon\getattr.c @ 75]
- 00000013`3abfdb50 00007ff6`9ee7d484 nfsd!upcall_parse(unsigned char * buffer = 0x00000013`3abfdda0 "???", unsigned int length = 8, struct __nfs41_upcall * upcall = 0x00000013`3abfee00)+0x358 [C:\cygwin64\home\roland_mainz\work\msnfs41_uidm
- apping\ms-nfs41-client\daemon\upcall.c @ 125]
- 00000013`3abfdcd0 00007ffe`73d34c7c nfsd!thread_main(void * args = 0x00007ff6`9eee6090)+0x144 [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\daemon\nfs41_daemon.c @ 112]
- 00000013`3abffa20 00007ffe`9d927344 ucrtbased!thread_start<unsigned int (void * parameter = 0x00000170`62652020)+0x9c [minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 97]
- 00000013`3abffa80 00007ffe`9efc26b1 KERNEL32!BaseThreadInitThunk+0x14
- 00000013`3abffab0 00000000`00000000 ntdll!RtlUserThreadStart+0x21
- 0:015> dt -r args
- Local var @ 0x133abfda58 Type __getattr_upcall_args*
- 0x00000013`3abfee18
- +0x000 basic_info : _FILE_BASIC_INFO
- +0x000 CreationTime : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x008 LastAccessTime : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x010 LastWriteTime : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x018 ChangeTime : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x020 FileAttributes : 0
- +0x028 std_info : _FILE_STANDARD_INFO
- +0x000 AllocationSize : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x008 EndOfFile : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x010 NumberOfLinks : 0
- +0x014 DeletePending : 0 ''
- +0x015 Directory : 0 ''
- +0x040 tag_info : _FILE_ATTRIBUTE_TAG_INFO
- +0x000 FileAttributes : 0
- +0x004 ReparseTag : 0
- +0x048 intr_info : _FILE_INTERNAL_INFORMATION
- +0x000 IndexNumber : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x050 network_info : _FILE_NETWORK_OPEN_INFORMATION
- +0x000 CreationTime : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x008 LastAccessTime : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x010 LastWriteTime : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x018 ChangeTime : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x020 AllocationSize : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x028 EndOfFile : _LARGE_INTEGER 0x0
- +0x000 LowPart : 0
- +0x004 HighPart : 0n0
- +0x000 u : <unnamed-tag>
- +0x000 QuadPart : 0n0
- +0x030 FileAttributes : 0
- +0x088 query_class : 0n4
- +0x08c buf_len : 0n40
- +0x090 query_reply_len : 0n0
- +0x098 ctime : 0
- 0:015> dt -r upcall
- Local var @ 0x133abfdb60 Type __nfs41_upcall*
- 0x00000013`3abfee00
- +0x000 xid : 0x6668399
- +0x008 opcode : 9
- +0x00c status : 0
- +0x010 last_error : 0
- +0x018 args : __upcall_args
- +0x000 mount : __mount_upcall_args
- +0x000 hostport : (null)
- +0x008 path : (null)
- +0x010 sec_flavor : 0
- +0x014 rsize : 0
- +0x018 wsize : 0
- +0x01c lease_time : 0
- +0x020 FsAttrs : _FILE_FS_ATTRIBUTE_INFORMATION
- +0x000 open : __open_upcall_args
- +0x000 symlink : __nfs41_abs_path
- +0x510 basic_info : _FILE_BASIC_INFO
- +0x538 std_info : _FILE_STANDARD_INFO
- +0x550 path : (null)
- +0x558 access_mask : 0
- +0x55c access_mode : 0
- +0x560 file_attrs : 0
- +0x564 disposition : 0
- +0x568 create_opts : 0
- +0x56c open_owner_id : 0n0
- +0x570 mode : 0
- +0x574 owner_local_uid : 0
- +0x578 owner_group_local_gid : 0
- +0x580 changeattr : 0
- +0x588 srv_open : (null)
- +0x590 deleg_type : 0
- +0x598 ea : (null)
- +0x5a0 created : 0 ''
- +0x5a1 symlink_embedded : 0 ''
- +0x000 close : __close_upcall_args
- +0x000 srv_open : (null)
- +0x008 path : (null)
- +0x010 remove : 0 ''
- +0x011 renamed : 0 ''
- +0x000 rw : __readwrite_upcall_args
- +0x000 buffer : (null)
- +0x008 offset : 0
- +0x010 len : 0
- +0x014 out_len : 0
- +0x018 ctime : 0
- +0x000 lock : __lock_upcall_args
- +0x000 offset : 0
- +0x008 length : 0
- +0x010 exclusive : 0 ''
- +0x011 blocking : 0 ''
- +0x012 acquired : 0 ''
- +0x000 unlock : __unlock_upcall_args
- +0x000 count : 0
- +0x008 buf : (null)
- +0x010 buf_len : 0
- +0x000 getattr : __getattr_upcall_args
- +0x000 basic_info : _FILE_BASIC_INFO
- +0x028 std_info : _FILE_STANDARD_INFO
- +0x040 tag_info : _FILE_ATTRIBUTE_TAG_INFO
- +0x048 intr_info : _FILE_INTERNAL_INFORMATION
- +0x050 network_info : _FILE_NETWORK_OPEN_INFORMATION
- +0x088 query_class : 0n4
- +0x08c buf_len : 0n40
- +0x090 query_reply_len : 0n0
- +0x098 ctime : 0
- +0x000 getexattr : __getexattr_upcall_args
- +0x000 path : (null)
- +0x008 buf : (null)
- +0x010 buf_len : 0
- +0x014 eaindex : 0
- +0x018 ealist : (null)
- +0x020 ealist_len : 0
- +0x024 overflow : 0
- +0x028 single : 0 ''
- +0x029 restart : 0 ''
- +0x000 setattr : __setattr_upcall_args
- +0x000 path : (null)
- +0x008 root : (null)
- +0x010 state : (null)
- +0x018 buf : (null)
- +0x020 buf_len : 0
- +0x024 set_class : 0n0
- +0x028 ctime : 0
- +0x000 setexattr : __setexattr_upcall_args
- +0x000 path : (null)
- +0x008 buf : (null)
- +0x010 buf_len : 0
- +0x014 mode : 0
- +0x018 ctime : 0
- +0x000 readdir : __readdir_upcall_args
- +0x000 filter : (null)
- +0x008 root : (null)
- +0x010 state : (null)
- +0x018 buf_len : 0n0
- +0x01c query_class : 0n0
- +0x020 query_reply_len : 0n0
- +0x024 initial : 0 ''
- +0x025 restart : 0 ''
- +0x026 single : 0 ''
- +0x028 kbuf : (null)
- +0x000 symlink : __symlink_upcall_args
- +0x000 target_get : __nfs41_abs_path
- +0x510 target_set : (null)
- +0x518 path : (null)
- +0x520 set : 0 ''
- +0x000 volume : __volume_upcall_args
- +0x000 query : 0 (No matching name)
- +0x004 len : 0n0
- +0x008 info : <unnamed-tag>
- +0x000 getacl : __getacl_upcall_args
- +0x000 query : 0
- +0x008 sec_desc : (null)
- +0x010 sec_desc_len : 0
- +0x000 setacl : __setacl_upcall_args
- +0x000 query : 0
- +0x008 sec_desc : (null)
- +0x010 ctime : 0
- +0x5c0 uid : 0
- +0x5c4 gid : 0
- +0x5c8 root_ref : 0x00000170`6268d510 __nfs41_root
- +0x000 client_owner : __client_owner4
- +0x000 co_verifier : [8] "x???"
- +0x008 co_ownerid_len : 0x10
- +0x00c co_ownerid : [1024] "V???"
- +0x410 lock : _RTL_CRITICAL_SECTION
- +0x000 DebugInfo : 0x00000170`62627c40 _RTL_CRITICAL_SECTION_DEBUG
- +0x008 LockCount : 0n-1
- +0x00c RecursionCount : 0n0
- +0x010 OwningThread : (null)
- +0x018 LockSemaphore : 0xffffffff`ffffffff Void
- +0x020 SpinCount : 0x20007d0
- +0x438 clients : list_entry
- +0x000 prev : 0x00000170`626991c0 list_entry
- +0x008 next : 0x00000170`626991c0 list_entry
- +0x448 wsize : 0x10042c
- +0x44c rsize : 0x100200
- +0x450 ref_count : 0n5
- +0x454 uid : 0x303e8
- +0x458 gid : 0x30201
- +0x45c sec_flavor : 0
- +0x5d0 state_ref : (null)
Crash in parse_getattr() with line numbers
Posted by Anonymous on Wed 1st Nov 2023 21:42
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.