Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-08-05
07:04 • Closed ticket [3386197fff]: valgrind unhappy with zlib.test plus 6 other cha... artifact: abade2f24e user: msofer
07:04 • Ticket [3386197fff]: 4 changes artifact: 59a496a685 user: msofer
07:02 • Pending ticket [3386197fff]. artifact: b7dd8f36bf user: dkf
06:29 • Ticket [3386197fff]: 1 change artifact: fb4468fcdb user: msofer
06:28 • Ticket [3386197fff]: 4 changes artifact: dae1313194 user: msofer
06:28 • Add attachment res.leaks to ticket [3386197fff] artifact: 1bba914f1b user: msofer
06:28 • Open ticket [3386197fff]: valgrind unhappy with zlib.test plus 4 other chang... artifact: db311d3e55 user: msofer
06:16 • Pending ticket [3386197fff]. artifact: 01c965e335 user: dkf
02:10 • Ticket [3386197fff]: 4 changes artifact: 0df7dfa06c user: dkf
2011-08-04
21:08 • Ticket [3386197fff]: 1 change artifact: 045829bfae user: msofer
21:08 • Add attachment res.leaks to ticket [3386197fff] artifact: 4472ae805f user: msofer
21:08 • Ticket [3386197fff] valgrind unhappy with zlib.test status still Open with 4... artifact: 2d63c8ae5c user: msofer
21:07 • Ticket [3386197fff]: 4 changes artifact: e78c1131a6 user: msofer
21:07 • Add attachment res.errors to ticket [3386197fff] artifact: d0d3f015f1 user: msofer
21:07 • Add attachment res to ticket [3386197fff] artifact: 088a906324 user: msofer
21:07 • Ticket [3386197fff] valgrind unhappy with zlib.test status still Open with 4... artifact: cef781ba0c user: msofer
14:07 • New ticket [3386197fff]. artifact: 84bb595e00 user: msofer

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: