New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NVDA causing CHTMLView Applications not to exit #3306
Comments
Comment 1 by ScottV on 2013-06-27 19:15 'mfcie.exe': Unloaded 'C:\Program Files (x86)\NVDA\lib\VBufBackend_mshtml.dll' |
Comment 3 by mdcurran on 2013-12-05 22:02 |
Comment 4 by ScottV on 2013-12-06 02:53 |
Comment 5 by mdcurran on 2013-12-06 04:39 Thanks for providing the compiled version. However, since I have not yet got enough info, would it be possible for you to please provide me with a debug build of mfcie? I'd like to see symbols, for it to use the debug CRT, and have runtime stack checks enabled if possible. (all things I already have for NVDA's dlls). I'm assuming that there'd probably be a default "debug" build option in the project. |
Comment 6 by ScottV on 2013-12-06 16:23 The output is from Visual Studio when running MFCIE. ''Thanks for providing the compiled version. However, since I have not yet got enough info, would it be possible for you to please provide me with a debug build of mfcie?'' Here is the debug build: |
Comment 7 by ScottV on 2013-12-06 16:27 http://www.codeproject.com/Articles/3365/Embed-an-HTML-control-in-your-own-window-using-pla |
Comment 8 by mdcurran on 2013-12-09 00:35 |
Comment 9 by ScottV on 2013-12-09 01:57 http://www.teamsoftwaresolutions.com/other/MFCIEds.zip Just in case, you can also get the MFC 10 run time library from here. http://www.microsoft.com/en-us/download/details.aspx?id=5555 |
Comment 10 by mdcurran on 2013-12-09 05:03 With either NVDa or Narrator running, I get an access violation with the following stack in thread 0: It looks like mfc has some kind of custom accessibility implementation, which obviously only gets used by ATs such as NVDA or Narrator. However, perhaps there is a bug in its cleanup code. When the AT goes away or drops its reference to the MSAA COM object, an access violation occurs. And I guess stops the exit in its tracks. finally: The last build you gave me (the one you said was statically linked) still requires mfc100d.dll. Perhaps the crt is now statically linked, but mfc is not. The link you gave to the MVC runtime also won't help in this situation as Microsoft does not redistribute debug dlls. It only comes with Visual Studio itself. |
According to @michaelDCurran's #3306 (comment), this issue seems to take place with Narrator as well, suggesting that it isn't an inherent NVDA problem. Additionally, Mick requested the original author of this ticket, who is now out-of-reach, to perform testing with Narrator and revert with results, which unfortunately hasn't been done. Unless Mick has any feedback or recommends otherwise, I suggest closing. @ehollig |
@michaelDCurran is there any update on this issue? |
@scottv is this still reproducible with NVDA 2019.1.1? |
I'm closing this because of lack of response. If this is still an issue, we can always reopen. |
Reported by ScottV on 2013-06-27 18:41
Applications developed with the Microsoft Foundation Class (MFC) CHTMLView will not exit when NVDA is running. When NVDA is exited the MFC CHTMLView application exits with out issues.
Sample CHTMLView application:
http://msdn.microsoft.com/en-us/library/ms177540(v=vs.80).aspx
The Application Window closes but the applications process remains running. NVDA seems to be hanging the main thread of the application Window with an Access Vialoation.
When NVDA is running there is an Unhandled Exception (0xC0000005) Access Violation Reading Memory Location when the application is closed.
When NVDA is not running there is no error when exiting.
What mechanism is NVDA using to read the text from the applications in order for the application to signal NVDA that it is closing, so the applcation or NVDA can release the memory to avoid the error?
The text was updated successfully, but these errors were encountered: