-
Notifications
You must be signed in to change notification settings - Fork 58
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
Test Error: Assertion failed: Socket operation on non-socket #147
Comments
FWIW, searching to see if it's anything recent, and that seems to not be the case: julia> Pkg.pin("ZMQ",v"0.4.2")
INFO: Creating ZMQ branch pinned.eacc2e19.tmp
INFO: No packages to install, update or remove
julia> Pkg.build("ZMQ")
INFO: Building WinRPM
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Building ZMQ
WARNING: BinDeps.shlib_ext is deprecated.
likely near C:\Users\Chris\.julia\v0.5\ZMQ\deps\build.jl:22
INFO: Updating WinRPM package list
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
julia> Pkg.test("ZMQ")
INFO: Testing ZMQ
Testing with ZMQ version 4.0.5
Assertion failed: Socket operation on non-socket (signaler.cpp:150)
=================================[ ERROR: ZMQ ]=================================
failed process: Process(`'C:\Users\Chris\AppData\Local\Julia-0.5.2\bin\julia' -Cx86-64 '-JC:\Users\Chris\AppData\Local\Julia-0.5.2\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\Chris\.julia\v0.5\ZMQ\test\runtests.jl'`, ProcessExited(1073741845)) [1073741845]
================================================================================
ERROR: ZMQ had test errors
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:748
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at .\<missing>:0
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at .\pkg\dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at .\file.jl:48
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\pkg\dir.jl:31
in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\<missing>:0
in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
in test(::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
julia> Pkg.pin("ZMQ",v"0.4.1")
INFO: Creating ZMQ branch pinned.a6fd9487.tmp
INFO: No packages to install, update or remove
julia> Pkg.build("ZMQ")
INFO: Building WinRPM
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Building ZMQ
WARNING: BinDeps.shlib_ext is deprecated.
likely near C:\Users\Chris\.julia\v0.5\ZMQ\deps\build.jl:22
INFO: Updating WinRPM package list
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
julia> Pkg.build("ZMQ")
INFO: Building WinRPM
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Building ZMQ
WARNING: BinDeps.shlib_ext is deprecated.
likely near C:\Users\Chris\.julia\v0.5\ZMQ\deps\build.jl:22
INFO: Updating WinRPM package list
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
julia> Pkg.test("ZMQ")
INFO: Testing ZMQ
Testing with ZMQ version 4.0.5
Assertion failed: Socket operation on non-socket (signaler.cpp:150)
=================================[ ERROR: ZMQ ]=================================
failed process: Process(`'C:\Users\Chris\AppData\Local\Julia-0.5.2\bin\julia' -Cx86-64 '-JC:\Users\Chris\AppData\Local\Julia-0.5.2\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\Chris\.julia\v0.5\ZMQ\test\runtests.jl'`, ProcessExited(1073741845)) [1073741845]
================================================================================
ERROR: ZMQ had test errors
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:748
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at .\<missing>:0
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at .\pkg\dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at .\file.jl:48
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\pkg\dir.jl:31
in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\<missing>:0
in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
in test(::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
julia> Pkg.pin("ZMQ",v"0.4.0")
INFO: Creating ZMQ branch pinned.8a780fbc.tmp
INFO: No packages to install, update or remove
julia> Pkg.build("ZMQ")
INFO: Building WinRPM
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Building ZMQ
WARNING: BinDeps.shlib_ext is deprecated.
likely near C:\Users\Chris\.julia\v0.5\ZMQ\deps\build.jl:24
INFO: Updating WinRPM package list
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
julia> Pkg.test("ZMQ")
INFO: Testing ZMQ
Testing with ZMQ version 4.0.5
Assertion failed: Socket operation on non-socket (signaler.cpp:150)
=================================[ ERROR: ZMQ ]=================================
failed process: Process(`'C:\Users\Chris\AppData\Local\Julia-0.5.2\bin\julia' -Cx86-64 '-JC:\Users\Chris\AppData\Local\Julia-0.5.2\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\Chris\.julia\v0.5\ZMQ\test\runtests.jl'`, ProcessExited(1073741845)) [1073741845]
================================================================================
ERROR: ZMQ had test errors
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:748
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at .\<missing>:0
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at .\pkg\dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at .\file.jl:48
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\pkg\dir.jl:31
in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\<missing>:0
in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
in test(::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
julia> Pkg.pin("ZMQ",v"0.3.4")
INFO: Creating ZMQ branch pinned.373a5692.tmp
INFO: No packages to install, update or remove
julia> Pkg.build("ZMQ")
INFO: Building WinRPM
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Building ZMQ
WARNING: BinDeps.shlib_ext is deprecated.
likely near C:\Users\Chris\.julia\v0.5\ZMQ\deps\build.jl:9
INFO: Updating WinRPM package list
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
julia> Pkg.test("ZMQ")
INFO: Testing ZMQ
Testing with ZMQ version 4.0.5
Assertion failed: Socket operation on non-socket (signaler.cpp:150)
=================================[ ERROR: ZMQ ]=================================
failed process: Process(`'C:\Users\Chris\AppData\Local\Julia-0.5.2\bin\julia' -Cx86-64 '-JC:\Users\Chris\AppData\Local\Julia-0.5.2\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\Chris\.julia\v0.5\ZMQ\test\runtests.jl'`, ProcessExited(1073741845)) [1073741845]
================================================================================
ERROR: ZMQ had test errors
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:748
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at .\<missing>:0
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at .\pkg\dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at .\file.jl:48
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\pkg\dir.jl:31
in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\<missing>:0
in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
in test(::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258 |
Running the test directly, julia> using ZMQ, Compat
julia> using Compat.String
julia>
julia> println("Testing with ZMQ version $(ZMQ.version)")
Testing with ZMQ version 4.0.5
julia>
julia> ctx=Context()
ZMQ.Context(Ptr{Void} @0x000000000b059310, ZMQ.Socket[])
julia>
julia> @assert typeof(ctx) == Context works, and then ZMQ.close(ctx) kills the REPL with Assertion failed: Socket operation on non-socket (signaler.cpp:150) |
The assertion failure is here, and is in windows-only code. |
Just in case this is a libzmq bug, can you try it with the latest version of libzmq? |
Another Windows computer for which this works has this result though: julia> Pkg.test("ZMQ")
INFO: Testing ZMQ
Testing with ZMQ version 4.0.5
INFO: ZMQ tests passed |
Does |
It immediately kills the REPL. |
The text was updated successfully, but these errors were encountered: