Codeblocks won't work

So, i'm a student, whose main program is CodeBlocks, so because of school i can't use other software. After i installed the lattest version from Apper, i tried to start it, but it showed these 2 error messeges. They were there like halfsec and then dissapiered with codeblocks closing as well. So i can't do anything in these windows

System:    Kernel: 5.12.15-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0  
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=d6864fbb-ac91-4ddb-8cbc-4cb331fb8f7f  
rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.22.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM  
Distro: Garuda Linux base: Arch Linux  
Machine:   Type: Laptop System: Acer product: Aspire A515-55G v: V1.13 serial: <filter>  
Mobo: IL model: Doc_IL v: V1.13 serial: <filter> UEFI: Insyde v: 1.13 date: 10/15/2020  
Battery:   ID-1: BAT1 charge: 29.1 Wh (58.7%) condition: 49.6/47.8 Wh (103.7%) volts: 12.1 min: 11.2  
model: LGC AP18C8K type: Li-ion serial: <filter> status: Charging  
CPU:       Info: Quad Core model: Intel Core i5-1035G1 bits: 64 type: MT MCP arch: Ice Lake family: 6  
model-id: 7E (126) stepping: 5 microcode: A6 cache: L2: 6 MiB  
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19046  
Speed: 2518 MHz min/max: 400/3600 MHz Core speeds (MHz): 1: 2518 2: 2679 3: 3474 4: 3107  
5: 2715 6: 3191 7: 3435 8: 3600  
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled  
Type: l1tf status: Not affected  
Type: mds status: Not affected  
Type: meltdown status: Not affected  
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp  
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization  
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling  
Type: srbds status: Not affected  
Type: tsx_async_abort status: Not affected  
Graphics:  Device-1: Intel Iris Plus Graphics G1 vendor: Acer Incorporated ALI driver: i915 v: kernel  
bus-ID: 00:02.0 chip-ID: 8086:8a56 class-ID: 0300  
Device-2: NVIDIA GP107M [GeForce MX350] vendor: Acer Incorporated ALI driver: nvidia v: 465.31  
alternate: nouveau,nvidia_drm bus-ID: 02:00.0 chip-ID: 10de:1c94 class-ID: 0302  
Device-3: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 1-5:2 chip-ID: 0408:a061  
class-ID: 0e02  
Display: x11 server: X.Org 1.20.12 compositor: kwin_x11 driver: loaded: modesetting  
display-ID: :0 screens: 1  
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")  
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") diag: 394mm (15.5")  
OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 21.1.4 direct render: Yes  
Audio:     Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Acer Incorporated ALI  
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_icl bus-ID: 00:1f.3  
chip-ID: 8086:34c8 class-ID: 0403  
Sound Server-1: ALSA v: k5.12.15-zen1-1-zen running: yes  
Sound Server-2: JACK v: 0.125.0 running: no  
Sound Server-3: PulseAudio v: 14.2 running: no  
Sound Server-4: PipeWire v: 0.3.31 running: yes  
Network:   Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel port: 5000 bus-ID: 00:14.3  
chip-ID: 8086:34f0 class-ID: 0280  
IF: wlp0s20f3 state: up mac: <filter>  
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI
driver: r8169 v: kernel port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Drives:    Local Storage: total: 476.94 GiB used: 42.32 GiB (8.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: OM8PCP3512F-AA size: 476.94 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD
serial: <filter> rev: ECFK52.3 scheme: GPT
Partition: ID-1: / raw-size: 398.52 GiB size: 398.52 GiB (100.00%) used: 42.32 GiB (10.6%) fs: btrfs
dev: /dev/nvme0n1p5 maj-min: 259:5
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 592 KiB (0.2%) fs: vfat
dev: /dev/nvme0n1p6 maj-min: 259:6
ID-3: /home raw-size: 398.52 GiB size: 398.52 GiB (100.00%) used: 42.32 GiB (10.6%) fs: btrfs
dev: /dev/nvme0n1p5 maj-min: 259:5
ID-4: /var/log raw-size: 398.52 GiB size: 398.52 GiB (100.00%) used: 42.32 GiB (10.6%)
fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-5: /var/tmp raw-size: 398.52 GiB size: 398.52 GiB (100.00%) used: 42.32 GiB (10.6%)
fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.41 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 62.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:      Processes: 292 Uptime: 18m wakeups: 1 Memory: 15.41 GiB used: 3.88 GiB (25.2%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1350 lib: 375
Shell: fish v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.04

Again read

please
and post terminal in- and output from

inxi -Fza

as text!

Even if you personally think it is unnecessary.

I move it from #issues-assistance to #issues-assistance:aur-snaps-flatpaks-other

1 Like

Is it good now? Sorry i'm a newbie and not really used to forums. For those 2 error messeges: i cant paste them as text, because i can't even see them while they pop-up and diddapear instantly

Start app in terminal.

1 Like

How do i do that?

CodeBlocks is in the official repositories and codeblocks-svn is in the AUR.

2 Likes

Specifically read:

How to identify and report software bugs:

3 Likes

2021-07-12_23-32

You want that, and you can't start a program in the terminal?

Why do so many think that the Garuda Forum offers basic training for every software in the Linux universe?

2 Likes
(codeblocks:154186): Gtk-WARNING **: 23:47:12.142: Theme parsing error: gtk-dark.css:6342:10: 'height' is not
a valid property name
Starting Code::Blocks Release 20.03  rev 11997 May 27 2020, 10:54:33 - wx3.0.5 - gcc 10.1.0 (Linux, unicode) -
64 bit
Manager initialized
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
AStylePlugin: loaded
AutoVersioning: loaded
BrowseTracker: loaded
Cccc: loaded
CppCheck: loaded
Cscope: loaded
DoxyBlocks: loaded
EditorConfig: loaded
EditorTweaks: loaded
HexEditor: loaded
IncrementalSearch: loaded
MouseSap: loaded
NassiShneidermanPlugin: loaded
Profiler: loaded
ProjectOptionsManipulator: 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
Autosave: loaded
BYOGames: loaded
CB_Koders: loaded
ClassWizard: loaded
CodeCompletion: loaded
CodeSnippets: loaded
CodeStat: loaded
Compiler: loaded
copystrings: loaded
Debugger: loaded
FilesExtensionHandler: loaded
cbDragScroll: loaded
EnvVars: loaded
Exporter: loaded
HeaderFixup: loaded
HelpPlugin: loaded
cbKeyBinder: loaded
lib_finder: loaded
OccurrencesHighlighting: loaded
OpenFilesList: loaded
ProjectsImporter: loaded
rndgen: loaded
ScriptedWizard: loaded
ToDoList: loaded
wxSmithAui: loaded
wxSmith: loaded
wxSmithMime: loaded
wxSmithContribItems: loaded
Source code formatter (AStyle) plugin activated
AutoVersioning plugin activated
BrowseTracker plugin activated
Cccc plugin activated
CppCheck plugin activated
Cscope plugin activated
DoxyBlocks plugin activated
EditorConfig plugin for Code::Blocks plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
HexEditor plugin activated
IncrementalSearch plugin activated
MouseSap plugin activated
NassiShneidermanPlugin plugin activated
Code profiler plugin activated
Project options manipulator 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/myspell/dicts
Found dictionary: en_US-large
Selected dictionary: en_US
Found dictionary: en_US
Found dictionary: hu_HU
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
Autosave plugin activated
BYO Games plugin activated
Koders query plugin activated
Class wizard plugin activated
Code completion plugin activated
Code snippets plugin activated
Code statistics 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.
fish: Job 1, 'codeblocks %U' terminated by signal SIGSEGV (Address boundary error)

Yep i want, i can use it too (very well), but when you try something new and still in the learning curve can' do much

Have you searched the errors as the wiki advises you to do?

https://forums.codeblocks.org/index.php?topic=18088.0

You can't possibly be the only person to encounter these errors (I suspect).

You can also try installing the codeblocks-svn version from the AUR if you make no progress with the current version you installed.

Is your system fully up to date?

3 Likes

You may want to test an older version via the downgrade function, or test the svn version as I've stated several times already.

I found this ditty on the codeblocks forum:;

3 days ago

I found a small bug in the patch when I was modifying the code and bug fixing in the compilerioptionsdlg.cpp. Once I wrap up the compilerioptionsdlg.cpp changes I will post a patch update. The bug is setting detected flag to false instead of true for a user configured compiler.

2 Likes

I would suggest using codeblocks appimage

4 Likes

You stated your system is fully updated. Have you rebooted lately?

regards

3 Likes

I replicated this and have encountered the same problem @Kristof03 . Have you had any luck searching for more help?

I'll probably need to sign up at the Code::Blocks forum to ask the same question, tried the posted topic earlier (thanks @tbg ), but did not help my installation as well.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.