valgrind unhappy with zlib.test
Closed / Fixed3386197fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-08-04 14:07:26
Attaching valgrind reports - full output, summary of errors and summary of leaks
msoferplain2011-08-04 21:07:27
File Added - 420270: res
msoferplain2011-08-04 21:07:58
File Added - 420271: res.errors
msoferplain2011-08-04 21:08:22
File Added - 420272: res.leaks
msofer Ticket [3386197fff]: 1 change
[History diff]2011-08-04 21:08:42
dkfplain2011-08-05 02:10:30
The errors aren't anything I can conceive of doing anything about; the zlib library appears to be depending on something odd yet we're passing in a fully initialized structure (we memset the z_stream structure to 0, and if that's not enough, WTF is?). Report it upstream if you care. Or maybe the version of the zlib library you're using has a different sized z_stream structure to the header you built Tcl with? Not much I can do about that either.
dkfplain2011-08-05 06:16:39
The leaks (apart from in getpwuid?! what's that got to do with us?) were due to me not deleting transforms' client data correctly when they were unstacked.
msoferplain2011-08-05 06:28:17
still seeing the leaks - new report attached
msoferplain2011-08-05 06:28:52
File Added - 420318: res.leaks
msofer Ticket [3386197fff]: 1 change
[History diff]2011-08-05 06:29:56
dkfplain2011-08-05 07:02:18
Ugh. I see a place where I'd mixed up which buffer to release. I hate how confusing it all is!
msoferplain2011-08-05 07:04:33
yeah, fixed :)
msoferplain2011-08-05 07:04:34
allow_comments - 1
Log in (anonymous is fine) to add a comment.
Attachments:
- res.leaks [download] added by msofer on 2011-08-05 06:28:52. [details]
- res.errors [download] added by msofer on 2011-08-04 21:07:58. [details]
- res [download] added by msofer on 2011-08-04 21:07:27. [details]