pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


Crash in parse_getattr() with line numbers
Posted by Anonymous on Wed 1st Nov 2023 21:42
raw | new post

  1. 1694: handle_getattr: Invalid session pointer 0xdddddddddddddddd
  2. 2298: handle_getattr: Invalid session pointer 0xdddddddddddddddd
  3. 1588: handle_getattr: Invalid session pointer 0xdddddddddddddddd
  4. 1fdc: ASSERTION 'state != NULL' in 'C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\daemon\open.c'/115 failed.
  5. (1698.1fdc): Access violation - code c0000005 (first chance)
  6. First chance exceptions are reported before any exception handling.
  7. This exception may be expected and handled.
  8. nfsd!parse_getattr+0xfc:
  9. 00007ff6`9ee6402c 0fb78900050000  movzx   ecx,word ptr [rcx+500h] ds:00000000`00000500=????
  10. 0:015> kp
  11. Child-SP          RetAddr           Call Site
  12. 00000013`3abfda00 00007ff6`9eeadbc8 nfsd!parse_getattr(unsigned char * buffer = 0x00000013`3abfdda8 "", unsigned int length = 0, struct __nfs41_upcall * upcall = 0x00000013`3abfee00)+0xfc
  13. 00000013`3abfdb50 00007ff6`9ee7d484 nfsd!upcall_parse(unsigned char * buffer = 0x00000013`3abfdda0 "???", unsigned int length = 8, struct __nfs41_upcall * upcall = 0x00000013`3abfee00)+0x358
  14. 00000013`3abfdcd0 00007ffe`73d34c7c nfsd!thread_main(void * args = 0x00007ff6`9eee6090)+0x144
  15. 00000013`3abffa20 00007ffe`9d927344 ucrtbased!thread_start<unsigned int (void * parameter = 0x00000170`62652020)+0x9c
  16. 00000013`3abffa80 00007ffe`9efc26b1 KERNEL32!BaseThreadInitThunk+0x14
  17. 00000013`3abffab0 00000000`00000000 ntdll!RtlUserThreadStart+0x21
  18. 0:015> dv
  19.          buffer = 0x00000013`3abfdda8 ""
  20.          length = 0
  21.          upcall = 0x00000013`3abfee00
  22.            args = 0x00000013`3abfee18
  23.          status = 0n0
  24. 0:015> dt
  25. 0:015> l+s
  26.   WARNING: Line information loading disabled
  27. Source options are 4:
  28.      4/s - List source code at prompt
  29. 0:015> 4/s
  30.        ^ Syntax error in '4/s'
  31. 0:015> .lines -e
  32. Line number information will be loaded
  33. 0:015> l+s
  34. Source options are 4:
  35.      4/s - List source code at prompt
  36. 0:015> kp
  37. Child-SP          RetAddr           Call Site
  38. 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
  39. ing\ms-nfs41-client\daemon\getattr.c @ 75]
  40. 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
  41. apping\ms-nfs41-client\daemon\upcall.c @ 125]
  42. 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]
  43. 00000013`3abffa20 00007ffe`9d927344 ucrtbased!thread_start<unsigned int (void * parameter = 0x00000170`62652020)+0x9c [minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 97]
  44. 00000013`3abffa80 00007ffe`9efc26b1 KERNEL32!BaseThreadInitThunk+0x14
  45. 00000013`3abffab0 00000000`00000000 ntdll!RtlUserThreadStart+0x21
  46. 0:015> dt -r args
  47. Local var @ 0x133abfda58 Type __getattr_upcall_args*
  48. 0x00000013`3abfee18
  49.    +0x000 basic_info       : _FILE_BASIC_INFO
  50.       +0x000 CreationTime     : _LARGE_INTEGER 0x0
  51.          +0x000 LowPart          : 0
  52.          +0x004 HighPart         : 0n0
  53.          +0x000 u                : <unnamed-tag>
  54.          +0x000 QuadPart         : 0n0
  55.       +0x008 LastAccessTime   : _LARGE_INTEGER 0x0
  56.          +0x000 LowPart          : 0
  57.          +0x004 HighPart         : 0n0
  58.          +0x000 u                : <unnamed-tag>
  59.          +0x000 QuadPart         : 0n0
  60.       +0x010 LastWriteTime    : _LARGE_INTEGER 0x0
  61.          +0x000 LowPart          : 0
  62.          +0x004 HighPart         : 0n0
  63.          +0x000 u                : <unnamed-tag>
  64.          +0x000 QuadPart         : 0n0
  65.       +0x018 ChangeTime       : _LARGE_INTEGER 0x0
  66.          +0x000 LowPart          : 0
  67.          +0x004 HighPart         : 0n0
  68.          +0x000 u                : <unnamed-tag>
  69.          +0x000 QuadPart         : 0n0
  70.       +0x020 FileAttributes   : 0
  71.    +0x028 std_info         : _FILE_STANDARD_INFO
  72.       +0x000 AllocationSize   : _LARGE_INTEGER 0x0
  73.          +0x000 LowPart          : 0
  74.          +0x004 HighPart         : 0n0
  75.          +0x000 u                : <unnamed-tag>
  76.          +0x000 QuadPart         : 0n0
  77.       +0x008 EndOfFile        : _LARGE_INTEGER 0x0
  78.          +0x000 LowPart          : 0
  79.          +0x004 HighPart         : 0n0
  80.          +0x000 u                : <unnamed-tag>
  81.          +0x000 QuadPart         : 0n0
  82.       +0x010 NumberOfLinks    : 0
  83.       +0x014 DeletePending    : 0 ''
  84.       +0x015 Directory        : 0 ''
  85.    +0x040 tag_info         : _FILE_ATTRIBUTE_TAG_INFO
  86.       +0x000 FileAttributes   : 0
  87.       +0x004 ReparseTag       : 0
  88.    +0x048 intr_info        : _FILE_INTERNAL_INFORMATION
  89.       +0x000 IndexNumber      : _LARGE_INTEGER 0x0
  90.          +0x000 LowPart          : 0
  91.          +0x004 HighPart         : 0n0
  92.          +0x000 u                : <unnamed-tag>
  93.          +0x000 QuadPart         : 0n0
  94.    +0x050 network_info     : _FILE_NETWORK_OPEN_INFORMATION
  95.       +0x000 CreationTime     : _LARGE_INTEGER 0x0
  96.          +0x000 LowPart          : 0
  97.          +0x004 HighPart         : 0n0
  98.          +0x000 u                : <unnamed-tag>
  99.          +0x000 QuadPart         : 0n0
  100.       +0x008 LastAccessTime   : _LARGE_INTEGER 0x0
  101.          +0x000 LowPart          : 0
  102.          +0x004 HighPart         : 0n0
  103.          +0x000 u                : <unnamed-tag>
  104.          +0x000 QuadPart         : 0n0
  105.       +0x010 LastWriteTime    : _LARGE_INTEGER 0x0
  106.          +0x000 LowPart          : 0
  107.          +0x004 HighPart         : 0n0
  108.          +0x000 u                : <unnamed-tag>
  109.          +0x000 QuadPart         : 0n0
  110.       +0x018 ChangeTime       : _LARGE_INTEGER 0x0
  111.          +0x000 LowPart          : 0
  112.          +0x004 HighPart         : 0n0
  113.          +0x000 u                : <unnamed-tag>
  114.          +0x000 QuadPart         : 0n0
  115.       +0x020 AllocationSize   : _LARGE_INTEGER 0x0
  116.          +0x000 LowPart          : 0
  117.          +0x004 HighPart         : 0n0
  118.          +0x000 u                : <unnamed-tag>
  119.          +0x000 QuadPart         : 0n0
  120.       +0x028 EndOfFile        : _LARGE_INTEGER 0x0
  121.          +0x000 LowPart          : 0
  122.          +0x004 HighPart         : 0n0
  123.          +0x000 u                : <unnamed-tag>
  124.          +0x000 QuadPart         : 0n0
  125.       +0x030 FileAttributes   : 0
  126.    +0x088 query_class      : 0n4
  127.    +0x08c buf_len          : 0n40
  128.    +0x090 query_reply_len  : 0n0
  129.    +0x098 ctime            : 0
  130. 0:015> dt -r upcall
  131. Local var @ 0x133abfdb60 Type __nfs41_upcall*
  132. 0x00000013`3abfee00
  133.    +0x000 xid              : 0x6668399
  134.    +0x008 opcode           : 9
  135.    +0x00c status           : 0
  136.    +0x010 last_error       : 0
  137.    +0x018 args             : __upcall_args
  138.       +0x000 mount            : __mount_upcall_args
  139.          +0x000 hostport         : (null)
  140.          +0x008 path             : (null)
  141.          +0x010 sec_flavor       : 0
  142.          +0x014 rsize            : 0
  143.          +0x018 wsize            : 0
  144.          +0x01c lease_time       : 0
  145.          +0x020 FsAttrs          : _FILE_FS_ATTRIBUTE_INFORMATION
  146.       +0x000 open             : __open_upcall_args
  147.          +0x000 symlink          : __nfs41_abs_path
  148.          +0x510 basic_info       : _FILE_BASIC_INFO
  149.          +0x538 std_info         : _FILE_STANDARD_INFO
  150.          +0x550 path             : (null)
  151.          +0x558 access_mask      : 0
  152.          +0x55c access_mode      : 0
  153.          +0x560 file_attrs       : 0
  154.          +0x564 disposition      : 0
  155.          +0x568 create_opts      : 0
  156.          +0x56c open_owner_id    : 0n0
  157.          +0x570 mode             : 0
  158.          +0x574 owner_local_uid  : 0
  159.          +0x578 owner_group_local_gid : 0
  160.          +0x580 changeattr       : 0
  161.          +0x588 srv_open         : (null)
  162.          +0x590 deleg_type       : 0
  163.          +0x598 ea               : (null)
  164.          +0x5a0 created          : 0 ''
  165.          +0x5a1 symlink_embedded : 0 ''
  166.       +0x000 close            : __close_upcall_args
  167.          +0x000 srv_open         : (null)
  168.          +0x008 path             : (null)
  169.          +0x010 remove           : 0 ''
  170.          +0x011 renamed          : 0 ''
  171.       +0x000 rw               : __readwrite_upcall_args
  172.          +0x000 buffer           : (null)
  173.          +0x008 offset           : 0
  174.          +0x010 len              : 0
  175.          +0x014 out_len          : 0
  176.          +0x018 ctime            : 0
  177.       +0x000 lock             : __lock_upcall_args
  178.          +0x000 offset           : 0
  179.          +0x008 length           : 0
  180.          +0x010 exclusive        : 0 ''
  181.          +0x011 blocking         : 0 ''
  182.          +0x012 acquired         : 0 ''
  183.       +0x000 unlock           : __unlock_upcall_args
  184.          +0x000 count            : 0
  185.          +0x008 buf              : (null)
  186.          +0x010 buf_len          : 0
  187.       +0x000 getattr          : __getattr_upcall_args
  188.          +0x000 basic_info       : _FILE_BASIC_INFO
  189.          +0x028 std_info         : _FILE_STANDARD_INFO
  190.          +0x040 tag_info         : _FILE_ATTRIBUTE_TAG_INFO
  191.          +0x048 intr_info        : _FILE_INTERNAL_INFORMATION
  192.          +0x050 network_info     : _FILE_NETWORK_OPEN_INFORMATION
  193.          +0x088 query_class      : 0n4
  194.          +0x08c buf_len          : 0n40
  195.          +0x090 query_reply_len  : 0n0
  196.          +0x098 ctime            : 0
  197.       +0x000 getexattr        : __getexattr_upcall_args
  198.          +0x000 path             : (null)
  199.          +0x008 buf              : (null)
  200.          +0x010 buf_len          : 0
  201.          +0x014 eaindex          : 0
  202.          +0x018 ealist           : (null)
  203.          +0x020 ealist_len       : 0
  204.          +0x024 overflow         : 0
  205.          +0x028 single           : 0 ''
  206.          +0x029 restart          : 0 ''
  207.       +0x000 setattr          : __setattr_upcall_args
  208.          +0x000 path             : (null)
  209.          +0x008 root             : (null)
  210.          +0x010 state            : (null)
  211.          +0x018 buf              : (null)
  212.          +0x020 buf_len          : 0
  213.          +0x024 set_class        : 0n0
  214.          +0x028 ctime            : 0
  215.       +0x000 setexattr        : __setexattr_upcall_args
  216.          +0x000 path             : (null)
  217.          +0x008 buf              : (null)
  218.          +0x010 buf_len          : 0
  219.          +0x014 mode             : 0
  220.          +0x018 ctime            : 0
  221.       +0x000 readdir          : __readdir_upcall_args
  222.          +0x000 filter           : (null)
  223.          +0x008 root             : (null)
  224.          +0x010 state            : (null)
  225.          +0x018 buf_len          : 0n0
  226.          +0x01c query_class      : 0n0
  227.          +0x020 query_reply_len  : 0n0
  228.          +0x024 initial          : 0 ''
  229.          +0x025 restart          : 0 ''
  230.          +0x026 single           : 0 ''
  231.          +0x028 kbuf             : (null)
  232.       +0x000 symlink          : __symlink_upcall_args
  233.          +0x000 target_get       : __nfs41_abs_path
  234.          +0x510 target_set       : (null)
  235.          +0x518 path             : (null)
  236.          +0x520 set              : 0 ''
  237.       +0x000 volume           : __volume_upcall_args
  238.          +0x000 query            : 0 (No matching name)
  239.          +0x004 len              : 0n0
  240.          +0x008 info             : <unnamed-tag>
  241.       +0x000 getacl           : __getacl_upcall_args
  242.          +0x000 query            : 0
  243.          +0x008 sec_desc         : (null)
  244.          +0x010 sec_desc_len     : 0
  245.       +0x000 setacl           : __setacl_upcall_args
  246.          +0x000 query            : 0
  247.          +0x008 sec_desc         : (null)
  248.          +0x010 ctime            : 0
  249.    +0x5c0 uid              : 0
  250.    +0x5c4 gid              : 0
  251.    +0x5c8 root_ref         : 0x00000170`6268d510 __nfs41_root
  252.       +0x000 client_owner     : __client_owner4
  253.          +0x000 co_verifier      : [8]  "x???"
  254.          +0x008 co_ownerid_len   : 0x10
  255.          +0x00c co_ownerid       : [1024]  "V???"
  256.       +0x410 lock             : _RTL_CRITICAL_SECTION
  257.          +0x000 DebugInfo        : 0x00000170`62627c40 _RTL_CRITICAL_SECTION_DEBUG
  258.          +0x008 LockCount        : 0n-1
  259.          +0x00c RecursionCount   : 0n0
  260.          +0x010 OwningThread     : (null)
  261.          +0x018 LockSemaphore    : 0xffffffff`ffffffff Void
  262.          +0x020 SpinCount        : 0x20007d0
  263.       +0x438 clients          : list_entry
  264.          +0x000 prev             : 0x00000170`626991c0 list_entry
  265.          +0x008 next             : 0x00000170`626991c0 list_entry
  266.       +0x448 wsize            : 0x10042c
  267.       +0x44c rsize            : 0x100200
  268.       +0x450 ref_count        : 0n5
  269.       +0x454 uid              : 0x303e8
  270.       +0x458 gid              : 0x30201
  271.       +0x45c sec_flavor       : 0
  272.    +0x5d0 state_ref        : (null)

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at