Problem with VS2015 binaries

23 views
Skip to first unread message

Alexander Wurl

unread,
Dec 2, 2016, 12:46:16 AM12/2/16
to statismo
Hello,

After compiling vs2015-branch without any issues i ran into problems using pre-build cli-binaries (statismo-fit-surface, ...).
Windows event viewer showed error code 0xC0000417 which is a message identifier for 'invalid parameter was passed to a C runtime function' (STATUS_INVALID_CRUNTIME_PARAMETER).
Not sure what this might be related to.

Unfortunately using statismo debug-build seems to perform as expected - so no idea how to proceed.

i would be very grateful for any advice,
thanks,
Alex

Marcel Luethi

unread,
Dec 5, 2016, 2:45:18 AM12/5/16
to Alexander Wurl, statismo, Frank Müller
Hi Alex,

I have never seen this error before. As this seems to be something rather obscure that happens in the CRT, I have a suspicion what could cause it:

There is a `hack` in statismo-fit-surface, to prevent ITK from printing a bogus error message (that confused people a lot). It is done using the ```ConsoleOuputSilencer```. You find the code here:
https://github.com/statismo/statismo/blob/master/modules/ITK/cli/utils/statismo-fitting-utils.h


Could you try if the error persists, if you disable this code?

Best regards,

Marcel


--
You received this message because you are subscribed to the Google Groups "statismo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to statismo-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexander Wurl

unread,
Dec 6, 2016, 6:11:16 AM12/6/16
to statismo, wu...@informatik.hu-berlin.de, frank....@unibas.ch
Dear Marcel,

Your suspicion is correct. Disabling that code will avoid this problem. In consequence some itk-warning appears.

Something related to vs2015 might be the reason but i havn't an idea yet.
To find the problem i did uncomment https://github.com/statismo/statismo/blob/master/modules/ITK/cli/utils/statismo-fitting-utils.h#L90 which seems to be the error's source.
At least expected output will be produced ignoring this line ...
To unsubscribe from this group and stop receiving emails from it, send an email to statismo-user...@googlegroups.com.

Marcel Luethi

unread,
Dec 7, 2016, 3:17:16 AM12/7/16
to Alexander Wurl, statismo, Frank Müller
Hi Alex,

Thanks for reporting this. I will check with the original author of the code if we can find a solution, and otherwise disable this "feature".

Best regards,
Marcel

To unsubscribe from this group and stop receiving emails from it, send an email to statismo-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages