SFM_example
SFM_example copied to clipboard
Running the SFM_example encounters free memory error
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.