{"action":"created","issue":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/1399","labels_url":"https://api.github.com/repos/zeromq/libzmq/issues/1399/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/libzmq/issues/1399/comments","events_url":"https://api.github.com/repos/zeromq/libzmq/issues/1399/events","html_url":"https://github.com/zeromq/libzmq/issues/1399","id":76318451,"number":1399,"title":"assert disabling and enabling network card on linux","user":{"login":"mdionisio","id":5391286,"avatar_url":"https://avatars.githubusercontent.com/u/5391286?v=3","gravatar_id":"","url":"https://api.github.com/users/mdionisio","html_url":"https://github.com/mdionisio","followers_url":"https://api.github.com/users/mdionisio/followers","following_url":"https://api.github.com/users/mdionisio/following{/other_user}","gists_url":"https://api.github.com/users/mdionisio/gists{/gist_id}","starred_url":"https://api.github.com/users/mdionisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdionisio/subscriptions","organizations_url":"https://api.github.com/users/mdionisio/orgs","repos_url":"https://api.github.com/users/mdionisio/repos","events_url":"https://api.github.com/users/mdionisio/events{/privacy}","received_events_url":"https://api.github.com/users/mdionisio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-14T10:45:40Z","updated_at":"2015-05-14T13:28:44Z","closed_at":null,"body":"I have the following stack trace:\r\n\r\nProgram received signal SIGABRT, Aborted.\r\n[Switching to Thread 0x44670450 (LWP 243)]\r\n0x40406460 in __GI_raise (sig=sig@entry=6)\r\n    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56\r\n56        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);\r\n(gdb) bt\r\n#0  0x40406460 in __GI_raise (sig=sig@entry=6)\r\n    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56\r\n#1  0x40409e88 in __GI_abort () at abort.c:89\r\n#2  0x403ad728 in zmq::zmq_abort (errmsg_=<optimized out>) at err.cpp:76\r\n#3  0x403c0000 in read (this=<optimized out>, data_=<optimized out>, \r\n    size_=<optimized out>) at stream_engine.cpp:566\r\n#4  zmq::stream_engine_t::read (this=<optimized out>, data_=<optimized out>, \r\n    size_=<optimized out>) at stream_engine.cpp:523\r\n#5  0x403c070c in zmq::stream_engine_t::in_event (this=0x41b14000)\r\n    at stream_engine.cpp:197\r\n#6  0x403ad1fc in zmq::epoll_t::loop (this=0x166370) at epoll.cpp:154\r\n#7  0x403c41ec in thread_routine (arg_=0x1663b8) at thread.cpp:83\r\n#8  0x4004efc4 in start_thread (arg=0x44670450) at pthread_create.c:314\r\n#9  0x404a7b30 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/clone.S:97\r\n   from /lib/libc.so.6\r\n#10 0x404a7b30 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/clone.S:97\r\n   from /lib/libc.so.6\r\nBacktrace stopped: previous frame identical to this frame (corrupt stack?)\r\n\r\n\r\nSimply removing the errno_assert in \r\n\r\nint zmq::stream_engine_t::read (void *data_, size_t size_)\r\n\r\nthe problem is solved.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/comments/102036695","html_url":"https://github.com/zeromq/libzmq/issues/1399#issuecomment-102036695","issue_url":"https://api.github.com/repos/zeromq/libzmq/issues/1399","id":102036695,"user":{"login":"hintjens","id":307976,"avatar_url":"https://avatars.githubusercontent.com/u/307976?v=3","gravatar_id":"","url":"https://api.github.com/users/hintjens","html_url":"https://github.com/hintjens","followers_url":"https://api.github.com/users/hintjens/followers","following_url":"https://api.github.com/users/hintjens/following{/other_user}","gists_url":"https://api.github.com/users/hintjens/gists{/gist_id}","starred_url":"https://api.github.com/users/hintjens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hintjens/subscriptions","organizations_url":"https://api.github.com/users/hintjens/orgs","repos_url":"https://api.github.com/users/hintjens/repos","events_url":"https://api.github.com/users/hintjens/events{/privacy}","received_events_url":"https://api.github.com/users/hintjens/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T13:28:44Z","updated_at":"2015-05-14T13:28:44Z","body":"It'd be better to catch specific errors. Can you find out what the errno is\nthat that point?\n\nOn Thu, May 14, 2015 at 12:45 PM, Michele Dionisio <notifications@github.com\n> wrote:\n\n> I have the following stack trace:\n>\n> Program received signal SIGABRT, Aborted.\n> [Switching to Thread 0x44670450 (LWP 243)]\n> 0x40406460 in __GI_raise (sig=sig@entry=6)\n> at ../nptl/sysdeps/unix/sysv/linux/raise.c:56\n> 56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);\n> (gdb) bt\n> #0 0x40406460 in __GI_raise (sig=sig@entry=6)\n> at ../nptl/sysdeps/unix/sysv/linux/raise.c:56\n> #1 <https://github.com/zeromq/libzmq/issues/1> 0x40409e88 in __GI_abort\n> () at abort.c:89\n> #2 <https://github.com/zeromq/libzmq/issues/2> 0x403ad728 in\n> zmq::zmq_abort (errmsg_=) at err.cpp:76\n> #3 <https://github.com/zeromq/libzmq/issues/3> 0x403c0000 in read (this=,\n> data_=,\n> size_=) at stream_engine.cpp:566\n> #4 <https://github.com/zeromq/libzmq/issues/4> zmq::stream_engine_t::read\n> (this=, data_=,\n> size_=) at stream_engine.cpp:523\n> #5 <https://github.com/zeromq/libzmq/issues/5> 0x403c070c in\n> zmq::stream_engine_t::in_event (this=0x41b14000)\n> at stream_engine.cpp:197\n> #6 <https://github.com/zeromq/libzmq/issues/6> 0x403ad1fc in\n> zmq::epoll_t::loop (this=0x166370) at epoll.cpp:154\n> #7 <https://github.com/zeromq/libzmq/issues/7> 0x403c41ec in\n> thread_routine (arg_=0x1663b8) at thread.cpp:83\n> #8 <https://github.com/zeromq/libzmq/issues/8> 0x4004efc4 in start_thread\n> (arg=0x44670450) at pthread_create.c:314\n> #9 <https://github.com/zeromq/libzmq/issues/9> 0x404a7b30 in ?? () at\n> ../ports/sysdeps/unix/sysv/linux/arm/clone.S:97\n> from /lib/libc.so.6\n> #10 <https://github.com/zeromq/libzmq/issues/10> 0x404a7b30 in ?? () at\n> ../ports/sysdeps/unix/sysv/linux/arm/clone.S:97\n> from /lib/libc.so.6\n> Backtrace stopped: previous frame identical to this frame (corrupt stack?)\n>\n> Simply removing the errno_assert in\n>\n> int zmq::stream_engine_t::read (void *data_, size_t size_)\n>\n> the problem is solved.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/zeromq/libzmq/issues/1399>.\n>\n"}}