Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

zmq_abort while executing Init command #592

@gscalam

Description

@gscalam

Executing Init command on a specific Device Server I have occasionally a zmq_abort:

Operation not permitted (../../src/epoll.cpp:109)

Program received signal SIGABRT, Aborted.
[Switching to Thread 857928896 (LWP 5046)]
0x0e9ef41c in raise () from /lib/libc.so.6
(gdb) bt
#0  0x0e9ef41c in raise () from /lib/libc.so.6
#1  0x0e9f109c in abort () from /lib/libc.so.6
#2  0x0ed9f35c in zmq::zmq_abort () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#3  0x0ed9cb54 in zmq::epoll_t::set_pollout () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#4  0x0eda071c in zmq::io_object_t::set_pollout () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#5  0x0edda618 in zmq::stream_engine_t::restart_output () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#6  0x0edc7ffc in zmq::session_base_t::read_activated () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#7  0x0edb91e4 in zmq::pipe_t::process_activate_read () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#8  0x0edb21d4 in zmq::object_t::process_command () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#9  0x0eda115c in zmq::io_thread_t::in_event () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#10 0x0ed9c7e4 in zmq::epoll_t::loop () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#11 0x0ed9c8f8 in zmq::epoll_t::worker_routine () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#12 0x0ede42bc in thread_routine () from /usr/local/zeromq-4.0.8/lib/libzmq.so.4
#13 0x0e960b14 in start_thread () from /lib/libpthread.so.0
#14 0x0ea9a7d4 in clone () from /lib/libc.so.6

It is difficult to reproduce and I don't know if it can be related to other known issues, but I can just add that this device server:

  • make use of push_change_event and push_archive_event on some attributes
  • has polling with event thresholds configured on other attributes
  • has memorized attributes
  • has alarm thresholds configured on some attributes
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions