User forums > General (but related to Code::Blocks)
crash when cb20.03 exit
(1/1)
fancyivan:
Hi,
I tried to compile the codeblocks from source code. I works.
But after I launched the codeblocks.exe (with 14 plugins activated by default), and then close it, click the OK in popup window "save the 'default' Layout?". The application crashed.
And there is no default.conf which should be generated in C:\Users\USER\AppData\Roaming\CodeBlocks\.
When I removed the compiler.dll and debugger.dll from the folder: \output31_64\share\CodeBlocks\plugins\, it works fine (no crash). the default.conf will be generated after I close the application.
I tried very hard to debug it from the IDE, but can not capture any debug point or any info...
Anybody can give me some suggestion regarding this issue...?
Here is my environment:
1. Win10 x64
2. TDM-GCC64 (9.2.0)
3. wxWidgets3.1.3
--- Code: ---Enabled wxUSE_GRAPHICS_DIRECT2D
mingw32-make -j4 SHELL=cmd.exe -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release VENDOR=cb
--- End code ---
4. Codeblocks sourcecode: https://github.com/obfuscated/codeblocks_sf/tree/release-20.03
5. IDE: codeblocks-17.12-nosetup
5.1 open the project: src\CodeBlocks_wx31_64.cbp
5.2 Build All
5.3 copy wxmsw313u_gcc_cb.dll to src\devel31_64
5.3 run src\update31_64.bat, and then get the src\output31_64 finally.
Thanks~
Tao
Miguel Gimenez:
Do you have the lib_finder plugin activated?. There is a known problem with lib_finder and TDM9.2.0, see
http://forums.codeblocks.org/index.php/topic,23642.msg161686.html#msg161686
fancyivan:
Thanks for reply.
no, I only compiled the things in CodeBlocks_wx31_64.cbp. and it contains 14 plugins by default.
1. abbreviations.dll
2. astyle.dll
3. autosave.dll
4. classwizard.dll
5. codecompletion.dll
6. compiler.dll
7. debugger.dll
8. defaultmimehandler.dll
9. OccurrencesHighlighting.dll
10. openfileslist.dll
11. projectsimporter.dll
12. scriptedwizard.dll
13. todo.dll
14. xpmanifest.dll
And as I wrote in the first post, when I remove the 2 plugins (compiler.dll and debugger.dll) out, it works fine.
--- Quote from: Miguel Gimenez on April 22, 2020, 01:21:08 pm ---Do you have the lib_finder plugin activated?. There is a known problem with lib_finder and TDM9.2.0, see
http://forums.codeblocks.org/index.php/topic,23642.msg161686.html#msg161686
--- End quote ---
based on the above url you provide, I think I can dig a little bit from 2 different ways:
1. use old version of TDM-GCC64 (5.1.0-2) instead of 9.2.0
2. try to add -g when compile wxwidgets 3.1.3, and gdb the CodeBlocks_wx31_64.cbp project, hope I can capture some useful debug info.
will back to this post after I have some answer.
Thanks~
Tao
fancyivan:
interesting...., use TDM-GCC64 (5.1.0-2), it works fine... all steps are exactly the same, except the TDM-GCC version...
oBFusCATed:
We're using mingw-w64 8.x.x for the night builds and releases as far as I know.
Navigation
[0] Message Index
Go to full version