InterpolateFieldDataDemo - Crash just in Windows
I have been updating the VTK Examples and this example crashes when tested in windows but not in Linux:
The data used is:
I am using Microsoft Visual Studio Community 2019 Version 16.7.5.
The crash occurs at line 47 in the source but the real issue is in ex_utils.c line 488 with this exception "invalid characters in string". So it is the function ex__trim(info[i]);
in ex_get_info.c
, line 126, causing this. At this point info
looks like this: info = 0x000001f3a8e9a880 "####################"
.
Why is this acceptable in Linux but not Windows?