Tcl Source Code

View Ticket
Login
Ticket UUID: 3386197
Title: valgrind unhappy with zlib.test
Type: Bug Version: obsolete: 8.6b2
Submitter: msofer Created on: 2011-08-04 14:07:26
Subsystem: 57. zlib Assigned To: dkf
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2011-08-05 07:04:34
Resolution: Fixed Closed By: msofer
    Closed on: 2011-08-05 00:04:34
Description:
Attaching valgrind reports - full output, summary of errors and summary of leaks
User Comments: msofer added on 2011-08-05 07:04:34:

allow_comments - 1

msofer added on 2011-08-05 07:04:33:
yeah, fixed :)

dkf added on 2011-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!

msofer added on 2011-08-05 06:28:52:

File Added - 420318: res.leaks

msofer added on 2011-08-05 06:28:17:
still seeing the leaks - new report attached

dkf added on 2011-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.

dkf added on 2011-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.

msofer added on 2011-08-04 21:08:22:

File Added - 420272: res.leaks

msofer added on 2011-08-04 21:07:58:

File Added - 420271: res.errors

msofer added on 2011-08-04 21:07:27:

File Added - 420270: res

Attachments: