Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA Crash with Code Inspection enabled
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

barto
Junior Member

Germany
19 Posts

Posted - Nov 17 2017 :  06:30:36 AM  Show Profile  Reply with Quote
Visual Studio Community 2017.4 reproducibly crashes during editing when VA's code inspection is enabled on this lambda:

		auto map_to_array = [](const auto& srcMap) {
			auto size = static_cast<int>(srcMap.size());
			auto array = new std::remove_reference_t<decltype(srcMap)>::mapped_type[size];
			int i = 0;
			for(const auto& [_, elem] : srcMap)
				array[i++] = elem;
			return std::make_pair(size, array);
		};


Here's a callstack:


>	valibclang.dll!26cedaa4()	Unknown	No symbols loaded.
 	[Frames below may be incorrect and/or missing, no symbols loaded for valibclang.dll]		Annotated Frame
 	valibclang.dll!26ced771()	Unknown	No symbols loaded.
 	valibclang.dll!26ce9abe()	Unknown	No symbols loaded.
 	valibclang.dll!27281597()	Unknown	No symbols loaded.
 	valibclang.dll!27282230()	Unknown	No symbols loaded.
 	valibclang.dll!26f760f1()	Unknown	No symbols loaded.
 	valibclang.dll!269c5cb5()	Unknown	No symbols loaded.
 	valibclang.dll!269d1cae()	Unknown	No symbols loaded.
 	valibclang.dll!26becf21()	Unknown	No symbols loaded.
 	valibclang.dll!26be4946()	Unknown	No symbols loaded.
 	valibclang.dll!26be5c16()	Unknown	No symbols loaded.
 	valibclang.dll!26cceaed()	Unknown	No symbols loaded.
 	valibclang.dll!26cc7f12()	Unknown	No symbols loaded.
 	valibclang.dll!269c72f7()	Unknown	No symbols loaded.
 	valibclang.dll!26c4f816()	Unknown	No symbols loaded.
 	valibclang.dll!26c24664()	Unknown	No symbols loaded.
 	valibclang.dll!26c8de1a()	Unknown	No symbols loaded.
 	valibclang.dll!2725412b()	Unknown	No symbols loaded.
 	valibclang.dll!272542ab()	Unknown	No symbols loaded.
 	valibclang.dll!2728a9df()	Unknown	No symbols loaded.
 	valibclang.dll!27289613()	Unknown	No symbols loaded.
 	valibclang.dll!27281f4b()	Unknown	No symbols loaded.
 	valibclang.dll!272617fa()	Unknown	No symbols loaded.
 	valibclang.dll!2725e281()	Unknown	No symbols loaded.
 	valibclang.dll!27268d28()	Unknown	No symbols loaded.
 	valibclang.dll!2725e8b6()	Unknown	No symbols loaded.
 	valibclang.dll!27293cec()	Unknown	No symbols loaded.
 	valibclang.dll!272935ba()	Unknown	No symbols loaded.
 	valibclang.dll!272900f2()	Unknown	No symbols loaded.
 	valibclang.dll!27291885()	Unknown	No symbols loaded.
 	valibclang.dll!27251aba()	Unknown	No symbols loaded.
 	valibclang.dll!2725e078()	Unknown	No symbols loaded.
 	valibclang.dll!26f760f1()	Unknown	No symbols loaded.
 	valibclang.dll!2726e77b()	Unknown	No symbols loaded.
 	valibclang.dll!27250ee8()	Unknown	No symbols loaded.
 	valibclang.dll!27252d96()	Unknown	No symbols loaded.
 	valibclang.dll!2724e804()	Unknown	No symbols loaded.
 	valibclang.dll!26ba1ff1()	Unknown	No symbols loaded.
 	valibclang.dll!26ba1f2f()	Unknown	No symbols loaded.
 	valibclang.dll!26b73ee5()	Unknown	No symbols loaded.
 	valibclang.dll!26b73244()	Unknown	No symbols loaded.
 	valibclang.dll!26b72f54()	Unknown	No symbols loaded.
 	valibclang.dll!269d0d6d()	Unknown	No symbols loaded.
 	valibclang.dll!269c5a94()	Unknown	No symbols loaded.
 	valibclang.dll!26f693ea()	Unknown	No symbols loaded.
 	valibclang.dll!26f69464()	Unknown	No symbols loaded.
 	valibclang.dll!26f694fd()	Unknown	No symbols loaded.
 	valibclang.dll!274c5af1()	Unknown	No symbols loaded.
 	valibclang.dll!274c5a9a()	Unknown	No symbols loaded.
 	valibclang.dll!274c5a9a()	Unknown	No symbols loaded.
 	[External Code]		Annotated Frame
 	valibclang.dll!274c5a9a()	Unknown	No symbols loaded.


As a workaound I currently have to disable code inspection.
I'd appreciate a fix.

Here's the VA system info:

VA_X.dll file version 10.9.2238.0 built 2017.10.24
DevEnv.exe version 15.0.27004.2009 Community
msenv.dll version 15.0.27004.2008
Comctl32.dll version 6.10.16299.19
Windows 10 10.0 Build 16299
8 processors (x86-64, WOW64)
Language info: 1252, 0x407

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Nov 17 2017 :  09:57:55 AM  Show Profile  Reply with Quote
Thank you for the very clear description, and for the sample code! I thought I might have to work a bit to reproduce the crash with your code, but no, the code on its own is enough. I have put in a bug report for this:

case=112413

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Dec 18 2017 :  7:22:57 PM  Show Profile  Reply with Quote
case=112413 is fixed in build 2248.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000