This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Updated: cygwin-1.7.0-54


Chris Sutcliffe wrote:
>>  Wanna try strace-ing mintty and shoving the output in a pastebin somewhere for
>> us to take a look at?
> 
> Sure think, you can find the strace here:
> 
> http://emergedesktop.org/cygwin/mintty.strace

  Interesting.  Looks like something went wrong during patch conversion maybe:

>   165  300357 [main] mintty 1652 find_exec: find_exec (/bin/bash)
>   156  300513 [main] mintty 1652 perhaps_suffix: prog '/bin/bash'
>   227  300740 [main] mintty 1652 normalize_posix_path: src /bin/bash
>   126  300866 [main] mintty 1652 normalize_posix_path: /bin/bash = normalize_posix_path (/bin/bash)
>   104  300970 [main] mintty 1652 mount_info::conv_to_win32_path: conv_to_win32_path (/bin/bash)
>   176  301146 [main] mintty 1652 set_flags: flags: binary (0x2)
>    71  301217 [main] mintty 1652 mount_info::conv_to_win32_path: src_path /bin/bash, dst C:\cygwin\bin\bash, flags 0x3000A, rc 0
>   446  301663 [main] mintty 1652 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\bin\bash)
>   153  301816 [main] mintty 1652 symlink_info::check: not a symlink
>   206  302022 [main] mintty 1652 symlink_info::check: 0 = symlink.check (C:\cygwin\bin\bash.exe, 0x22B868) (0x3000A)
>   101  302123 [main] mintty 1652 path_conv::check: this->path(C:\cygwin\bin\bash.exe), has_acls(1)
>   110  302233 [main] mintty 1652 perhaps_suffix: buf C:\cygwin\bin\bash.exe, suffix found '.exe'
>    95  302328 [main] mintty 1652 find_exec: /bin/bash = find_exec (/bin/bash)
>   121  302449 [main] mintty 1652 spawnve: spawnve ((null), bash, 6A80E0)
>   136  302585 [main] mintty 1652 spawn_guts: prog_arg is NULL
>   128  302713 [main] mintty 1652 __set_errno: int spawn_guts(const char*, const char* const*, const char* const*, int, int, int):281 val 22


... causing this error; spawnve gets passed a NULL prog_arg which it doesn't
like, and that's where the EINVAL comes from.  Haven't studied the code in this
area yet, but I will take a look.


    cheers,
      DaveK


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]