Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail when compiling with GCC 5.1 on Mac OS X #2663

Closed
felipou opened this issue Jul 7, 2015 · 0 comments
Closed

Tests fail when compiling with GCC 5.1 on Mac OS X #2663

felipou opened this issue Jul 7, 2015 · 0 comments

Comments

@felipou
Copy link
Contributor

felipou commented Jul 7, 2015

I just tried compiling and testing (make && make test) with the new GCC 5.1 on Mac OS X 10.10, but the tests resulted in many leak errors.

!!! WARNING The following tests failed:

*** [err]: Check for memory leaks (pid 34844) in tests/unit/type/incr.tcl
Expected '*0 leaks*' to equal or match 'Process:         redis-server [34844]
Path:            /Users/felipe/Developer/random/redis/src/redis-server
Load Address:    0
Identifier:      redis-server
Version:         ???
Code Type:       X86-64
Parent Process:  tclsh8.5 [34823]

Date/Time:       2015-07-07 11:39:23.256 -0300
OS Version:      Mac OS X 10.10.4 (14E46)
Report Version:  7
Analysis Tool:   /Applications/Xcode.app/Contents/Developer/usr/bin/leaks
Analysis Tool Version:  Xcode 6.4 (6E35b)
----

leaks Report Version:  2.0
Process 34844: 12050 nodes malloced for 1055 KB
Process 34844: 1 leak for 16 total leaked bytes.
Leak: 0x7fafdac04b20  size=16  zone: DefaultMallocZone_0x103da4000
    0x00000000 0x00000000 0x00000000 0x50000000     ...............P
child process exited abnormally'
*** [err]: Check for memory leaks (pid 34860) in tests/unit/auth.tcl
Expected '*0 leaks*' to equal or match 'Process:         redis-server [34860]
Path:            /Users/felipe/Developer/random/redis/src/redis-server
Load Address:    0
Identifier:      redis-server
Version:         ???
Code Type:       X86-64
Parent Process:  tclsh8.5 [34818]

Date/Time:       2015-07-07 11:39:23.257 -0300
OS Version:      Mac OS X 10.10.4 (14E46)
Report Version:  7
Analysis Tool:   /Applications/Xcode.app/Contents/Developer/usr/bin/leaks
Analysis Tool Version:  Xcode 6.4 (6E35b)
----

There were errors on tests/unit as well as on tests/integration, all with .tcl files.

I'm not very familiar with the development of Redis (and even less so with tcl), so I couldn't understand the errors, but I thought it would be nice to report it. Is this kind of thing worth an issue here?

@felipou felipou closed this as completed Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant