Skip to content

Commit

Permalink
Update libuv commit
Browse files Browse the repository at this point in the history
This includes a fix from upstream libuv that ensures that the thread
stack size is set to a multiple of the page size.

Fixes #18818
Fixes #24169
  • Loading branch information
ararslan committed Oct 18, 2017
1 parent 7e1dd6d commit c34d2f2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e2d1baa42d69dc5391e2e8bae2596eac
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
272e3cc7b1290ef19cc941c3b3e6dd39dba7dcb26f0aea8e667c48c56288aa9266020504e0cc90074f02881521b3352079416f564c7eb24ab444326a8f04ca64
2 changes: 1 addition & 1 deletion deps/libuv.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LIBUV_BRANCH=julia-uv1.9.0
LIBUV_SHA1=c5a4e584989669ad48c1728b35063291e16f85ee
LIBUV_SHA1=d8ab1c6a33e77bf155facb54215dd8798e13825d
12 changes: 12 additions & 0 deletions test/socket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -407,3 +407,15 @@ end
@test test_connect(addr)
end
end

@static if Sys.isapple()
@testset "Issues #18818 and #24169" begin
ulimit = readchomp(`ulimit -S -s`)
try
run(`ulimit -S -s 7001`)
@test success(`$(Base.julia_cmd()) --startup-file=no -e 'getaddrinfo("localhost")'`)
finally
run(`ulimit -S -s $ulimit`)
end
end
end

0 comments on commit c34d2f2

Please sign in to comment.