statsd-client-cpp icon indicating copy to clipboard operation
statsd-client-cpp copied to clipboard

Use of default copy constructor causes SEGVs

Open jamesmulcahy opened this issue 11 years ago • 0 comments

Using the default copy constructor leads to the Data pointer being shared between copies of the client. Once a client gets deleted, it deletes the Data which is shared across all clients. Eventually, this leads to a SEGV or malloc error.

jamesmulcahy avatar Sep 18 '14 14:09 jamesmulcahy