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

core dump Bad file descriptor #76

Closed
thijsterlouw opened this issue Sep 14, 2010 · 2 comments
Closed

core dump Bad file descriptor #76

thijsterlouw opened this issue Sep 14, 2010 · 2 comments

Comments

@thijsterlouw
Copy link
Contributor

my ZeroMQ client exited with this message:

Bad file descriptor
rc != -1 (epoll.cpp:83)
Aborted (core dumped)


Backtrace:

(gdb) bt
0  0xffffe410 in __kernel_vsyscall ()
1  0xb7d557d0 in raise () from /lib/libc.so.6
2  0xb7d56ea3 in abort () from /lib/libc.so.6
3  0x080a0685 in zmq::epoll_t::rm_fd (this=0x81ca0c0, handle_=0x825d320) at epoll.cpp:83
4  0x080a6159 in zmq::zmq_engine_t::unplug (this=0x81f4a20) at zmq_engine.cpp:82
5  0x08091e79 in zmq::owned_t::finalise (this=0x81cb480) at owned.cpp:66
6  0x08091bb4 in zmq::object_t::process_command (this=0x81cb480, cmd_=@0xb7d2a718) at object.cpp:110
7  0x08090642 in zmq::io_thread_t::in_event (this=0x81cd1e0) at io_thread.cpp:79
8  0x080a0bc6 in zmq::epoll_t::loop (this=0x81ca0c0) at epoll.cpp:197
9  0x0809b4e9 in zmq::thread_t::thread_routine (arg_=0x81ca0e0) at thread.cpp:99
10 0xb7f6334b in start_thread () from /lib/libpthread.so.0
11 0xb7dea65e in clone () from /lib/libc.so.6
@thijsterlouw
Copy link
Contributor Author

i seem to prevent this crash by not doing connect + delete socket very fast, perhaps a timing issue where the socket was deleted quickly

@thijsterlouw
Copy link
Contributor Author

i noticed that in the 2.1 branch this xrevive/assert is no longer present, so hope this issue is already solved :)

drahosp pushed a commit to LuaDist/libzmq that referenced this issue Feb 13, 2014
Backported fix for LIBZMQ-497
benjdero pushed a commit to benjdero/libzmq that referenced this issue Feb 20, 2023
Various changes and cleanups
bluca pushed a commit that referenced this issue Oct 31, 2023
bluca pushed a commit that referenced this issue Oct 31, 2023
Fix LIBZMQ-576 - Revert "Merge pull request #76 from hintjens/master"
bluca pushed a commit that referenced this issue Oct 31, 2023
This issue was closed.
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

1 participant