Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
25 Views

Segmentation violation when using std::make_exception_ptr with string arguments

Hi,

the following code causes a segmentation violation in the compiler with Parallel Studio XE 2016 (2016.0.110) integrated into Visual Studio 2015.

#include <exception>
#include <string>

int main()
{
	std::string s;
	std::make_exception_ptr(s);
}

 

 

0 Kudos
4 Replies
Highlighted
Employee
25 Views

Hi,
I tested out with VS 2013 and was successful and will let you know what I find with 2015 VS.
_Kittur 

0 Kudos
Highlighted
Employee
25 Views

Thanks for the test case. I reproduced this with Parallel Studio XE 2016 and Visual Studio 2015, and I escalated the issue to the development team (DPD200376379).

0 Kudos
Highlighted
Employee
25 Views

Thanks Amanda, yes I could reproduce this as well.

0 Kudos
Highlighted
Employee
25 Views

This issue is fixed in Parallel Studio 2016 update 1 (compiler version 16.0 update 1).

 

 

0 Kudos