[zeromq-dev] 2 tests fail (test_spec_rep and test_stream) + 1 warning when compiling zmq 4.0 RC with clang++ on Macosx

Radu Braniste rbraniste at gmail.com
Thu Sep 26 02:17:40 CEST 2013


options.cpp:289:28: warning: comparison of unsigned expression >= 0 is
always
      true [-Wtautological-compare]
            if (optvallen_ >= 0 && optvallen_ < 256) {
                ~~~~~~~~~~ ^  ~
1 warning generated.
-----------------------------------

Process:         test_spec_rep [34719]
Path:            /Users/USER/*/test_spec_rep
Identifier:      test_spec_rep
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  sh [34283]
User ID:         501

Date/Time:       2013-09-25 19:59:39.896 -0400
OS Version:      Mac OS X 10.8.5 (12F37)
Report Version:  10
Sleep/Wake UUID: 984D8296-9536-425F-A9D0-1A927F372CB1

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
Assertion failed: (strcmp (data, (const char *)zmq_msg_data (&msg)) == 0),
function s_recv_seq, file ./testutil.hpp, line 221.


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff911c7212 __pthread_kill + 10
1   libsystem_c.dylib             0x00007fff98056b24 pthread_kill + 90
2   libsystem_c.dylib             0x00007fff9809af61 abort + 143
3   libsystem_c.dylib             0x00007fff9809bcb9 __assert_rtn + 146
4   test_spec_rep                 0x00000001010afdff s_recv_seq(void*, ...)
+ 783
5   test_spec_rep                 0x00000001010b04d3
test_fair_queue_in(void*) + 1059
6   test_spec_rep                 0x00000001010b09a8 main + 216
7   libdyld.dylib                 0x00007fff912877e1 start + 1

Thread 1:
0   libsystem_kernel.dylib         0x00007fff911c7d16 kevent + 10
1   libzmq.3.dylib                 0x00000001010d5962 zmq::kqueue_t::loop()
+ 322
2   libzmq.3.dylib                 0x00000001010d57f5
zmq::kqueue_t::worker_routine(void*) + 21
3   libzmq.3.dylib                 0x000000010111d3ea thread_routine + 282
4   libsystem_c.dylib             0x00007fff98055772 _pthread_start + 327
5   libsystem_c.dylib             0x00007fff980421a1 thread_start + 13

Thread 2:
0   libsystem_kernel.dylib         0x00007fff911c7d16 kevent + 10
1   libzmq.3.dylib                 0x00000001010d5962 zmq::kqueue_t::loop()
+ 322
2   libzmq.3.dylib                 0x00000001010d57f5
zmq::kqueue_t::worker_routine(void*) + 21
3   libzmq.3.dylib                 0x000000010111d3ea thread_routine + 282
4   libsystem_c.dylib             0x00007fff98055772 _pthread_start + 327
5   libsystem_c.dylib             0x00007fff980421a1 thread_start + 13


----------------------------------------------------
Process:         test_stream [56626]
Path:            /Users/USER/Downloads/*/test_stream
Identifier:      test_stream
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  sh [56350]
User ID:         501

Date/Time:       2013-09-05 21:33:06.225 -0400
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
Assertion failed: (rc == 97), function test_stream_to_dealer, file
test_stream.cpp, line 105.


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff8efde212 __pthread_kill + 10
1   libsystem_c.dylib             0x00007fff84f8bb54 pthread_kill + 90
2   libsystem_c.dylib             0x00007fff84fcfdce abort + 143
3   libsystem_c.dylib             0x00007fff84fd0e2a __assert_rtn + 146
4   test_stream                   0x0000000103f7c250 main + 2288
5   libdyld.dylib                 0x00007fff8d4977e1 start + 1

Thread 1:
0   libsystem_kernel.dylib         0x00007fff8efded16 kevent + 10
1   libzmq.3.dylib                 0x0000000103f9067e zmq::kqueue_t::loop()
+ 174
2   libzmq.3.dylib                 0x0000000103facf80 thread_routine + 48
3   libsystem_c.dylib             0x00007fff84f8a7a2 _pthread_start + 327
4   libsystem_c.dylib             0x00007fff84f771e1 thread_start + 13

Thread 2:
0   libsystem_kernel.dylib         0x00007fff8efded16 kevent + 10
1   libzmq.3.dylib                 0x0000000103f9067e zmq::kqueue_t::loop()
+ 174
2   libzmq.3.dylib                 0x0000000103facf80 thread_routine + 48
3   libsystem_c.dylib             0x00007fff84f8a7a2 _pthread_start + 327
4   libsystem_c.dylib             0x00007fff84f771e1 thread_start + 13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130925/8b2b344d/attachment.htm>


More information about the zeromq-dev mailing list