You are not logged in.

#1 2020-04-11 19:59:19

Arko
Member
Registered: 2020-04-11
Posts: 4

[SOLVED][Codeblocks 17.12-10] Segmentation fault (core dumped)

Hi, i installed codeblocks, but if i tried to run it, it just crashed (tried both codeblocks and codeblocks-svn). When I looked into terminal it said:

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 "avr-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm32-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "zpu-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm8-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "android-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "bfin-elf-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.
Segmentation fault (core dumped)

It works when running with sudo, but I think it's very bad idea to run it with root privileges.
So there's my question. Does anyone know how to fix it?

Edit: Managed to fix it by running in konsole: codeblocks --rebuild -> choosing the right compiler -> exit codeblocks -> save new defaults -> running codeblocks normal
I don't know what caused it to crash, but I hope this fix will help someone else

Last edited by Arko (2020-04-12 08:18:34)

Offline

Board footer

Powered by FluxBB