Re: AddressSanitizer: attempting free on address which was not malloc()-ed

2017-07-12 Thread Yuri Gribov
On Wed, Jul 12, 2017 at 4:55 PM, sothy shan wrote: > > > On Wednesday, July 12, 2017 at 2:52:12 PM UTC+2, Maxim Ostapenko wrote: >> >> Hm, looks pretty the same to >> https://github.com/google/sanitizers/issues/830. Could you provide more >> details how to reproduce the issue? > > > This error is

Re: AddressSanitizer: attempting free on address which was not malloc()-ed

2017-07-12 Thread sothy shan
On Wednesday, July 12, 2017 at 2:52:12 PM UTC+2, Maxim Ostapenko wrote: > > Hm, looks pretty the same to > https://github.com/google/sanitizers/issues/830. Could you provide more > details how to reproduce the issue? > This error is made at run-time. From the stack, FeatureReply DTOR is call

Re: AddressSanitizer: attempting free on address which was not malloc()-ed

2017-07-12 Thread Maxim Ostapenko
Hm, looks pretty the same to https://github.com/google/sanitizers/issues/830. Could you provide more details how to reproduce the issue? Hello, > I'm running the gcc 6.3.0 version with opensource code in ubuntu 16.04 LTS. > When I run my code, I am getting error. > > > ==5094==ERROR: AddressSani

AddressSanitizer: attempting free on address which was not malloc()-ed

2017-07-12 Thread sothy shan
Hello, I'm running the gcc 6.3.0 version with opensource code in ubuntu 16.04 LTS. When I run my code, I am getting error. ==5094==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x60312d78 in thread T0 #0 0x7f6115c33630 in operator delete(void*) (/usr/lib