Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Build C::B against wx3.02 with gcc 5.2 under Windows
oBFusCATed:
My guess is that your build is totally broken.
Because this kind of backtrace can happen only if you right or double click in the breakpoints dialog.
So if you're not doing so and you're getting this, then your build is totally broken.
The cause might be mixing old and new dlls, broken compiler, pch problems, etc.
So if I were you I start with deleting everything in .objs30, devel30 and output30.
ollydbg:
--- Quote from: oBFusCATed on September 27, 2015, 04:03:59 pm ---My guess is that your build is totally broken.
Because this kind of backtrace can happen only if you right or double click in the breakpoints dialog.
So if you're not doing so and you're getting this, then your build is totally broken.
The cause might be mixing old and new dlls, broken compiler, pch problems, etc.
So if I were you I start with deleting everything in .objs30, devel30 and output30.
--- End quote ---
But I did "deleting everything in .objs30, devel30 and output30." before I build the CodeBlocks_wx30.cbp. :(
So, I see the build library should be cleaned.
I'm debugging on the crash issue, it happens randomly, some times, when I enable the plugin, it crashes at the call on the line "new wxTreeCtrl(...)", sometimes, it doesn't.
About the backtrace showing on
--- Code: ---[debug]#8 0x001401da in ?? ()
[debug]#9 0x00000133 in ?? ()
[debug]#10 0xf3011d42 in ?? ()
[debug]#11 0x00410eea in BreakpointsDlg::OnOpen (this=0xffffffff, event=...)
--- End code ---
I think it is a gdb unwind issue, since there are many "?? ()" functions it can't unwinded.
stahta01:
CB Projects that I did NOT add PCH back to and the reason why:
Reason does NOT include sdk.h from inside source file (Header files do NOT count)
DevPak
ProjectOptionsManipulator
Exporter
Tools Plus Plugin
wxWidgets - Contrib Items
wxSmith
Reason does NOT include sdk.h from inside source file before any other includes
AutoVersioning
Code Snippets
KeyBinder
SmartIndent
NassiShneiderman
Reason does NOT include sdk.h from inside source file (After #pragma implementation do NOT count)
DragScroll
KeyBinder
MouseSap
Reason includes sdk.h from inside header file.
FileManager Plugin
The bad reason did NOT wish to spend the time build wxSmith or wxWidgets - Contrib Items
wxSmith - wxAUI
wxSmith - Contrib Item
Tim S.
ollydbg:
@Tim, did you see the crash issue? After building Codeblocks_wx30.cbp(no contributed plugins are needed), when you "disable" or "enable" the "open files list" plugin (all the other plugins are by default enabled), I always see the crash.
BTW: I can start the codeblocks from devel30 folder, but when I try to start codeblocks from output30 folder, I get an error dialog, which says "The application failed to initialize properly(0xc000007b). Click on OK to terminate the application.
I don't use the old configure files, because I use the CbLauncher.exe to launch the codeblocks, also I have totally clean the PATH, because I run CbLauncher.exe inside a bat file(this make the PATH environment clean), such as:
--- Code: ---@set PATH=E:\code\common_bin;D:\wx3\lib\gcc_dll;E:\code\gcc\i686-5.2.0-release-posix-dwarf-rt_v4-rev0\mingw32\bin
start cblauncher.exe --debug-log
--- End code ---
stahta01:
I did NOT see the open files causing an issue when enable and then disable it.
The only plugins that started enabled was compiler and help.
I had to copy these DLLs from the MInGW bin folder to get CB to run from devel30_64 folder.
libgcc_s_seh-1.dll
libwinpthread-1.dll
libstdc++-6.dll
Edit: From output30_64 folder I get the same results.
NOTE: I have no MinGW installations in my system PATH variables because it caused issues in the past to me.
Edit2: Started CB from command prompt with path only set to output30_64 and still no issue
Started the second time this way with all core plugins enabled and some contrib plugs enabled and still no issue with enable and disable Open Files Plugin.
--- Code: ---cd C:\SourceCode\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_windows-git\src\output30_64
set path=C:\SourceCode\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_windows-git\src\output30_64
codeblocks
--- End code ---
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version