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

assertion failure in uv_close in precompile process #28316

Closed
JeffBezanson opened this issue Jul 27, 2018 · 6 comments
Closed

assertion failure in uv_close in precompile process #28316

JeffBezanson opened this issue Jul 27, 2018 · 6 comments
Labels
io Involving the I/O subsystem: libuv, read, write, etc.

Comments

@JeffBezanson
Copy link
Member

E.g. on freebsd:

Assertion failed: (0), function uv_close, file /home/julia/ci/worker/11rel-amd64/build/deps/srccache/libuv-ed3700c849289ed01fe04273a7bf865340b2bd7e/src/unix/core.c, line 174.
signal (6): Abort trap
in expression starting at no file:0
_thr_kill at /lib/libc.so.7 (unknown line)
__raise at /lib/libc.so.7 (unknown line)
abort at /lib/libc.so.7 (unknown line)
__assert at /lib/libc.so.7 (unknown line)
uv_close at /home/julia/ci/worker/11rel-amd64/build/deps/srccache/libuv-ed3700c849289ed01fe04273a7bf865340b2bd7e/src/unix/core.c:174
close at ./stream.jl:327
uvfinalize at ./stream.jl:341
jl_apply_generic at /home/julia/ci/worker/11rel-amd64/build/src/gf.c:2165
jl_apply at /home/julia/ci/worker/11rel-amd64/build/src/./julia.h:1538 [inlined]
run_finalizer at /home/julia/ci/worker/11rel-amd64/build/src/gc.c:115
jl_gc_run_finalizers_in_list at /home/julia/ci/worker/11rel-amd64/build/src/gc.c:212
run_finalizers at /home/julia/ci/worker/11rel-amd64/build/src/gc.c:245 [inlined]
jl_gc_run_all_finalizers at /home/julia/ci/worker/11rel-amd64/build/src/gc.c:282
jl_atexit_hook at /home/julia/ci/worker/11rel-amd64/build/src/init.c:260
pthread_self@@FBSD_1.0 at /home/julia/ci/worker/11rel-amd64/build/usr/bin/julia (unknown line)
pthread_self@@FBSD_1.0 at /home/julia/ci/worker/11rel-amd64/build/usr/bin/julia (unknown line)
unknown function (ip: 0x800623fff)
Allocations: 40016397 (Pool: 40010508; Big: 5889); GC: 86
@JeffBezanson JeffBezanson added the io Involving the I/O subsystem: libuv, read, write, etc. label Jul 27, 2018
@ararslan
Copy link
Member

ararslan commented Jul 27, 2018

Interesting, I can't reproduce on FreeBSD 11.2.

@ararslan
Copy link
Member

Seems to be happening consistently on FreeBSD CI. cc @iblis17

@KristofferC
Copy link
Member

KristofferC commented Jul 28, 2018

Aargh, of course things couldn't just work...

It seems to be this assert https://github.com/libuv/libuv/blob/v1.x/src/unix/core.c#L182. Anyone has an idea why we would fall through all the cases?

@iblislin
Copy link
Member

hmm, this assertion failure happened after #28118 merged.

@KristofferC
Copy link
Member

Also happens on the linux build bot so probably not freebsd specific https://build.julialang.org/#/builders/43/builds/1847.

@KristofferC
Copy link
Member

Closed by reverting the offending PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
io Involving the I/O subsystem: libuv, read, write, etc.
Projects
None yet
Development

No branches or pull requests

4 participants