[zeromq-dev] Building CentOS 5 RPM of 3.2.4

Pieter Hintjens ph at imatix.com
Sat Oct 12 17:48:22 CEST 2013


It's failing on pthread_create, not a libzmq call.

            rc = pthread_create (&threads [i], NULL, worker, s2);
            assert (rc == 0);

Could you figure out what the error is, e.g. by adding

            puts (strerror (errno));

before the assert?

Thanks
Pieter


On Fri, Oct 11, 2013 at 6:43 PM, Wade Hampton <wadehamptoniv at gmail.com> wrote:
> I am trying to build a ZeroMQ RPM for CentOS 5.x.  I have the
> 3.2.4 tarball and have tried both the included zeromq.spec file
> and a patched version of the CentOS 6 zeromq3.spec file.
> Both builds fail with the test_shutdown_stress failing:
>
> lt-test_shutdown_stress:  test_shutdown_stress.cpp:77: int main():
>   Assertion `rc == 0` failed.
> /bin/sh: line 4: 25374 Aborted (core dumped).....
> FAIL:  test_shutdown_stress
>
> This seems to be similar to the closed bug:
>   https://zeromq.jira.com/browse/LIBZMQ-462
>
> My O/S:  CentOS 5.8, 2.6.18-308.el5xen SMP
>               Dell core2, 3.0 GHz desktop
>               i386 build
>
> Anyone have any ideas?
> --
> Wade Hampton
>
> _______________________________________________
> 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