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

ZMQ.connect crashes Julia #58

Closed
jchandrasekar opened this issue Jun 11, 2014 · 2 comments
Closed

ZMQ.connect crashes Julia #58

jchandrasekar opened this issue Jun 11, 2014 · 2 comments

Comments

@jchandrasekar
Copy link

Hi,

I am running the following lines of code...

julia> using ZMQ
julia> ctx=Context(1)
Context(Ptr{Void} @0x00000000055a1c10,[])
julia> s1=Socket(ctx, REP)
Socket(Ptr{Void} @0x000000001f76fa70)
julia> s2=Socket(ctx, REQ)
Socket(Ptr{Void} @0x0000000004b05590)
julia> ZMQ.bind(s1, "tcp://*:5555")
julia> ZMQ.connect(s2, "tcp://localhost:5555")

The last command ends the Julia session without any error message
(I am running Julia on Win7)

@SimonDanisch
Copy link

I can't reproduce this!

Julia Version 0.4.0-dev+6494
Commit e66175b* (2015-08-04 08:04 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

@SimonDanisch
Copy link

JK, I can reproduce it on current ZMQ master and rebuilding it:

julia> Pkg.build("ZMQ")
INFO: Building WinRPM
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/617a4f801d9c935d510cceb5d34542d323a967d1af8160e0e5eb493767303c46-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/3548cb8241708f9aac56b0d5bb9e36790dfba26ea6b56378be1829ee4848570b-primary.xml.gz
INFO: Building ZMQ
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/repomd.xml

julia> using ZMQ

julia> ctx=Context(1)
ZMQ.Context(Ptr{Void} @0x00000000176f94d0,ZMQ.Socket[])

julia> s1=Socket(ctx, REP)
ZMQ.Socket(Ptr{Void} @0x000000001c2409d0)

julia> s2=Socket(ctx, REQ)
ZMQ.Socket(Ptr{Void} @0x000000000496e0b0)

julia> ZMQ.bind(s1, "tcp://*:5555")

C:\Users\Sim\.julia\v0.4\ZMQ>

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

No branches or pull requests

3 participants