On Thu, Oct 14, 2010 at 12:55 PM, Martin Sustrik <[email protected]> wrote: > On 10/14/2010 12:50 PM, [email protected] wrote: >> >> Yes, this fixes the problem with local_thr. However I experience the >> same problem in remote_thr unless I introduce a sleep(60); right >> before rc = zmq_close (s); This is however unrelated to your patch. I >> just noticed now because I had the sleep call in there before. >> > > Can you get the backtrace?
Same as before: (gdb) run epgm://eth1\;231.192.0.1:9999 255 10000 Starting program: /tmp/workspaces/zeromq2/perf/.libs/lt-remote_thr epgm://eth1\;231.192.0.1:9999 255 10000 [Thread debugging using libthread_db enabled] [New Thread 0x7ffff681f710 (LWP 8991)] pure virtual method called terminate called without an active exception Program received signal SIGABRT, Aborted. [Switching to Thread 0x7ffff681f710 (LWP 8991)] 0x00007ffff6a5f595 in raise () from /lib/libc.so.6 (gdb) bt #0 0x00007ffff6a5f595 in raise () from /lib/libc.so.6 #1 0x00007ffff6a60a16 in abort () from /lib/libc.so.6 #2 0x00007ffff72e0ded in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6 #3 0x00007ffff72df006 in ?? () from /usr/lib/libstdc++.so.6 #4 0x00007ffff72df033 in std::terminate() () from /usr/lib/libstdc++.so.6 #5 0x00007ffff72df98f in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6 #6 0x00007ffff7b84841 in zmq::poller_base_t::execute_timers (this=0x602180) at poller_base.cpp:88 #7 0x00007ffff7b7a948 in zmq::epoll_t::loop (this=0x602180) at epoll.cpp:137 #8 0x00007ffff7b8c347 in zmq::thread_t::thread_routine (arg_=0x6021e8) at thread.cpp:79 #9 0x00007ffff7532cb0 in start_thread () from /lib/libpthread.so.0 #10 0x00007ffff6afb9fd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
