- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
EHsc is important, there is no crash without it.
icl /Qm64 /EHsc hevcehw_base_packer.cpp
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.2.254 Build 20200623
Copyright (C) 1985-2020 Intel Corporation. All rights reserved.
hevcehw_base_packer.cpp
hevcehw_base_packer.cpp(17): internal error: access violation
std::unique_ptr<PackedHeaders> ph = std::make_unique<PackedHeaders>(PackedHeaders{});
^
#include <memory>
#include <map>
struct PackedData
{
std::map<unsigned, unsigned> PackInfo;
};
struct PackedHeaders
{
PackedData Foo[2];
PackedData Bar;
};
int main()
{
std::unique_ptr<PackedHeaders> ph = std::make_unique<PackedHeaders>(PackedHeaders{});
return 0;
}
Microsoft Visual Studio Professional 2017 (15.9.27) is used.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alexandr,
Thanks for reporting this to us.
We have observed similar behaviour too.
We will be escalating this to our internal team.
As a temporary workaround, we found that when you re-arrange the struct variables inside PackedHeaders we haven't gotten any error.
Like this:
struct PackedHeaders
{
PackedData Bar;
PackedData Foo[2];
};
Regards
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alexander,
Thanks for your patience. The issue raised by you has been fixed in the latest OneAPI version 2021.2. Please download and let us know your experience with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alexandr,
We haven't heard back from you. Please let us know your feedback after testing the latest version.
Regards
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Prasanth,
Sorry for the delay. Works fine with
Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.2.0 Build 20210228_000000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation, Alexander.
As your issue has been resolved, we are closing this thread. We will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only
Regards
Prasanth

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