Crash in wxWebViewEdge::Create when trying to use IE backend on MSW. (Issue #26152)

19 views
Skip to first unread message

dsa-t

unread,
Feb 2, 2026, 3:15:51 PM (3 days ago) Feb 2
to wx-...@googlegroups.com, Subscribed
dsa-t created an issue (wxWidgets/wxWidgets#26152)

Description

  1. Modify samples/webview/webview.cpp

  2. Before

wxWebViewConfiguration conf = wxWebView::NewConfiguration(backend);

Add

backend = wxWebViewBackendIE;

  1. Get a crash in wxWebViewEdge::Create

Stack trace:

 	wxmsw332ud_webview_vc_x64_custom.dll!std::_Construct_in_place<wxWebViewEdgeImpl *,wxWebViewEdgeImpl * const &>(wxWebViewEdgeImpl * & _Obj, wxWebViewEdgeImpl * const & <_Args_0>=0x00000149429b83e0) Line 522	C++
 	wxmsw332ud_webview_vc_x64_custom.dll!std::vector<wxWebViewEdgeImpl *,std::allocator<wxWebViewEdgeImpl *>>::_Emplace_back_with_unused_capacity<wxWebViewEdgeImpl * const &>(wxWebViewEdgeImpl * const & <_Val_0>=0x00000149429b83e0) Line 860	C++
 	wxmsw332ud_webview_vc_x64_custom.dll!std::vector<wxWebViewEdgeImpl *,std::allocator<wxWebViewEdgeImpl *>>::_Emplace_one_at_back<wxWebViewEdgeImpl * const &>(wxWebViewEdgeImpl * const & <_Val_0>=0x00000149429b83e0) Line 845	C++
 	wxmsw332ud_webview_vc_x64_custom.dll!std::vector<wxWebViewEdgeImpl *,std::allocator<wxWebViewEdgeImpl *>>::push_back(wxWebViewEdgeImpl * const & _Val=0x00000149429b83e0) Line 933	C++
 	wxmsw332ud_webview_vc_x64_custom.dll!wxWebViewConfigurationImplEdge::CreateOrGetEnvironment(wxWebViewEdgeImpl * impl=0x00000149429b83e0) Line 313	C++
 	wxmsw332ud_webview_vc_x64_custom.dll!wxWebViewEdgeImpl::Create() Line 483	C++
>	wxmsw332ud_webview_vc_x64_custom.dll!wxWebViewEdge::Create(wxWindow * parent=0x0000014940a78ab0, int id=-1, const wxString & url={...}, const wxPoint & pos={...}, const wxSize & size={...}, long style=0, const wxString & name={...}) Line 1081	C++
 	webviewsample.exe!WebFrame::WebFrame(const wxString & url={...}, int flags=1, wxWebViewWindowFeatures * windowFeatures=0x0000000000000000) Line 532	C++
 	webviewsample.exe!WebApp::OnInit() Line 377	C++
 	wxbase332ud_vc_x64_custom.dll!wxAppConsoleBase::CallOnInit() Line 92	C++
 	wxbase332ud_vc_x64_custom.dll!wxEntryReal::__l2::<lambda>() Line 560	C++
 	wxbase332ud_vc_x64_custom.dll!wxSafeCall<int,int <lambda>(void),int <lambda>(void)>(const wxEntryReal::__l2::int <lambda>(void) & func=int <lambda>(void){...}, const wxEntryReal::__l2::int <lambda>(void) & handler=int <lambda>(void){...}) Line 40	C++
 	wxbase332ud_vc_x64_custom.dll!wxEntryReal(int & argc=1, wchar_t * * argv=0x0000014940a6fb00) Line 557	C++
 	wxbase332ud_vc_x64_custom.dll!wxEntry(int & argc=1, wchar_t * * argv=0x0000014940a6fb00) Line 166	C++
 	wxmsw332ud_core_vc_x64_custom.dll!wxEntry(HINSTANCE__ * hInstance=0x00007ff6e6770000, HINSTANCE__ * __formal=0x0000000000000000, char * __formal=0x0000014940a6b0ba, int nCmdShow=10) Line 227	C++
 	webviewsample.exe!WinMain(HINSTANCE__ * hInstance=0x00007ff6e6770000, HINSTANCE__ * hPrevInstance=0x0000000000000000, char * lpCmdLine=0x0000014940a6b0ba, int nCmdShow=10) Line 345	C++
 	webviewsample.exe!invoke_main() Line 107	C++
 	webviewsample.exe!__scrt_common_main_seh() Line 288	C++
 	webviewsample.exe!__scrt_common_main() Line 331	C++
 	webviewsample.exe!WinMainCRTStartup(void * __formal=0x00000031d0db0000) Line 17	C++
 	kernel32.dll!BaseThreadInitThunk()	Unknown
 	ntdll.dll!RtlUserThreadStart()	Unknown

Platform and version information

  • wxWidgets version you use: 3.3 (master)
  • wxWidgets port you use: wxMSW
  • OS and its version: Windows 11


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26152@github.com>

VZ

unread,
Feb 2, 2026, 5:13:44 PM (3 days ago) Feb 2
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26152)

Can confirm, this can be reproduced even without modifying the sample, just by setting WX_WEBVIEW_BACKEND=wxWebViewIE in the environment. wxUSE_WEBVIEW_EDGE must be set to 1, of course.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26152/3837600617@github.com>

VZ

unread,
Feb 2, 2026, 5:21:05 PM (3 days ago) Feb 2
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26152)

OK, this is just due to not implementing CreateConfiguration() in wxWebViewFactoryIE, should be simple to fix...


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26152/3837616296@github.com>

VZ

unread,
Feb 2, 2026, 5:36:00 PM (3 days ago) Feb 2
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26152)

Should be fixed by #26153, please let me know if you still see any problems.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26152/3837650068@github.com>

VZ

unread,
Feb 4, 2026, 5:04:36 PM (20 hours ago) Feb 4
to wx-...@googlegroups.com, Subscribed

Closed #26152 as completed via 9975b0a.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/26152/issue_event/22541650706@github.com>

Reply all
Reply to author
Forward
0 new messages