I've been trying to update my compiler to the new 5.1 but I keep getting a crash when codeblocks is loading it's GUI (I get the splash screen and it seems to load the plugins but crashes when it goes to load the gui.)
Here is the rpt file it creates:
Error occured on Wednesday, July 29, 2015 at 17:53:53.
codeblocks.exe caused an Access Violation at location 62CC8871 in module wxmsw28u_gcc_custom.dll Reading from location 00000010.
Registers:
eax=02902318 ebx=02902318 ecx=00000000 edx=00000000 esi=62e3eac8 edi=62e1a5a0
eip=62cc8871 esp=0028f070 ebp=0028f118 iopl=0 nv up ei pl zr na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
AddrPC Params
62CC8871 029DDD50 0028F1B4 0028F1B8 wxmsw28u_gcc_custom.dll!wxCheckDynamicCast(wxObject*, wxClassInfo*)
62B33EFA 02758380 02902318 00000000 wxmsw28u_gcc_custom.dll!wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
62B38390 02758380 02902318 00000000 wxmsw28u_gcc_custom.dll!wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*, wxXmlResourceHandler*)
62B3935E 02902318 00000000 0028F370 wxmsw28u_gcc_custom.dll!wxXmlResourceHandler::CreateChildren(wxObject*, bool)
62B08A89 029DDD50 0028F424 0028F428 wxmsw28u_gcc_custom.dll!wxPanelXmlHandler::DoCreateResource()
62B33EFA 02756AA8 028A2CE8 02902318 wxmsw28u_gcc_custom.dll!wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
62B38390 02756AA8 028A2CE8 02902318 wxmsw28u_gcc_custom.dll!wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*, wxXmlResourceHandler*)
62B38BB6 02902318 028A2CE8 0028F5D4 wxmsw28u_gcc_custom.dll!wxXmlResource::LoadPanel(wxPanel*, wxWindow*, wxString const&)
00434789 028A2CE8 00000000 FFFFFFFF codeblocks.exe!0x34789
0041C6A5 61851A5F 0028F730 0223FAEC codeblocks.exe!0x1c6a5
6184F6B8 027441D8 00000000 00000180 codeblocks.dll!ZN15DebuggerManager13CreateWindowsEv
0047224D 028A95A8 0028F934 FFFFFFFF codeblocks.exe!0x7224d
00486312 0028FA6C 00000001 FFFFFFFF codeblocks.exe!0x86312
0048E624 00000000 0028FCCC 007052F8 codeblocks.exe!0x8e624
0040208D 00000000 FFFFFFFF 00000000 codeblocks.exe!0x208d
00407E6F 0028FDCC 006D6190 007A0000 codeblocks.exe!0x7e6f
62757E6D 00400000 00000000 009D2756 wxmsw28u_gcc_custom.dll!wxEntryReal(int&, wchar_t**)
00401DA8 7EFDE000 00000000 7EFDE000 codeblocks.exe!0x1da8
004010FD 7EFDE000 771919C1 00000000 codeblocks.exe!0x10fd
77C292E2 004012A0 7EFDE000 00000000 ntdll.dll!__RtlUserThreadStart
77C292B5 004012A0 7EFDE000 00000000 ntdll.dll!_RtlUserThreadStart
codeblocks.exe 13.12.0.0
ntdll.dll 6.1.7601.18869
kernel32.dll 6.1.7601.18869
KERNELBASE.dll 6.1.7601.18869
wxmsw28u_gcc_custom.dll 2.8.12.0
ADVAPI32.DLL 6.1.7601.18869
msvcrt.dll 7.0.7601.17744
sechost.dll 6.1.7601.18869
RPCRT4.dll 6.1.7601.18912
SspiCli.dll 6.1.7601.18912
CRYPTBASE.dll 6.1.7601.18912
COMCTL32.DLL 6.10.7601.18837
GDI32.dll 6.1.7601.18898
USER32.dll 6.1.7601.17514
LPK.dll 6.1.7601.18923
USP10.dll 1.626.7601.18454
SHLWAPI.dll 6.1.7601.17514
COMDLG32.DLL 6.1.7601.17514
SHELL32.dll 6.1.7601.18762
OLE32.dll 6.1.7601.18915
OLEAUT32.DLL 6.1.7601.18679
WINMM.DLL 6.1.7601.17514
WINSPOOL.DRV 6.1.7601.17514
WSOCK32.DLL 6.1.7600.16385
WS2_32.dll 6.1.7601.17514
NSI.dll 6.1.7600.16385
SHFOLDER.DLL 6.1.7600.16385
exchndl.dll 0.7.5.0
mgwhelp.dll 0.7.5.0
dbghelp.dll 6.3.9600.17029
PSAPI.DLL 6.1.7600.16385
VERSION.dll 6.1.7600.16385
codeblocks.dll
wxpropgrid.dll
IMM32.DLL 6.1.7601.17514
MSCTF.dll 6.1.7601.18731
avghookx.dll 15.0.0.6081
uxtheme.dll 6.1.7600.16385
dwmapi.dll 6.1.7600.16385
CRYPTSP.dll 6.1.7601.18741
rsaenh.dll 6.1.7600.16385
RpcRtRemote.dll 6.1.7601.17514
msftedit.DLL 5.41.21.2510
Windows 6.1.7601
DrMingw 0.7.5
Using win 7 64bit, tdm mingw 5.1, wxWidgets 2.8: git says: v2.8.12-132-g1ff8161 The version of codeblocks is SVN 10376
The commands I have been using to build wxWidgets are as follows:
mingw32-make -j7 -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 CFLAGS=-O3 CXXFLAGS="-O3 -fno-keep-inline-dllexport" BUILD=release clean
mingw32-make -j7 -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 CFLAGS=-O3 CXXFLAGS="-O3 -fno-keep-inline-dllexport" BUILD=release
And when I remove the -O3 optimization it all works fine so it looks like a compiler issue.