SFM_example icon indicating copy to clipboard operation
SFM_example copied to clipboard

Running the SFM_example encounters free memory error

Open NightOnion2018 opened this issue 5 years ago • 0 comments

the following code cause the malloc_error_break error. i can be double free shared_ptr. But i am not sure. Could you please help to debug. I am running this in macos result = LevenbergMarquardtOptimizer(graph, initial).optimize();

main(40661,0x7fff9f82e3c0) malloc: *** error for object 0x4059000000000000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug

This is the backtrace. image

NightOnion2018 avatar Jun 09 '19 09:06 NightOnion2018