[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #13443 [Tor Browser]: TB v4.0 (xul.dll) crashes on Windows
#13443: TB v4.0 (xul.dll) crashes on Windows
-------------------------+-------------------------------------------------
Reporter: | Owner: tbb-team
cypherpunks | Status: new
Type: defect | Milestone:
Priority: | Version:
critical | Keywords: tbb-crash, tbb-helpdesk-frequent,
Component: Tor | TorBrowserTeam201410
Browser | Parent ID:
Resolution: |
Actual Points: |
Points: |
-------------------------+-------------------------------------------------
Comment (by cypherpunks):
DirectShow's classes using [https://mxr.mozilla.org/mozilla-
esr31/source/media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.h#11
Component Object Model (COM)], which hardly depends on exception handling:
{{{
inline void _com_issue_error(HRESULT hr) throw(_com_error) {
#if __EXCEPTIONS
throw _com_error(hr);
#else
/* This is designed to use exceptions. If exceptions are disabled,
there is not much we can do here. */
__debugbreak();
#endif
}
}}}
Firefox can't handle exceptions if built using GCC (Linux or MinGW, -fno-
exceptions used). MSVC using cheap SEH so can handle exceptions. Not every
exception code is fatal, but if no exception handling enabled then every
error leads to program termination. MinGW version of _com_issue_error
makes it clear by generating interrupt #3.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13443#comment:42>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs