Author Topic: Code::Blocks Version 20.03 Crashes When Run On Linux?  (Read 9738 times)

Offline JeZxLee

  • Multiple posting newcomer
  • *
  • Posts: 10
Code::Blocks Version 20.03 Crashes When Run On Linux?
« on: April 27, 2020, 08:07:26 pm »
Hi,

Running openSUSE Tumbleweed KDE 64Bit Linux.
I installed Code::Blocks 20.03.
When I run C::B's from menu nothing happens?
When I run C:B's from terminal I get the following error:
Any ideas, thanks!

Jesse
Code
jlp@SortaFastDesktop:~> codeblocks
Starting Code::Blocks Release 20.03  rev 11997 Apr 12 2020, 00:00:00 - wx3.0.4 - gcc 9.3.1 (Linux, unicode) - 64 bit
Manager initialized
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
EditorConfig: loaded
ProjectOptionsManipulator: loaded
Autosave: loaded
ClassWizard: loaded
CodeCompletion: loaded
Compiler: loaded
copystrings: loaded
Debugger: loaded
FilesExtensionHandler: loaded
OccurrencesHighlighting: loaded
OpenFilesList: loaded
ProjectsImporter: loaded
rndgen: loaded
ScriptedWizard: loaded
ToDoList: loaded
AStylePlugin: loaded
AutoVersioning: loaded
BrowseTracker: loaded
Cccc: loaded
CppCheck: loaded
Cscope: loaded
DoxyBlocks: loaded
EditorTweaks: loaded
FileManager: loaded
HexEditor: loaded
IncrementalSearch: loaded
MouseSap: loaded
NassiShneidermanPlugin: loaded
Profiler: loaded
RegExTestbed: loaded
ReopenEditor: loaded
SmartIndentCpp: loaded
SmartIndentFortran: loaded
SmartIndentHDL: loaded
SmartIndentLua: loaded
SmartIndentPascal: loaded
SmartIndentPython: loaded
SmartIndentXML: loaded
SpellChecker: loaded
SymTab: loaded
ThreadSearch: loaded
ToolsPlus: loaded
Valgrind: loaded
Abbreviations: loaded
BYOGames: loaded
CB_Koders: loaded
CodeSnippets: loaded
CodeStat: loaded
cbDragScroll: loaded
EnvVars: loaded
Exporter: loaded
HeaderFixup: loaded
HelpPlugin: loaded
cbKeyBinder: loaded
lib_finder: loaded
wxSmithAui: loaded
wxSmith: loaded
wxSmithMime: loaded
wxSmithContribItems: loaded
EditorConfig plugin for Code::Blocks plugin activated
Project options manipulator plugin activated
Autosave plugin activated
Class wizard plugin activated
Code completion plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
Added compiler "GNU Fortran Compiler"
Added compiler "G95 Fortran Compiler"
Added compiler "GNU GCC Compiler for ARM"
Added compiler "GNU GCC Compiler for Android"
Added compiler "GNU GCC Compiler for AVR"
Added compiler "GNU GCC Compiler for Blackfin"
Added compiler "LLVM Clang Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "LLVM D Compiler"
Added compiler "GNU GCC Compiler for LM32"
Added compiler "GNU GCC Compiler for LM8"
Added compiler "GNU GCC Compiler for MSP430 (HighTec)"
Added compiler "*No Compiler*"
Added compiler "PGI Fortran Compiler"
Added compiler "GNU GCC Compiler for PowerPC EABI"
Added compiler "GNU GCC Compiler for PowerPC (HighTec)"
Added compiler "Small Device C Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
Added compiler "GNU GCC Compiler for ZPU"
Master path of compiler ID "gcc" is empty -> triggers auto-detection.
Master path of compiler ID "icc" is empty -> triggers auto-detection.
Master path of compiler ID "sdcc" is empty -> triggers auto-detection.
Master path of compiler ID "tcc" is empty -> triggers auto-detection.
Master path of compiler ID "clang" is empty -> triggers auto-detection.
Master path of compiler ID "arm-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "android-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "avr-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "bfin-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm32-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm8-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "zpu-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "msp430-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "tricore-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "ppc-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "powerpc-eabi" is empty -> triggers auto-detection.
Master path of compiler ID "gdc" is empty -> triggers auto-detection.
Master path of compiler ID "ldc" is empty -> triggers auto-detection.
Master path of compiler ID "dmd" is empty -> triggers auto-detection.
Master path of compiler ID "gfortran" is empty -> triggers auto-detection.
Master path of compiler ID "g95" is empty -> triggers auto-detection.
Master path of compiler ID "pgifortran" is empty -> triggers auto-detection.
Master path of compiler ID "null" is empty -> triggers auto-detection.
Compiler plugin activated
Copy Strings to clipboard plugin activated
Debugger plugin activated
Files extension handler plugin activated
OccurrencesHighlighting plugin activated
Open files list plugin activated
Foreign projects importer plugin activated
rndgen plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Java application'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenCV project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'QT4 (shared) project'
Project wizard added for 'QT5 project'
Project wizard added for 'SDL project'
Project wizard added for 'SDL2 project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'Arduino Project'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'MSP430 Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'D source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
File(s) wizard added for 'Java source'
Scripted wizard plugin activated
Todo List plugin activated
Source code formatter (AStyle) plugin activated
AutoVersioning plugin activated
BrowseTracker plugin activated
Cccc plugin activated
CppCheck plugin activated
Cscope plugin activated
DoxyBlocks plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
FileManager plugin activated
HexEditor plugin activated
IncrementalSearch plugin activated
MouseSap plugin activated
NassiShneidermanPlugin plugin activated
Code profiler plugin activated
Regular expressions testbed plugin activated
ReopenEditor plugin activated
SmartIndentCpp plugin activated
SmartIndentFortran plugin activated
SmartIndentHDL plugin activated
SmartIndentLua plugin activated
SmartIndentPascal plugin activated
SmartIndentPython plugin activated
SmartIndentXML plugin activated
Detected dict path: /usr/share/hunspell
Detected thes path: /usr/share/mythes
Selected dictionary: en_US
Found dictionary: en_US
Loading image: '/usr/share/codeblocks/SpellChecker/16x16/en_US.png' succeeded!
SpellChecker plugin activated
Symbol Table Plugin plugin activated
ThreadSearch plugin activated
ToolsPlus plugin activated
Valgrind plugin activated
Abbreviations plugin activated
BYO Games plugin activated
Koders query plugin activated
Code snippets plugin activated
Code statistics plugin activated
DragScroll plugin activated
Environment variables plugin activated
Source Exporter plugin activated
Header Fixup plugin activated
Help plugin plugin activated
Keyboard shortcuts plugin activated

(codeblocks:32053): Gtk-CRITICAL **: 14:00:36.606: IA__gtk_tree_model_iter_nth_child: assertion 'n >= 0' failed
Segmentation fault (core dumped)
jlp@SortaFastDesktop:~>

Each time I run C::B from terminal I see the "Compilers auto-detection" dialog.
After selecting the compiler it crashes?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #1 on: April 27, 2020, 08:10:32 pm »
Can you post a backtrace? Use something like
Code
gdb /usr/bin/codeblocks

If you have packages with debug symbol it will be good if you can install them before running gdb.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline JeZxLee

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #2 on: April 27, 2020, 08:22:46 pm »
Requested info is below:
Code
jlp@SortaFastDesktop:~> gdb /usr/bin/codeblocks
/usr/share/gdb/python/gdb/command/prompt.py:48: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
/usr/share/gdb/python/gdb/command/prompt.py:60: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
GNU gdb (GDB; openSUSE Tumbleweed) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/codeblocks...
Reading symbols from /usr/lib/debug/usr/bin/codeblocks-20.03-2.7.x86_64.debug...
(gdb) run
Starting program: /usr/bin/codeblocks
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.31-3.2.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff4e63700 (LWP 4719)]
[New Thread 0x7fffeffff700 (LWP 4720)]
[New Thread 0x7fffef7fe700 (LWP 4721)]
Starting Code::Blocks Release 20.03  rev 11997 Apr 12 2020, 00:00:00 - wx3.0.4 - gcc 9.3.1 (Linux, unicode) - 64 bit
[Detaching after vfork from child process 4722]
Manager initialized
Initialize EditColourSet .....
[New Thread 0x7fffeef51700 (LWP 4724)]
[New Thread 0x7fffee750700 (LWP 4725)]
[New Thread 0x7fffedf4f700 (LWP 4726)]
Initialize EditColourSet: done.
Loading menubar...
EditorConfig: loaded
ProjectOptionsManipulator: loaded
Autosave: loaded
ClassWizard: loaded
[New Thread 0x7fffed49f700 (LWP 4728)]
CodeCompletion: loaded
Compiler: loaded
copystrings: loaded
Debugger: loaded
FilesExtensionHandler: loaded
OccurrencesHighlighting: loaded
OpenFilesList: loaded
ProjectsImporter: loaded
rndgen: loaded
ScriptedWizard: loaded
ToDoList: loaded
AStylePlugin: loaded
AutoVersioning: loaded
BrowseTracker: loaded
Cccc: loaded
CppCheck: loaded
Cscope: loaded
DoxyBlocks: loaded
EditorTweaks: loaded
FileManager: loaded
HexEditor: loaded
IncrementalSearch: loaded
MouseSap: loaded
NassiShneidermanPlugin: loaded
Profiler: loaded
RegExTestbed: loaded
ReopenEditor: loaded
SmartIndentCpp: loaded
SmartIndentFortran: loaded
SmartIndentHDL: loaded
SmartIndentLua: loaded
SmartIndentPascal: loaded
SmartIndentPython: loaded
SmartIndentXML: loaded
SpellChecker: loaded
SymTab: loaded
ThreadSearch: loaded
ToolsPlus: loaded
Valgrind: loaded
Abbreviations: loaded
BYOGames: loaded
CB_Koders: loaded
CodeSnippets: loaded
CodeStat: loaded
cbDragScroll: loaded
EnvVars: loaded
Exporter: loaded
HeaderFixup: loaded
HelpPlugin: loaded
cbKeyBinder: loaded
lib_finder: loaded
[Detaching after vfork from child process 4729]
[Detaching after vfork from child process 4731]
[Detaching after vfork from child process 4733]
[Detaching after vfork from child process 4735]
[Detaching after vfork from child process 4737]
[Detaching after vfork from child process 4749]
[Detaching after vfork from child process 4761]
[Detaching after vfork from child process 4773]
wxSmithAui: loaded
wxSmith: loaded
wxSmithMime: loaded
wxSmithContribItems: loaded
EditorConfig plugin for Code::Blocks plugin activated
Project options manipulator plugin activated
Autosave plugin activated
Class wizard plugin activated
Code completion plugin activated
Added compiler "GNU GCC Compiler"
[Detaching after fork from child process 4788]
[Detaching after fork from child process 4789]
[Detaching after fork from child process 4790]
[Detaching after fork from child process 4791]
[Detaching after fork from child process 4792]
[Detaching after fork from child process 4793]
[Detaching after fork from child process 4794]
[Detaching after fork from child process 4795]
[Detaching after fork from child process 4796]
[Detaching after fork from child process 4797]
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
[Detaching after fork from child process 4798]
[Detaching after fork from child process 4799]
[Detaching after fork from child process 4800]
Added compiler "GNU Fortran Compiler"
[Detaching after fork from child process 4801]
[Detaching after fork from child process 4802]
[Detaching after fork from child process 4803]
Added compiler "G95 Fortran Compiler"
[Detaching after fork from child process 4804]
[Detaching after fork from child process 4805]
[Detaching after fork from child process 4806]
Added compiler "GNU GCC Compiler for ARM"
[Detaching after fork from child process 4807]
[Detaching after fork from child process 4808]
[Detaching after fork from child process 4809]
[Detaching after fork from child process 4810]
[Detaching after fork from child process 4811]
Added compiler "GNU GCC Compiler for Android"
[Detaching after fork from child process 4812]
[Detaching after fork from child process 4813]
[Detaching after fork from child process 4814]
[Detaching after fork from child process 4815]
[Detaching after fork from child process 4816]
Added compiler "GNU GCC Compiler for AVR"
[Detaching after fork from child process 4817]
[Detaching after fork from child process 4818]
[Detaching after fork from child process 4819]
[Detaching after fork from child process 4820]
[Detaching after fork from child process 4821]
Added compiler "GNU GCC Compiler for Blackfin"
[Detaching after fork from child process 4822]
[Detaching after fork from child process 4823]
[Detaching after fork from child process 4824]
[Detaching after fork from child process 4825]
[Detaching after fork from child process 4826]
Added compiler "LLVM Clang Compiler"
[Detaching after fork from child process 4827]
[Detaching after fork from child process 4828]
[Detaching after fork from child process 4829]
[Detaching after fork from child process 4830]
Added compiler "Digital Mars D Compiler"
Added compiler "LLVM D Compiler"
Added compiler "GNU GCC Compiler for LM32"
[Detaching after fork from child process 4831]
[Detaching after fork from child process 4832]
[Detaching after fork from child process 4833]
[Detaching after fork from child process 4834]
[Detaching after fork from child process 4835]
Added compiler "GNU GCC Compiler for LM8"
[Detaching after fork from child process 4836]
[Detaching after fork from child process 4837]
[Detaching after fork from child process 4838]
[Detaching after fork from child process 4839]
[Detaching after fork from child process 4840]
Added compiler "GNU GCC Compiler for MSP430 (HighTec)"
[Detaching after fork from child process 4841]
[Detaching after fork from child process 4842]
[Detaching after fork from child process 4843]
[Detaching after fork from child process 4844]
[Detaching after fork from child process 4845]
Added compiler "*No Compiler*"
Added compiler "PGI Fortran Compiler"
Added compiler "GNU GCC Compiler for PowerPC EABI"
Added compiler "GNU GCC Compiler for PowerPC (HighTec)"
[Detaching after fork from child process 4846]
[Detaching after fork from child process 4847]
[Detaching after fork from child process 4848]
[Detaching after fork from child process 4849]
[Detaching after fork from child process 4850]
Added compiler "Small Device C Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
[Detaching after fork from child process 4851]
[Detaching after fork from child process 4852]
[Detaching after fork from child process 4853]
[Detaching after fork from child process 4854]
[Detaching after fork from child process 4855]
Added compiler "GNU GCC Compiler for ZPU"
[Detaching after fork from child process 4856]
[Detaching after fork from child process 4857]
[Detaching after fork from child process 4858]
[Detaching after fork from child process 4859]
[Detaching after fork from child process 4860]
Master path of compiler ID "gcc" is empty -> triggers auto-detection.
Master path of compiler ID "icc" is empty -> triggers auto-detection.
Master path of compiler ID "sdcc" is empty -> triggers auto-detection.
Master path of compiler ID "tcc" is empty -> triggers auto-detection.
Master path of compiler ID "clang" is empty -> triggers auto-detection.
Master path of compiler ID "arm-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "android-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "avr-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "bfin-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm32-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm8-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "zpu-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "msp430-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "tricore-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "ppc-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "powerpc-eabi" is empty -> triggers auto-detection.
Master path of compiler ID "gdc" is empty -> triggers auto-detection.
Master path of compiler ID "ldc" is empty -> triggers auto-detection.
Master path of compiler ID "dmd" is empty -> triggers auto-detection.
Master path of compiler ID "gfortran" is empty -> triggers auto-detection.
Master path of compiler ID "g95" is empty -> triggers auto-detection.
Master path of compiler ID "pgifortran" is empty -> triggers auto-detection.
Master path of compiler ID "null" is empty -> triggers auto-detection.
[New Thread 0x7fffdb28b700 (LWP 4861)]
Compiler plugin activated
Copy Strings to clipboard plugin activated
Debugger plugin activated
Files extension handler plugin activated
OccurrencesHighlighting plugin activated
Open files list plugin activated
Foreign projects importer plugin activated
rndgen plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Java application'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenCV project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'QT4 (shared) project'
Project wizard added for 'QT5 project'
Project wizard added for 'SDL project'
Project wizard added for 'SDL2 project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'Arduino Project'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'MSP430 Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'D source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
File(s) wizard added for 'Java source'
Scripted wizard plugin activated
Todo List plugin activated
Source code formatter (AStyle) plugin activated
AutoVersioning plugin activated
BrowseTracker plugin activated
Cccc plugin activated
CppCheck plugin activated
Cscope plugin activated
DoxyBlocks plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
[New Thread 0x7fffdaa8a700 (LWP 4862)]
FileManager plugin activated
HexEditor plugin activated
IncrementalSearch plugin activated
MouseSap plugin activated
NassiShneidermanPlugin plugin activated
Code profiler plugin activated
Regular expressions testbed plugin activated
ReopenEditor plugin activated
SmartIndentCpp plugin activated
SmartIndentFortran plugin activated
SmartIndentHDL plugin activated
SmartIndentLua plugin activated
SmartIndentPascal plugin activated
SmartIndentPython plugin activated
SmartIndentXML plugin activated
Detected dict path: /usr/share/hunspell
Detected thes path: /usr/share/mythes
Selected dictionary: en_US
Found dictionary: en_US
Loading image: '/usr/share/codeblocks/SpellChecker/16x16/en_US.png' succeeded!
SpellChecker plugin activated
Symbol Table Plugin plugin activated
ThreadSearch plugin activated
ToolsPlus plugin activated
Valgrind plugin activated
Abbreviations plugin activated
BYO Games plugin activated
Koders query plugin activated
Code snippets plugin activated
Code statistics plugin activated
DragScroll plugin activated
Environment variables plugin activated
Source Exporter plugin activated
Header Fixup plugin activated
Help plugin plugin activated
Keyboard shortcuts plugin activated
[Detaching after fork from child process 4863]

(codeblocks:4713): Gtk-CRITICAL **: 14:21:34.146: IA__gtk_tree_model_iter_nth_child: assertion 'n >= 0' failed
[New Thread 0x7fffda289700 (LWP 4864)]
[Thread 0x7fffda289700 (LWP 4864) exited]
[Detaching after fork from child process 4865]

Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #3 on: April 28, 2020, 01:25:21 am »
You have to execute the bt command or even "thread apply all bt"
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline JeZxLee

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #4 on: April 28, 2020, 02:58:15 am »
Not sure I did it right, but output is below:

Code
jlp@SortaFastDesktop:~> gdb /usr/bin/codeblocks
/usr/share/gdb/python/gdb/command/prompt.py:48: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
/usr/share/gdb/python/gdb/command/prompt.py:60: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
GNU gdb (GDB; openSUSE Tumbleweed) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/codeblocks...
Reading symbols from /usr/lib/debug/usr/bin/codeblocks-20.03-2.7.x86_64.debug...
(gdb) thread apply all bt
(gdb) run
Starting program: /usr/bin/codeblocks
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.31-3.2.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff4e61700 (LWP 26880)]
[New Thread 0x7fffeffff700 (LWP 26881)]
[New Thread 0x7fffef7fe700 (LWP 26882)]
Starting Code::Blocks Release 20.03  rev 11997 Apr 12 2020, 00:00:00 - wx3.0.4 - gcc 9.3.1 (Linux, unicode) - 64 bit
[Detaching after vfork from child process 26883]
Manager initialized
Initialize EditColourSet .....
[New Thread 0x7fffeef51700 (LWP 26885)]
[New Thread 0x7fffee750700 (LWP 26886)]
[New Thread 0x7fffedf4f700 (LWP 26887)]
Initialize EditColourSet: done.
Loading menubar...
EditorConfig: loaded
ProjectOptionsManipulator: loaded
Autosave: loaded
ClassWizard: loaded
[New Thread 0x7fffed485700 (LWP 26888)]
CodeCompletion: loaded
Compiler: loaded
copystrings: loaded
Debugger: loaded
FilesExtensionHandler: loaded
OccurrencesHighlighting: loaded
OpenFilesList: loaded
ProjectsImporter: loaded
rndgen: loaded
ScriptedWizard: loaded
ToDoList: loaded
AStylePlugin: loaded
AutoVersioning: loaded
BrowseTracker: loaded
Cccc: loaded
CppCheck: loaded
Cscope: loaded
DoxyBlocks: loaded
EditorTweaks: loaded
FileManager: loaded
HexEditor: loaded
IncrementalSearch: loaded
MouseSap: loaded
NassiShneidermanPlugin: loaded
Profiler: loaded
RegExTestbed: loaded
ReopenEditor: loaded
SmartIndentCpp: loaded
SmartIndentFortran: loaded
SmartIndentHDL: loaded
SmartIndentLua: loaded
SmartIndentPascal: loaded
SmartIndentPython: loaded
SmartIndentXML: loaded
SpellChecker: loaded
SymTab: loaded
ThreadSearch: loaded
ToolsPlus: loaded
Valgrind: loaded
Abbreviations: loaded
BYOGames: loaded
CB_Koders: loaded
CodeSnippets: loaded
CodeStat: loaded
cbDragScroll: loaded
EnvVars: loaded
Exporter: loaded
HeaderFixup: loaded
HelpPlugin: loaded
cbKeyBinder: loaded
lib_finder: loaded
[Detaching after vfork from child process 26889]
[Detaching after vfork from child process 26891]
[Detaching after vfork from child process 26893]
[Detaching after vfork from child process 26895]
[Detaching after vfork from child process 26897]
[Detaching after vfork from child process 26909]
[Detaching after vfork from child process 26921]
[Detaching after vfork from child process 26933]
wxSmithAui: loaded
wxSmith: loaded
wxSmithMime: loaded
wxSmithContribItems: loaded
EditorConfig plugin for Code::Blocks plugin activated
Project options manipulator plugin activated
Autosave plugin activated
Class wizard plugin activated
Code completion plugin activated
Added compiler "GNU GCC Compiler"
[Detaching after fork from child process 26948]
[Detaching after fork from child process 26949]
[Detaching after fork from child process 26950]
[Detaching after fork from child process 26951]
[Detaching after fork from child process 26952]
[Detaching after fork from child process 26953]
[Detaching after fork from child process 26954]
[Detaching after fork from child process 26955]
[Detaching after fork from child process 26956]
[Detaching after fork from child process 26957]
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
[Detaching after fork from child process 26958]
[Detaching after fork from child process 26959]
[Detaching after fork from child process 26960]
Added compiler "GNU Fortran Compiler"
[Detaching after fork from child process 26961]
[Detaching after fork from child process 26962]
[Detaching after fork from child process 26963]
Added compiler "G95 Fortran Compiler"
[Detaching after fork from child process 26964]
[Detaching after fork from child process 26965]
[Detaching after fork from child process 26966]
Added compiler "GNU GCC Compiler for ARM"
[Detaching after fork from child process 26967]
[Detaching after fork from child process 26968]
[Detaching after fork from child process 26969]
[Detaching after fork from child process 26970]
[Detaching after fork from child process 26971]
Added compiler "GNU GCC Compiler for Android"
[Detaching after fork from child process 26972]
[Detaching after fork from child process 26973]
[Detaching after fork from child process 26974]
[Detaching after fork from child process 26975]
[Detaching after fork from child process 26976]
Added compiler "GNU GCC Compiler for AVR"
[Detaching after fork from child process 26977]
[Detaching after fork from child process 26978]
[Detaching after fork from child process 26979]
[Detaching after fork from child process 26980]
[Detaching after fork from child process 26981]
Added compiler "GNU GCC Compiler for Blackfin"
[Detaching after fork from child process 26982]
[Detaching after fork from child process 26983]
[Detaching after fork from child process 26984]
[Detaching after fork from child process 26985]
[Detaching after fork from child process 26986]
Added compiler "LLVM Clang Compiler"
[Detaching after fork from child process 26987]
[Detaching after fork from child process 26988]
[Detaching after fork from child process 26989]
[Detaching after fork from child process 26990]
Added compiler "Digital Mars D Compiler"
Added compiler "LLVM D Compiler"
Added compiler "GNU GCC Compiler for LM32"
[Detaching after fork from child process 26991]
[Detaching after fork from child process 26992]
[Detaching after fork from child process 26993]
[Detaching after fork from child process 26994]
[Detaching after fork from child process 26995]
Added compiler "GNU GCC Compiler for LM8"
[Detaching after fork from child process 26996]
[Detaching after fork from child process 26997]
[Detaching after fork from child process 26998]
[Detaching after fork from child process 26999]
[Detaching after fork from child process 27000]
Added compiler "GNU GCC Compiler for MSP430 (HighTec)"
[Detaching after fork from child process 27001]
[Detaching after fork from child process 27002]
[Detaching after fork from child process 27003]
[Detaching after fork from child process 27004]
[Detaching after fork from child process 27005]
Added compiler "*No Compiler*"
Added compiler "PGI Fortran Compiler"
Added compiler "GNU GCC Compiler for PowerPC EABI"
Added compiler "GNU GCC Compiler for PowerPC (HighTec)"
[Detaching after fork from child process 27006]
[Detaching after fork from child process 27007]
[Detaching after fork from child process 27008]
[Detaching after fork from child process 27009]
[Detaching after fork from child process 27010]
Added compiler "Small Device C Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
[Detaching after fork from child process 27011]
[Detaching after fork from child process 27012]
[Detaching after fork from child process 27013]
[Detaching after fork from child process 27014]
[Detaching after fork from child process 27015]
Added compiler "GNU GCC Compiler for ZPU"
[Detaching after fork from child process 27016]
[Detaching after fork from child process 27017]
[Detaching after fork from child process 27018]
[Detaching after fork from child process 27019]
[Detaching after fork from child process 27020]
Master path of compiler ID "gcc" is empty -> triggers auto-detection.
Master path of compiler ID "icc" is empty -> triggers auto-detection.
Master path of compiler ID "sdcc" is empty -> triggers auto-detection.
Master path of compiler ID "tcc" is empty -> triggers auto-detection.
Master path of compiler ID "clang" is empty -> triggers auto-detection.
Master path of compiler ID "arm-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "android-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "avr-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "bfin-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm32-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm8-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "zpu-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "msp430-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "tricore-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "ppc-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "powerpc-eabi" is empty -> triggers auto-detection.
Master path of compiler ID "gdc" is empty -> triggers auto-detection.
Master path of compiler ID "ldc" is empty -> triggers auto-detection.
Master path of compiler ID "dmd" is empty -> triggers auto-detection.
Master path of compiler ID "gfortran" is empty -> triggers auto-detection.
Master path of compiler ID "g95" is empty -> triggers auto-detection.
Master path of compiler ID "pgifortran" is empty -> triggers auto-detection.
Master path of compiler ID "null" is empty -> triggers auto-detection.
[New Thread 0x7fffdb289700 (LWP 27021)]
Compiler plugin activated
Copy Strings to clipboard plugin activated
Debugger plugin activated
Files extension handler plugin activated
OccurrencesHighlighting plugin activated
Open files list plugin activated
Foreign projects importer plugin activated
rndgen plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Java application'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenCV project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'QT4 (shared) project'
Project wizard added for 'QT5 project'
Project wizard added for 'SDL project'
Project wizard added for 'SDL2 project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'Arduino Project'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'MSP430 Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'D source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
File(s) wizard added for 'Java source'
Scripted wizard plugin activated
Todo List plugin activated
Source code formatter (AStyle) plugin activated
AutoVersioning plugin activated
BrowseTracker plugin activated
Cccc plugin activated
CppCheck plugin activated
Cscope plugin activated
DoxyBlocks plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
[New Thread 0x7fffdaa88700 (LWP 27022)]
FileManager plugin activated
HexEditor plugin activated
IncrementalSearch plugin activated
MouseSap plugin activated
NassiShneidermanPlugin plugin activated
Code profiler plugin activated
Regular expressions testbed plugin activated
ReopenEditor plugin activated
SmartIndentCpp plugin activated
SmartIndentFortran plugin activated
SmartIndentHDL plugin activated
SmartIndentLua plugin activated
SmartIndentPascal plugin activated
SmartIndentPython plugin activated
SmartIndentXML plugin activated
Detected dict path: /usr/share/hunspell
Detected thes path: /usr/share/mythes
Selected dictionary: en_US
Found dictionary: en_US
Loading image: '/usr/share/codeblocks/SpellChecker/16x16/en_US.png' succeeded!
SpellChecker plugin activated
Symbol Table Plugin plugin activated
ThreadSearch plugin activated
ToolsPlus plugin activated
Valgrind plugin activated
Abbreviations plugin activated
BYO Games plugin activated
Koders query plugin activated
Code snippets plugin activated
Code statistics plugin activated
DragScroll plugin activated
Environment variables plugin activated
Source Exporter plugin activated
Header Fixup plugin activated
Help plugin plugin activated
Keyboard shortcuts plugin activated
[Detaching after fork from child process 27023]

(codeblocks:26876): Gtk-CRITICAL **: 20:56:47.140: IA__gtk_tree_model_iter_nth_child: assertion 'n >= 0' failed
[New Thread 0x7fffda287700 (LWP 27024)]
[Detaching after fork from child process 27025]
[Thread 0x7fffda287700 (LWP 27024) exited]

Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.
0x00007fffecd67916 in DoxyBlocks::OnUpdateUI (this=0x15ea080) at DoxyBlocks.cpp:238
238             m_pToolbar->Enable(false);
Missing separate debuginfos, use: zypper install glibc-locale-base-debuginfo-2.31-3.2.x86_64 gsettings-backend-dconf-debuginfo-0.34.0-2.1.x86_64 gtk2-theming-engine-adwaita-debuginfo-3.28-1.8.x86_64 gvfs-debuginfo-1.42.2-4.3.x86_64 libFLAC8-debuginfo-1.3.3-1.2.x86_64 libICE6-debuginfo-1.0.10-1.2.x86_64 libSDL2-2_0-0-debuginfo-2.0.12-2.1.x86_64 libSM6-debuginfo-1.2.3-1.6.x86_64 libX11-6-debuginfo-1.6.9-1.2.x86_64 libXcomposite1-debuginfo-0.4.5-1.3.x86_64 libXcursor1-debuginfo-1.2.0-1.3.x86_64 libXdamage1-debuginfo-1.1.5-1.5.x86_64 libXext6-debuginfo-1.3.4-1.5.x86_64 libXfixes3-debuginfo-5.0.3-1.9.x86_64 libXi6-debuginfo-1.7.10-1.3.x86_64 libXinerama1-debuginfo-1.1.4-1.6.x86_64 libXrandr2-debuginfo-1.5.2-1.5.x86_64 libXrender1-debuginfo-0.9.10-1.10.x86_64 libasound2-debuginfo-1.2.2-1.1.x86_64 libatk-1_0-0-debuginfo-2.34.1-1.2.x86_64 libblkid1-debuginfo-2.35.1-1.1.x86_64 libbz2-1-debuginfo-1.0.8-2.2.x86_64 libcairo2-debuginfo-1.16.0-3.1.x86_64 libcanberra-gtk0-debuginfo-0.30-15.8.x86_64 libcanberra-gtk2-module-debuginfo-0.30-15.8.x86_64 libdatrie1-debuginfo-0.2.10-1.7.x86_64 libdbus-1-3-debuginfo-1.12.16-2.1.x86_64 libexpat1-debuginfo-2.2.9-1.2.x86_64 libffi8-debuginfo-3.3.git30-1.2.x86_64 libfontconfig1-debuginfo-2.13.1-2.5.x86_64 libfreetype6-debuginfo-2.10.1-2.2.x86_64 libfribidi0-debuginfo-1.0.5-2.2.x86_64 libgamin-1-0-debuginfo-0.1.10-16.1.x86_64 libgcc_s1-debuginfo-10.0.1+git175037-1.5.x86_64 libgcrypt20-debuginfo-1.8.5-2.3.x86_64 libgdk_pixbuf-2_0-0-debuginfo-2.40.0-3.1.x86_64 libgio-2_0-0-debuginfo-2.62.6-1.1.x86_64 libglib-2_0-0-debuginfo-2.62.6-1.1.x86_64 libgmodule-2_0-0-debuginfo-2.62.6-1.1.x86_64 libgobject-2_0-0-debuginfo-2.62.6-1.1.x86_64 libgtk-2_0-0-debuginfo-2.24.32+67-3.1.x86_64 libharfbuzz0-debuginfo-2.6.4-1.3.x86_64 libhunspell-1_7-0-debuginfo-1.7.0-1.6.x86_64 libjbig2-debuginfo-2.1-3.18.x86_64 libjpeg8-debuginfo-8.2.2-58.1.x86_64 liblz4-1-debuginfo-1.9.2-1.6.x86_64 liblzma5-debuginfo-5.2.5-1.1.x86_64 libmount1-debuginfo-2.35.1-1.1.x86_64 libmspack0-debuginfo-0.10.1-1.5.x86_64 libnotify4-debuginfo-0.7.9-1.1.x86_64 libogg0-debuginfo-1.3.4-1.2.x86_64 libpango-1_0-0-debuginfo-1.44.7+11-1.2.x86_64 libpixman-1-0-debuginfo-0.36.0-1.6.x86_64 libpng16-16-debuginfo-1.6.37-1.5.x86_64 libspeex1-debuginfo-1.2-1.10.x86_64 libstdc++6-debuginfo-10.0.1+git175037-1.5.x86_64 libsystemd0-debuginfo-245-1.1.x86_64 libthai0-debuginfo-0.1.27-2.7.x86_64 libunity-gtk2-parser0-debuginfo-0.0.0+bzr20171202-1.8.x86_64 libuuid1-debuginfo-2.35.1-1.1.x86_64 libvorbis0-debuginfo-1.3.6-3.9.x86_64 libvorbisenc2-debuginfo-1.3.6-3.9.x86_64 libvorbisfile3-debuginfo-1.3.6-3.9.x86_64 libwx_baseu-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_baseu_net-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_baseu_xml-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_gtk2u_adv-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_gtk2u_aui-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_gtk2u_core-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_gtk2u_html-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_gtk2u_propgrid-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_gtk2u_qa-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwx_gtk2u_xrc-suse-nostl3_0_4-debuginfo-3.0.4-3.4.x86_64 libwxruntime0-debuginfo-20.03-2.7.x86_64 libxcb-render0-debuginfo-1.14-1.1.x86_64 libxcb-shm0-debuginfo-1.14-1.1.x86_64 libz1-debuginfo-1.2.11-12.2.x86_64 unity-gtk2-module-debuginfo-0.0.0+bzr20171202-1.8.x86_64
(gdb)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #5 on: April 28, 2020, 10:01:20 am »
You haven't. Here is an example gdb command list: https://wiki.ubuntu.com/Backtrace#Generation

If you see this again:
Code
Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.
0x00007fffecd67916 in DoxyBlocks::OnUpdateUI (this=0x15ea080) at DoxyBlocks.cpp:238
238             m_pToolbar->Enable(false);

You can try executing this commands:
Code
p m_pToolbar
p *m_pToolbar

(These are two separate commands)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline JeZxLee

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #6 on: April 28, 2020, 05:40:53 pm »
Totally confused now...

After "gdb /usr/bin/codeblocks"
please list step-by-step instructions.

Thanks!

Jesse

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #7 on: April 28, 2020, 06:48:06 pm »
Code
$ gdb /usr/bin/codeblocks
> r
> thread apply all bt
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline JeZxLee

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #8 on: April 28, 2020, 08:45:20 pm »
Too big to paste, used pastebin:
https://pastebin.com/bngZF5ZR

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #9 on: April 29, 2020, 02:19:22 am »
Somehow you've managed to skip the data for thread 1 which is the one with the interesting backtrace. :shrug:
Try again and give us the full backtrace.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline JeZxLee

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #10 on: April 29, 2020, 01:47:08 pm »
Code
Thread 1 (Thread 0x7ffff4f44a40 (LWP 11255)):
#0  0x00007fffecd57916 in DoxyBlocks::OnUpdateUI(wxUpdateUIEvent&) (this=0x164ac20) at DoxyBlocks.cpp:238
#1  0x00007fffecd57916 in DoxyBlocks::OnUpdateUI(wxUpdateUIEvent&) (this=0x164ac20) at DoxyBlocks.cpp:235
#2  0x00007ffff6d8c101 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib64/libwx_baseu-suse-nostl.so.3.0.4
#3  0x00007ffff6d8c1e3 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib64/libwx_baseu-suse-nostl.so.3.0.4
#4  0x00007ffff6d8c49c in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib64/libwx_baseu-suse-nostl.so.3.0.4
#5  0x00007ffff6d8c363 in wxEvtHandler::DoTryChain(wxEvent&) () at /usr/lib64/libwx_baseu-suse-nostl.so.3.0.4
#6  0x00007ffff6d8c5a1 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib64/libwx_baseu-suse-nostl.so.3.0.4
#7  0x00007ffff7247a41 in wxMenuBase::UpdateUI(wxEvtHandler*) () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#8  0x00007ffff7247c5d in wxMenuBarBase::UpdateMenus() () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#9  0x00007ffff71ec7e9 in wxFrameBase::OnInternalIdle() () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#10 0x00007ffff728cfb3 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#11 0x00007ffff715539f in wxFrame::SendIdleEvents(wxIdleEvent&) () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#12 0x00007ffff718b19d in wxAppBase::ProcessIdle() () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#13 0x00007ffff70e4f31 in wxApp::DoIdle() () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#14 0x00007ffff70e5003 in  () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#15 0x00007ffff6510b77 in  () at /usr/lib64/libglib-2.0.so.0
#16 0x00007ffff65146e8 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#17 0x00007ffff6514a70 in  () at /usr/lib64/libglib-2.0.so.0
#18 0x00007ffff6514d43 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#19 0x00007ffff627ea9a in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0
#20 0x00007ffff70f3585 in wxGUIEventLoop::DoRun() () at /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4
#21 0x00007ffff6c8620d in wxEventLoopBase::Run() () at /usr/lib64/libwx_baseu-suse-nostl.so.3.0.4
#22 0x00007ffff6d693d2 in wxAppTraits::RunLoopUntilChildExit(wxExecuteData&, wxEventLoopBase&) () at /usr/lib64/libwx_baseu-suse-nostl.so.3.0.4
--Type <RET> for more, q to quit, c to continue without paging--

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #11 on: April 29, 2020, 08:28:45 pm »
The backtrace is still truncated.
Can you please use the "set pagination off" command before the "r" command or press enter as many times as there is the "--Type <RET> for more, q to quit, c to continue without paging--" message? (Press c is also an option).

I guess this is the same as this one https://sourceforge.net/p/codeblocks/tickets/839/ , but the question is why does it happen only on SUSE?!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #12 on: April 29, 2020, 08:50:15 pm »
Also what happens if you try this patch:
Code
diff --git a/src/plugins/contrib/DoxyBlocks/DoxyBlocks.cpp b/src/plugins/contrib/DoxyBlocks/DoxyBlocks.cpp
index 84c14fdf4..ee20512f4 100644
--- a/src/plugins/contrib/DoxyBlocks/DoxyBlocks.cpp
+++ b/src/plugins/contrib/DoxyBlocks/DoxyBlocks.cpp
@@ -101,8 +101,8 @@ END_EVENT_TABLE()

 // constructor
 DoxyBlocks::DoxyBlocks() :
-    m_pToolbar(0l),
-    m_DoxyBlocksLog(0l),
+    m_pToolbar(nullptr),
+    m_DoxyBlocksLog(nullptr),
     m_LogPageIndex(0),
     m_bAutoVersioning(false)
 {
@@ -234,8 +234,10 @@ void DoxyBlocks::OnEditorClose(CodeBlocksEvent& WXUNUSED(event))
  */
 void DoxyBlocks::OnUpdateUI(wxUpdateUIEvent& WXUNUSED(event))
 {
-    if(Manager::Get()->GetProjectManager()->GetProjects()->GetCount() == 0){
-        m_pToolbar->Enable(false);
+    if (Manager::Get()->GetProjectManager()->GetProjects()->GetCount() == 0)
+    {
+        if (m_pToolbar)
+            m_pToolbar->Enable(false);
         wxMenuBar *menuBar =  Manager::Get()->GetAppFrame()->GetMenuBar();
         menuBar->FindItem(ID_MENU_DOXYWIZARD)->Enable(false);
         menuBar->FindItem(ID_MENU_EXTRACTPROJECT)->Enable(false);
@@ -264,14 +266,15 @@ void DoxyBlocks::OnRelease(bool /*appShutDown*/)
             Manager::Get()->ProcessEvent(evt);
         }
     }
-    m_DoxyBlocksLog = 0;
+    m_DoxyBlocksLog = nullptr;
 }

-cbConfigurationPanel *DoxyBlocks::GetConfigurationPanel(wxWindow *parent)
+cbConfigurationPanel* DoxyBlocks::GetConfigurationPanel(wxWindow *parent)
 {
     //create and display the configuration dialog for your plugin
-    if(!IsAttached()){
-        return 0;
+    if (!IsAttached())
+    {
+        return nullptr;
     }

     // Get the version string before instantiating the panel so that it is recorded before
@@ -346,7 +349,7 @@ cbConfigurationPanel *DoxyBlocks::GetConfigurationPanel(wxWindow *parent)

 cbConfigurationPanel* DoxyBlocks::GetProjectConfigurationPanel(wxWindow* /*parent*/, cbProject* /*project*/)
 {
-    return 0;
+    return nullptr;
 }

 void DoxyBlocks::OnConfigure(wxCommandEvent & WXUNUSED(event))
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks Version 20.03 Crashes When Run On Linux?
« Reply #13 on: April 29, 2020, 08:52:26 pm »
If you don't know how to build and still want to get past this problem, you can find the libDoxyBlocks.so and rename it to something else or delete it.

On my system it is in
Code
/usr/lib64/codeblocks/plugins/libDoxyBlocks.so
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline JeZxLee

  • Multiple posting newcomer
  • *
  • Posts: 10