I haven't been able to replicate this again, a subsequent re-test passed.

!!! WARNING The following tests failed:

*** [err]: Check for memory leaks (pid 4910) in tests/integration/replication-psync.tcl
Expected '*0 leaks*' to equal or match 'Process:         redis-server [4910]
Path:            /Users/rosssquires/redis-2.8.17/src/redis-server
Load Address:    0x1043f8000
Identifier:      redis-server
Version:         0
Code Type:       X86-64
Parent Process:  tclsh8.5 [3531]

Date/Time:       2014-09-23 09:00:29.042 -0400
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  7

leaks Report Version:  2.0
Process 4910: 118063 nodes malloced for 6528 KB
Process 4910: 1 leak for 32 total leaked bytes.
Leak: 0x7fa4c20ef980  size=32  zone: DefaultMallocZone_0x1044ce000
    0x00000009 0x00000000 0x38353432 0x39373337     ........24587379
    0xe0000032 0x34b74fd6 0xffffff20 0x692d040a     2....O.4 .....-i
child process exited abnormally'
Cleanup: may take some time... OK
make[1]: *** [test] Error 1
make: *** [test] Error 2

Comment From: assp1r1n3

What flags were set during compiling?

Comment From: rossimo

It was a simple "make", I didn't add any flags.

Comment From: dchrno

I got the same error today. First test failed Second test run succeeded Third test run failed (report included below) followed by 4 successful runs.

Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64 MacPro5,1 Quad-Core Intel Xeon E5620 2,4 GHz Number of Processors: 2 8 cores 40GB RAM

make MALLOC=jemalloc make test

Check for memory leaks (pid 22673)
[err]: Check for memory leaks (pid 21651) in tests/integration/replication-3.tcl
Expected '*0 leaks*' to equal or match 'Process:         redis-server [21651]
Path:            /Users/dagc/redis/redis-4.0.7/src/redis-server
Load Address:    0x1049c2000
Identifier:      redis-server
Version:         ???
Code Type:       X86-64
Parent Process:  tclsh8.5 [20457]

Date/Time:       2018-01-25 13:07:21.010 +0100
Launch Time:     2018-01-25 13:06:38.901 +0100
OS Version:      Mac OS X 10.13.2 (17C88)
Report Version:  7
Analysis Tool:   /Applications/Xcode.app/Contents/Developer/usr/bin/leaks
Analysis Tool Version:  Xcode 9.2 (9C40b)
----

leaks Report Version:  2.0
Process 21651: 368045 nodes malloced for 32205 KB
Process 21651: 1 leak for 48 total leaked bytes.
Leak: 0x7fc1453ae330  size=48  zone: DefaultMallocZone_0x104b49000
        0x453ae8f0 0x00007fc1 0x00000106 0xc0000000     ..:E............
        0x453a0004 0x00007fc1 0x400001a0 0x00007fc1     ..:E.......@....
        0x453ae4b0 0x00007fc1 0x00000000 0x00007fc1     ..:E............
child process exited abnormally'

Comment From: yoav-steinberg

I'm guessing this has been resolved already. It's both old and also doesn't turn up in the CI. We've also since fixed some possibly related issues: #8213, #7757.