[zeromq-dev] zmq3 'make check' fails on rt-preempt kernel - test_pair_tcp hangs

Michael Haberler mail17 at mah.priv.at
Thu Aug 30 06:16:38 CEST 2012

Am 29.08.2012 um 22:54 schrieb Ian Barber:

> On Tue, Aug 28, 2012 at 2:16 PM, Ian Barber <ian.barber at gmail.com> wrote:
>> Ah, I fixed a similar issue in master the other day, may well be the
>> same thing. I'll check and send a pull req when I get home.
>> Ian
> That's all merged in now by the way, so give it another go.

thanks - I did (commit f79e1f8)

'make check' now runs the test_pair_tcp test fine

However, later I get:
test_shutdown_stress running...
/bin/bash: line 5: 23543 Segmentation fault      ${dir}$tst
FAIL: test_shutdown_stress

if I change test_shutdown_stress to start the program under gdb like so

      #exec "$progdir/$program" ${1+"$@"}
      gdb "$progdir/$program" ${1+"$@"}

it seems to run ok: lots of
[Thread 0xa6de7b70 (LWP 26506) exited]
[New Thread 0xa65e6b70 (LWP 26507)]

but then "Program exited normally."

looks like a bit of a Heisenbug - or a race condition - to me

- Michael

> Ian
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list