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
 Hover over an OpenGL function call VS 2017
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JohannGerell
New Member

4 Posts

Posted - Aug 09 2018 :  09:17:13 AM  Show Profile  Reply with Quote
As the title says, when I hover over an OpenGL function call, VS 2017 freezes, forcing a hard termination of the process.

If I disable the VA extension under VS -> Tools -> Extensions and Updates, the hang doesn't occur.

If I disable VA under its own VS menu, the hang still occurs.

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 09 2018 :  11:00:03 AM  Show Profile  Reply with Quote
Which version of VA are you using?

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

The next time you get this hang, can you please capture a mini dump of "devenv.exe" and send it to us, hopefully this will help us to understand what is going wrong here. If you are not sure how to grab a mini dump file, this page explains how to do so:

https://support.wholetomato.com/default.asp?W303

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

I am trying to reproduce this here. Using VS2017 and VA 2283.2 I have created a new, default Windows 32 application project. In the main cpp file I have added:

#include <gl\GL.h>
void testingCallingGL()
{
	glBitmap(1, 1, 1, 1, 0, 0, NULL);
}


I just picked this function at random from this page:

https://msdn.microsoft.com/en-us/library/windows/desktop/dd374211(v=vs.85).aspx

I am not seeing any problems when I hover the mouse over this function call. Would you expect me to see the problem here with this simple code sample?

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

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Aug 09 2018 :  7:00:46 PM  Show Profile  Reply with Quote
Did a quick test of this using the Doom 3 source code (which uses open gl) and was unable to reproduce. Tested in VA 2283.2 and VS 2017 with VA's extra tooltip options enabled.

I wonder what could be different? A dump would be very useful as feline has pointed out.
Go to Top of Page

JohannGerell
New Member

4 Posts

Posted - Aug 10 2018 :  03:57:51 AM  Show Profile  Reply with Quote
Got a 100% repro rate yesterday, for a few hours of trying to find if there was some other extension or addin that caused it, but today after a reboot I cannot repro it :/

If it happens again, I'll make sure to get a dump.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 10 2018 :  06:30:41 AM  Show Profile  Reply with Quote
If this happens again it would be interesting to know if this is solution specific. If it is, it is possible it is related to a corrupt IDE or VA symbol database file. But without more information this is just a wild guess.

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

JohannGerell
New Member

4 Posts

Posted - Aug 13 2018 :  04:18:59 AM  Show Profile  Reply with Quote
Got another repro and made a dump of the hang. Can I upload it somewhere?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 13 2018 :  06:55:55 AM  Show Profile  Reply with Quote
Yes, please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

Does this look like a reliable crash on demand, or does it seem more random?

Can you please try a simple code sample in a new, default solution just to see if this problem is solution specific?

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

tony.riviere
Ketchup Master

France
58 Posts

Posted - Aug 20 2018 :  10:02:45 AM  Show Profile  Reply with Quote
I had this issue few months ago with Visual Studio 2017 15.6. Each time the mouse hovered a glxxx function, it tooks several seconds just to evaluate the address of the function, which is quite useless 99.99% of the time. The IDE hanged with a modal popup "Evaluating expression...".

Now with the 15.8 version this issue has gone but I can't tell you if an internal bug in MSVC has been fixed or if depends on some compilation / linker options that I changed since then.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 20 2018 :  2:46:34 PM  Show Profile  Reply with Quote
Interesting. It is also possible that it was fixed by either the IDE or VA rebuilding their symbol databases. After the fact it is hard to tell, but it is good that this is now fixed. Obviously if something like this starts happening again please do let us know, and I will do my best to help.

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

jschroedl
Tomato Guru

USA
107 Posts

Posted - Aug 21 2018 :  09:09:08 AM  Show Profile  Reply with Quote
FYI - this was a Visual Studio bug. I reported it and it's been fixed in the VS 2017 15.8 release.

Here's the Developer Community bug and reply:

https://developercommunity.visualstudio.com/content/problem/255712/showing-auto-quick-info-will-hang-visual-studio.html
Go to Top of Page

JohannGerell
New Member

4 Posts

Posted - Aug 21 2018 :  10:28:38 AM  Show Profile  Reply with Quote
Great news! The mentioned glfwCreateWindow in the comments over there is the exact function call I also noticed this problem on.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 21 2018 :  4:27:11 PM  Show Profile  Reply with Quote
Thank you for the update, it is good to know this has been fixed, and also nice to know that this wasn't caused by something we were doing.

zen is the art of being at one with the two'ness
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