[Libcds-user] Double free error with FCPriority queue
Concurrent Data Structure library
Brought to you by:
khizmax
|
From: Amila J. <the...@gm...> - 2016-01-10 06:41:29
|
Hello, I am having an issue with FCPriority queue. In my code I need to allocate memory for FCPriority queue in a thread in heap. Then in the destructor, I delete the allocated pointer. The destructor is called in the main thread. During destructor call of my class object, I get a double free error. The -fsanitize=address output is given in [1]. I tested with both 1.6.0 and 2.1 and encountered the same error. Please advise me how to resolve the issue. [1] http://pastebin.com/FH7wSTCQ Thank you Regards -Thejaka |