dthuerck/mapmap_cpu

crashed at runtime when linked to tbb 2018_U5

Closed this issue · 3 comments

hi, Daniel
I'm not sure if this is the right place to open this issue. forgive me if wrong.
I have tried to compile in xcode 9.4 mvs-texturing which depends on master branch of mapmap_cpu , but mvs-texturing's demo app(namely texrecon) crashed at runtime. The call trace show that it crashes at mapmap's DynamicProgramming Solver, like this:(each time it crashes at line 99)
image
It crashes when DynamicProgrammingTableEntry<COSTTYPE, SIMDWIDTH>::optimize_entry() is ready to return, releasing the local variable named solver which is an unique_ptr instance.
The wierd thing is: when i switch to xcode 9.2 and compile and run it, it turns out everything is fine.
Do you figure out why did that crash happen?

Hi,

did you encounter the same problem in other OS's? DUe to lack of access to a mac around here, I'm having a hard time reproducing this bug ;)

Hi,
so far I've just tried on MacOS High Serria 10.13.6 and iOS 11.4.1.

xcode 9.4 is wierd, xcode 9.2 is ok.

I'll try on ubuntu and windows and see if I can reproduce this issue.

hi @dthuerck ,
I've tried on Ubuntu 16.0.4+Gcc 5.5.0+tbb2018_U5, and as expected, everything is fine.