I found out it was reporting out of memory. I added some prints and it fails to create about the 68th thread. I would recommend adding a few print statements in the test code -- i.e., indicating out of memory versus another problem. Note, I have 4G but keep running out of RAM (mainly Java AFIK).
For now, I turned off the make tests in the SPEC file so I can build my RPMs (for internal use). I now have CentOS 5.8 RPMs for my servers. I had the SAME problem trying to "make check" from the command line. Cheers, -- Wade Hampton On Sat, Oct 12, 2013 at 11:48 AM, Pieter Hintjens <[email protected]> wrote: > 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 <[email protected]> > 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 > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
