Hi,<div><br></div><div>I&#39;m often getting an error in the SCC that shouldn&#39;t happen according to the source code. So here I am asking for some help. I get this error:</div><div><br></div><div><div>ERROR: testam.0 in send_bind_reply() ../../bf-scc/lib/barrelfish/lmp_chan.c:235</div>
<div><br></div><div>when I print the error this is what I get:</div><div><br></div><div><div>Failure: (  libbarrelfish) Attempt to register for an event on a channel which is already registered [LIB_ERR_CHAN_ALREADY_REGISTERED]</div>
</div><div><br></div><div>The code is the following (on lib/barrelfish/lmp_chan.c):</div><div><br></div><div><div>    err = st-&gt;b-&gt;tx_vtbl.bind_lmp_reply_monitor(st-&gt;b, NOP_CONT, st-&gt;args.err,</div><div>                                                st-&gt;args.mon_id, st-&gt;args.conn_id, </div>
<div>                                                st-&gt;args.ep);</div><div>    if (err_is_ok(err)) {</div><div>        event_mutex_unlock(&amp;b-&gt;mutex);</div><div>        free(st);</div><div>    } else if (err_no(err) == FLOUNDER_ERR_TX_BUSY) {</div>
<div>        err = st-&gt;b-&gt;register_send(st-&gt;b, st-&gt;b-&gt;waitset,</div><div>                                   MKCONT(send_bind_reply,st));</div><div>        assert(err_is_ok(err)); // shouldn&#39;t fail, as we have the mutex</div>
</div><div><br></div><div>As the last line indicates, it shouldn&#39;t fail as we have the mutex. But it fails anyway... The user code is working well on the x86_64 arch with the UMP driver.</div><div><br></div><div>any ideas?</div>
<div><br></div><div><br></div><div>Many thanks,</div><div><br></div>-- <br>Zeus Gómez Marmolejo<br>Barcelona Supercomputing Center<br>PhD student<br><a href="http://www.bsc.es" target="_blank">http://www.bsc.es</a><br><br>
<br>
</div>