protocolbuffers / protobuf

Protocol Buffers - Google's data interchange format
http://protobuf.dev
Other
65.11k stars 15.43k forks source link

Valgrind report: "Mismatched free() / delete / delete []" #5331

Closed meierfra-ergon closed 22 hours ago

meierfra-ergon commented 5 years ago

we do automated Valgrind testing with our code. After upgrading to protobuf-3.6.1 (from 2.6.1). We saw a lot of "Mismatched free() / delete / delete []" Valgrind errors.

see: valgrind.log

We did not experience any problems so far, but I thought I post it here since it could be a bug in Protobuf.

BTW we compile the protobuf library ourselfs with gcc-7.3.0

Regards,

paulfloyd commented 6 months ago

Check the disassembly for google::protobuf::FileDescriptorProto::~FileDescriptorProto() Is it calling tcmalloc delete (which is an alias for free)?

github-actions[bot] commented 3 months ago

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.

This issue is labeled inactive because the last activity was over 90 days ago.

github-actions[bot] commented 2 weeks ago

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.

This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.

github-actions[bot] commented 22 hours ago

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please reopen it.

This issue was closed and archived because there has been no new activity in the 14 days since the inactive label was added.