FS#24884 - [glibc] memory leak

Attached to Project: Arch Linux
Opened by Thomas Weißschuh (t-8ch) - Sunday, 26 June 2011, 01:03 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 27 June 2011, 16:19 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I am experiencing memory leaks of about 7MiB/sec when using a homebrew program.
About 50+ people (using about all possible distros) are using the the same and no complaints so far from them.

A homebrew program, being used by 50+ people

I can only assume its the same bug concerning getaddrinfo() as:

https://bugzilla.redhat.com/show_bug.cgi?id=712178

as the the only other greater libraries the program is compiled against are sdl from [extra] and [jansson] from stable.

Additional info:
* happens with glibc 2.14.4 from testing
* running x86_64


Steps to reproduce:
get program, compile, run --> memleak
( the program is a client to a specific local game, sources can be found at:
git clone git://code.nerd2nerd.org/project.git
revision:e65c5f558412d)

Regards,
Thomas
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 27 June 2011, 16:19 GMT
Reason for closing:  Not a bug
Additional comments about closing:  user solved
Comment by Thomas Weißschuh (t-8ch) - Sunday, 26 June 2011, 01:06 GMT Comment by Allan McRae (Allan) - Sunday, 26 June 2011, 22:40 GMT
The getaddrinfo leak is already fixed in glibc-2.14-4. Was there an issue with glibc-2.13?

You will need to run the game server under valgrind to get more info on where the leak is as I am not going to do that for you...
Comment by Thomas Weißschuh (t-8ch) - Monday, 27 June 2011, 15:56 GMT
Unfortunately, it runs to slow in valgrind.
And if glibc was fixed it's obviously a different issue and I'll investigate further in this.

Thank you anyhow.

Loading...