On 12/4/2019 2:26 PM, Wilfed Olaf Sulla via cygwin wrote:
>    692   83364 [main] ls 15015 normalize_posix_path: src Z:\
>     35   83399 [main] ls 15015 normalize_win32_path: Z:\ = 
> normalize_win32_path (Z:\)
>     24   83423 [main] ls 15015 mount_info::conv_to_win32_path: 
> conv_to_win32_path (Z:)
>     24   83447 [main] ls 15015 mount_info::conv_to_win32_path: src_path Z:, 
> dst Z:, flags 0x0, rc 0
>   6738   90185 [main] ls 15015 symlink_info::check: 0xC0000034 = NtCreateFile 
> (\??\Z:\)
>    214   90399 [main] ls 15015 __assert_func: assertion "p >= path" failed:

I don't have time to check this carefully at the moment, but it looks like 
what's happening is the following:

path_conv::check is called on 'Z:\'.  It strips the trailing backslash and 
calls 
mount_info::conv_to_win32_path on 'Z:'.  NtCreateFile fails with 
STATUS_OBJECT_NAME_NOT_FOUND, which triggers the code containing the assertion. 
The assertion fails because 'Z:' doesn't contain a backslash.

I'll have time tomorrow to think about how to best fix this, if Corinna doesn't 
get to it first.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to