Thanks for your reponse.
We have ZMQ sockets in pattern both REQ/REP and PUSH/PULL. The stack 
information show that it is a ZMQ IO thread. We have been very careful to avoid 
use sockets in multiple threads.
I'am wander how would you think it is a problem about multiple threads. I can't 
understand it.


I think the 'zmq message' was closed in some place and core dump in the second 
time. But I can't finger the first time it has been closed.





On 10/18/2016 00:34, Doron Somech<somdo...@gmail.com>wrote:

It might be using the socket from multiples threads.
Is it a PUB socket? If it is a PUB socket it might be a bug in libzmq,
however if it is not a PUB socket it is probably usage from multiple
threads.



On Mon, Oct 17, 2016 at 4:23 PM, Laughing <hnwyl...@126.com> wrote:
> Hi everyone:
>
>     There have a coredump in AIX (ZMQ version 4.1.5). The stack information
> is below. I don't know the scene and can not reproduce it.
>     I will be appreciate if you give some help or advices.
>     Thanks you again.
>
> IOT/Abort trap in abort at 0x900000000055a18 ($t9)
> 0x900000000055a18 (abort+0xf8) e8410028             ld   r2,0x28(r1)
> (dbx) where
> abort() at 0x900000000055a18
> zmq::zmq_abort(const char*)(errmsg_ = "^I"), line 83 in "err.cpp"
> zmq::msg_t::close()(this = 0x09000000058791ac), line 103 in "mutex.hpp"
> unnamed block in zmq::encoder_base_t<zmq::v2_encoder_t>::encode(unsigned
> char**,unsigned long)(this = 0x000000011393bb40, data_ = 0x00000001dc2b4350,
> size_ = 648518346433812276), line 93 in "encoder.hpp"
> unnamed block in zmq::encoder_base_t<zmq::v2_encoder_t>::encode(unsigned
> char**,unsigned long)(this = 0x000000011393bb40, data_ = 0x00000001dc2b4350,
> size_ = 648518346433812276), line 93 in "encoder.hpp"
> zmq::encoder_base_t<zmq::v2_encoder_t>::encode(unsigned char**,unsigned
> long)(this = 0x000000011393bb40, data_ = 0x00000001dc2b4350, size_ =
> 648518346433812276), line 93 in "encoder.hpp"
> unnamed block in zmq::stream_engine_t::out_event()(this =
> 0x000000011393bc30), line 365 in "stream_engine.cpp"
> zmq::stream_engine_t::out_event()(this = 0x000000011393bc30), line 365 in
> "stream_engine.cpp"
> stream_engine.zmq::stream_engine_t::restart_output()(??), line 419 in
> "stream_engine.cpp"
> zmq::session_base_t::read_activated(zmq::pipe_t*)(this = 0x000000011393bd50,
> pipe_ = 0x0000002b2e3c40f0), line 264 in "session_base.cpp"
> pipe.zmq::pipe_t::process_activate_read()(??), line 247 in "pipe.cpp"
> zmq::object_t::process_command(zmq::command_t&)(this = (nil), cmd_ =
> &(...)), line 77 in "object.cpp"
> unnamed block in zmq::io_thread_t::in_event()(this = (nil)), line 83 in
> "io_thread.cpp"
> zmq::io_thread_t::in_event()(this = (nil)), line 83 in "io_thread.cpp"
> unnamed block in zmq::pollset_t::loop()(this = (nil)), line 237 in
> "pollset.cpp"
> unnamed block in zmq::pollset_t::loop()(this = (nil)), line 237 in
> "pollset.cpp"
> unnamed block in zmq::pollset_t::loop()(this = (nil)), line 237 in
> "pollset.cpp"
> zmq::pollset_t::loop()(this = (nil)), line 237 in "pollset.cpp"
> thread_routine(void*)(arg_ = (nil)), line 96 in "thread.cpp"
>
>
>
>
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to