{"action":"closed","issue":{"url":"https://api.github.com/repos/erickt/rust-zmq/issues/69","labels_url":"https://api.github.com/repos/erickt/rust-zmq/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/erickt/rust-zmq/issues/69/comments","events_url":"https://api.github.com/repos/erickt/rust-zmq/issues/69/events","html_url":"https://github.com/erickt/rust-zmq/issues/69","id":88067659,"number":69,"title":"Incompatibility with zmq 4.x","user":{"login":"birkenfeld","id":144359,"avatar_url":"https://avatars.githubusercontent.com/u/144359?v=3","gravatar_id":"","url":"https://api.github.com/users/birkenfeld","html_url":"https://github.com/birkenfeld","followers_url":"https://api.github.com/users/birkenfeld/followers","following_url":"https://api.github.com/users/birkenfeld/following{/other_user}","gists_url":"https://api.github.com/users/birkenfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/birkenfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birkenfeld/subscriptions","organizations_url":"https://api.github.com/users/birkenfeld/orgs","repos_url":"https://api.github.com/users/birkenfeld/repos","events_url":"https://api.github.com/users/birkenfeld/events{/privacy}","received_events_url":"https://api.github.com/users/birkenfeld/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-13T21:21:08Z","updated_at":"2015-06-26T03:28:20Z","closed_at":"2015-06-26T03:28:20Z","body":"The readme doesn't state the required libzmq version, so I was trying with 4.1.1. This appears to be binary incompatible with 3.x.\r\n\r\nrunning helloworld_server example:\r\n```\r\nthread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Bad address', /var/tmp/portage/dev-lang/rust-999/work/rustc-nightly/src/libcore/result.rs:731\r\nstack backtrace:\r\n   1:     0x7f0d24732b53 - sys::backtrace::write::hcf068903b51cfe2bkds\r\n   2:     0x7f0d24735df1 - panicking::on_panic::h417cbf9fca890635fWw\r\n   3:     0x7f0d2472e8ea - rt::unwind::begin_unwind_inner::haa3e65fd351aaf75ZBw\r\n   4:     0x7f0d2472ec07 - rt::unwind::begin_unwind_fmt::h6eccac85ccefdd175Aw\r\n   5:     0x7f0d24735746 - rust_begin_unwind\r\n   6:     0x7f0d2475bed4 - panicking::panic_fmt::h6bb5eab6a35b4ca8i5B\r\n   7:     0x7f0d2472bea0 - main::h3104d7f3d30ba747gaa\r\n   8:     0x7f0d2473a428 - rust_try_inner\r\n   9:     0x7f0d2473a415 - rust_try\r\n  10:     0x7f0d24737593 - rt::lang_start::h3197185c34da9942jRw\r\n  11:     0x7f0d23f18f9f - __libc_start_main\r\n  12:     0x7f0d2472bad8 - <unknown>\r\n  13:                0x0 - <unknown>\r\nthread '<main>' panicked at 'assertion failed: `(left == right)` (left: `-1`, right: `0`)', src/lib.rs:597\r\nstack backtrace:\r\n   1:     0x7f0d24732b53 - sys::backtrace::write::hcf068903b51cfe2bkds\r\n   2:     0x7f0d24735df1 - panicking::on_panic::h417cbf9fca890635fWw\r\n   3:     0x7f0d2472e8ea - rt::unwind::begin_unwind_inner::haa3e65fd351aaf75ZBw\r\n   4:     0x7f0d2472ec07 - rt::unwind::begin_unwind_fmt::h6eccac85ccefdd175Aw\r\n   5:     0x7f0d2472d0d7 - Message.Drop::drop::h0b916bc8e49fb312h0a\r\n   6:     0x7f0d2472bec1 - main::h3104d7f3d30ba747gaa\r\n   7:     0x7f0d2473a428 - rust_try_inner\r\n   8:     0x7f0d2473a415 - rust_try\r\n   9:     0x7f0d24737593 - rt::lang_start::h3197185c34da9942jRw\r\n  10:     0x7f0d23f18f9f - __libc_start_main\r\n  11:     0x7f0d2472bad8 - <unknown>\r\n  12:                0x0 - <unknown>\r\nthread panicked while panicking. aborting.\r\nAn unknown error occurred\r\n```\r\nrunning helloworld_client example:\r\n```\r\nConnecting to hello world server...\r\n\r\nSending Hello 0\r\nAssertion failed: check () (/var/tmp/portage/net-libs/zeromq-4.1.1/work/zeromq-4.1.1/src/msg.cpp:220)\r\nAn unknown error occurred\r\n```"}}