最新のMSYS32をWindows 2000で動かす実験 その1
C:\msys32\usr\bin>ls 13 [main] ls 1512 C:\msys32\usr\bin\ls.exe: *** fatal error - couldn't crea te signal pipe, Win32 error 87 Stack trace: Frame Function Args 0022F8F8 77F8806C (61074FC0, 61000000, 00000001, 0022FD30) 0022F97C 77F8568B (0022FD30, 7FFDF000, 7FFDE000, 00000000) 0022FC98 77F8449A (0022FD30, 00000000, 0022FCFC, 0022FD30) 0022FD1C 77F83A01 (0022FD30, 77F80000, 00000000, 00010017) End of stack trace C:\msys32\usr\bin>dash |
頑張ってVista の関数を実装して実行できるようにしてみた。
結果は 『couldn't create signal pipe』
mov [esp+10h],ebp mov dword ptr [esp+0Ch],SSZ61201738_name__s__size__u__mode__s mov dword ptr [esp+08h],SSZ612019C0_static_DWORD_fhandler_pipe__crea mov dword ptr [esp+04h],00000040h mov [esp+18h],eax mov dword ptr [esp],L611DA6C8 call SUB_L610EC340 L610B22C7: mov eax,[esp+00000170h] mov dword ptr [esp+18h],00000000h mov [esp+14h],ebx mov [esp+10h],ebx mov dword ptr [esp+0Ch],00000001h mov [esp],ebp mov [esp+1Ch],eax mov eax,[esp+28h] mov [esp+08h],eax mov eax,[esp+2Ch] mov [esp+04h],eax call jmp_KERNEL32.dll!CreateNamedPipeA sub esp,00000020h cmp eax,FFFFFFFFh mov [esi],eax jnz L610B25B3 call jmp_KERNEL32.dll!GetLastError |
死因は CreateNamedPipeAの失敗
パラメータは
("\\.\pipe\msys-xxxxxxxxxxxxx",0x80001,4,1,0x1524,0x1524,0,0x22c2a0)
原因は何だろう・ω・
Comments