lestrrat/ZeroMQ-Perl — Issue #24: ZeroMQ in the debugger
Author: clintongormley
Created: 2011-12-08 13:14:17+00:00
State: open

Hi lestrrat

I've re-opened this problem as a separate issue as this wasn't fixed by the changes for issue #20.

if I run this under `perl -de 0 `

use ZeroMQ ':all';
$c=ZeroMQ::Context->new;
$s=$c->socket(ZMQ_XREQ);
$s->connect('tcp://127.0.0.1:9700');
$s->close

Then I do `R` to reload the debugger, I get:

Assertion failed: pfd.revents & POLLIN (signaler.cpp:155)

or:

Assertion failed: ok (mailbox.cpp:79)

But if I add this before reloading the debugger, all is OK:

$c->term

According to perldebug, `R` does an `exec`. I tried replicating the above in a simple script with a final `exec` but failed. And I'm afraid I'm clueless about XS - no idea where to even start.

That said, I use the debugger a lot as a REPL, and the above issue would be a blocker for me.

Not sure what other info I can give you - I hope this is enough to point you in the right direction

ta

clint