You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/09 02:26:27 UTC
[jira] [Updated] (STORM-83) zeromq send can cause divide by 0 in
multithreaded cod
[ https://issues.apache.org/jira/browse/STORM-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Kellogg updated STORM-83:
------------------------------
Component/s: storm-core
> zeromq send can cause divide by 0 in multithreaded cod
> ------------------------------------------------------
>
> Key: STORM-83
> URL: https://issues.apache.org/jira/browse/STORM-83
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Reporter: James Xu
> Priority: Minor
>
> https://github.com/nathanmarz/storm/issues/474
> When running the unit tests I got a SIGFPE (FPE_INTDIV) in zmq::lb_t::send(zmq_msg_t*, int)+0x176 I traced this down to line 137 of lb.cpp in version 2.1.7 of zeromq. The error is a divide by 0 error. The denominator in this code is an active count, and about 7 lines above active passed a check for 0. zmq::lb_t is very much not thread safe, but it looks like we are somehow calling a single instance of it from multiple threads.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)