Skip to content

[Bug]: Assertion failure in SearchDynamicEventTable() when closing Preferences #3815

@mimosius

Description

@mimosius

What happened?

ASSERT INFO:
./src/common/event.cpp(1981): assert "nNew != dynamicEvents.size()" failed in SearchDynamicEventTable().

BACKTRACE:
[1] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[2] wxEvtHandler::TryHereOnly(wxEvent&)
[3] wxEvtHandler::ProcessEventLocally(wxEvent&)
[4] wxEvtHandler::ProcessEvent(wxEvent&)
[5] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[6] wxEvtHandler::ProcessPendingEvents()
[7] wxApp::DoIdle()
[8] g_main_loop_run
[9] gtk_main
[10] wxGUIEventLoop::DoRun()
[11] wxEventLoopBase::Run()
[12] wxAppConsoleBase::MainLoop()
[13] wxEntry(int&, wchar_t**)
[14] __libc_start_main

Version

Self compiled

18.2.0+git171.gd589b09e6

wxWidgets Library (wxGTK port)
Version 3.2.8 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.51.
Compile-time GTK+ version is 3.24.50.

Operating system

Linux

Steps to reproduce

Open a workspace and a file from within, navigate to Settings -> Preferences, and click OK.

Notes:

The issue is reproducible on wx 3.2.8.x but is not present in wx 3.3-devel.

It looks like a dynamic event binding isssue.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions