User forums > General (but related to Code::Blocks)

Compilation error using wxWidgets 3.3.3

<< < (3/3)

everSome:
FWIW, I get the following stack trace on starting Code::Blocks r13908 in an MSYS2 UCRT64 environment compiled with g++ 16.1 for the assert "page must be a child of the notebook"

--- Quote ---#0 0x7ffb856b0c31   wxAuiNotebook::InsertPage(this=0x318d1c0, page_idx=2, page=0x7a7a5c0, caption=..., select=false, bitmap=...) (C:\msys64\home\NateJoe\wxWidgets\wxRegEx_changes\NewConfig\wxWidgets-3.3.3\src\aui\auibook.cpp:2335)
#1 0x7ffb856b0a4c   wxAuiNotebook::AddPage(this=0x318d1c0, page=0x7a7a5c0, caption=..., select=false, bitmap=...) (C:\msys64\home\NateJoe\wxWidgets\wxRegEx_changes\NewConfig\wxWidgets-3.3.3\src\aui\auibook.cpp:2321)
#2 0x7ffb6f688960   cbAuiNotebook::AddPage(this=0x318d1c0, page=0x7a7a5c0, caption=..., select=false, bitmap=...) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\sdk\cbauibook.cpp:516)
#3 0x7ffb404c84c7   FileManagerPlugin::OnAttach(this=0x6bb3330) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\plugins\contrib\FileManager\FileManager.cpp:45)
#4 0x7ffb6f6a3267   cbPlugin::Attach(this=0x6bb3330) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\sdk\cbplugin.cpp:73)
#5 0x7ffb6f75643d   PluginManager::AttachPlugin(this=0x6594b90, plugin=0x6bb3330, ignoreSafeMode=false) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\sdk\pluginmanager.cpp:203)
#6 0x7ffb6f75c986   PluginManager::LoadAllPlugins(this=0x6594b90) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\sdk\pluginmanager.cpp:1202)
#7 0x7ff6bdf14b30   MainFrame::ScanForPlugins(this=0x2f771e0) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\src\main.cpp:1507)
#8 0x7ff6bdf0d291   MainFrame::MainFrame(this=0x2f771e0, parent=0x0) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\src\main.cpp:794)
#9 0x7ff6bdeb39b2   CodeBlocksApp::InitFrame(this=0x7fa880) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\src\app.cpp:571)
#10 0x7ff6bdeb5450   CodeBlocksApp::OnInit(this=0x7fa880) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\src\app.cpp:810)
#11 0x7ff6bdfb6655   wxAppConsoleBase::CallOnInit(this=0x7fa880) (C:\msys64\home\NateJoe\wxWidgets\wxRegEx_changes\NewConfig\wxWidgets-3.3.3\include\wx\app.h:92)
#12 0x7ffb851f07bc   operator() (__closure=0x5ffda7) (C:\msys64\home\NateJoe\wxWidgets\wxRegEx_changes\NewConfig\wxWidgets-3.3.3\src\common\init.cpp:553)
#13 0x7ffb851f0b2f   wxSafeCall<int, wxEntryReal(int&, wxChar**)::<lambda()>, wxEntryReal(int&, wxChar**)::<lambda()> >(const struct {...} &, const struct {...} &)(func=..., handler=...) (C:\msys64\home\NateJoe\wxWidgets\wxRegEx_changes\NewConfig\wxWidgets-3.3.3\include\wx\private\safecall.h:40)
#14 0x7ffb851f0995   wxEntryReal(argc=@0x7ffb86621ea0: 9, argv=0x7fbcb0) (C:\msys64\home\NateJoe\wxWidgets\wxRegEx_changes\NewConfig\wxWidgets-3.3.3\src\common\init.cpp:550)
#15 0x7ffb85288c00   wxEntry(argc=@0x7ffb86621ea0: 9, argv=0x7fbcb0) (C:\msys64\home\NateJoe\wxWidgets\wxRegEx_changes\NewConfig\wxWidgets-3.3.3\src\msw\main.cpp:175)
#16 0x7ffb85288cf0   wxEntry(hInstance=0x7ff6bdeb0000, nCmdShow=10) (C:\msys64\home\NateJoe\wxWidgets\wxRegEx_changes\NewConfig\wxWidgets-3.3.3\src\msw\main.cpp:226)
#17 0x7ff6bdeb2c73   WinMain(hInstance=0x7ff6bdeb0000, hPrevInstance=0x0, lpCmdLine=0x724cbf "--debug-log --no-dde --no-check-associations --multiple-instance --no-splash-screen --verbose -p debug", nCmdShow=10) (C:\msys64\home\NateJoe\CodeBlocks\codeblocks-code-r13908-trunk\src\src\app.cpp:381)
#18 0x7ff6be02d05a   main(argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) (D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:62)
#19 0x7ff6bdeb115a   __tmainCRTStartup() (D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:265)
#20 0x7ffc042e7374   KERNEL32!BaseThreadInitThunk() (C:\WINDOWS\System32\kernel32.dll:??)
#21 0x7ffc04f1cc91   ntdll!RtlUserThreadStart() (C:\WINDOWS\SYSTEM32\ntdll.dll:??)
#22 ??   ?? () (??:??)

--- End quote ---

Miguel Gimenez:
Should be fixed in r13909, thanks for reporting.

gd_on:
Looks OK now. Thanks all. Of course, still needs further tests, but the debug alert mentionned above has disapeared.

Navigation

[0] Message Index

[*] Previous page

Go to full version