- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using the Intel C++ 17.0 compiler in Visual Studio 2015 I'm getting an access violation exception in std::vector destructor (or its clear method) when running in debug mode. It only seems to occur when the vector has been iterated over and does not occur when compiled with either the Intel C++ 16.0 compiler or the MSVC 140 compiler.
Here is a Gist that will cause the exception to be raised. Unfortunately it only seems to raise the exception when compiled as x86 but the larger code base I originally came across this in also raises it when compiled as x64.
https://gist.github.com/tredpath/5f762151c1595246cd21c4503bded3ea
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting this. I reproduced it with VS2013 and Intel C++ compiler 17.0 Update 1. Note that there is no access violation with Visual C++ compiler. I will investigate and escalate to the developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I escalated this to the developers (DPD200416165). Note that it happens with Od and MDd options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We expect this bug to be fixed in the upcoming 17.0 update package (the solution is implemented in scope of DPD200415213.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page