Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting WaitForExitWithTimeoutImpl when building skia with GN #3005

Closed
mattleibow opened this issue Mar 9, 2018 · 2 comments
Closed

Getting WaitForExitWithTimeoutImpl when building skia with GN #3005

mattleibow opened this issue Mar 9, 2018 · 2 comments

Comments

@mattleibow
Copy link

  • Your Windows build number: 10.0.16299.248

  • What you're doing and what's happening:
    I am busy trying to build the SkiaSharp library - and at this stage I am at the build for the native skia.a. When I run GN normally (no verbosity args) or with -q, then I this message:

[0309/044708.104294:ERROR:process_posix.cc(192)] Not implemented reached in bool (anonymous namespace)::WaitForExitWithTimeoutImpl(base::ProcessHandle, int *, base::TimeDelta)

Interestingly, if I run it normally, this line appears twice, with -q it appears only once. However, if I run it with -v, then this does not appear. Also, interesting, the build still continues just fine.

  • What's wrong / what should be happening instead:
    That line doesn't look like it should appear :)

  • Strace of the failing command, if applicable:

./bin/gn gen out/linux/x64 -q --args="is_official_build=true skia_enable_tools=false target_os=\"linux\" target_cpu=\"x64\" skia_enable_gpu=false skia_use_system_freetype2=false skia_use_icu=false skia_use_sfntly=false skia_use_piex=true skia_use_dng_sdk=true skia_use_system_expat=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false extra_cflags=[ \"-DSKIA_C_DLL\" ] extra_ldflags=[  ]"

https://gist.github.com/mattleibow/b5b85d49566feb7418d48082c6801f29

@therealkenc
Copy link
Collaborator

therealkenc commented Mar 9, 2018

That's #1353 aka #2786 aka the Rick Grimes problem. The library is trying to get the parent process id of a given process id here, but it's already died. You're correct, best evidence is it is only a soft fail.

18172 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18176, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
18173 <... read resumed> "", 256)       = 0
18172 restart_syscall(<... resuming interrupted futex ...> <unfinished ...>
18173 read(6,  <unfinished ...>
18176 +++ exited with 0 +++
18173 <... read resumed> "", 256)       = 0
18173 open("/proc/18176/stat", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

PID 18176 has no /proc entry because it is dead.

@mattleibow
Copy link
Author

Ah, thanks. So far this WSL thing has been going very well 😸 Thanks for your hard work guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants