Bug 34634 - codeblock can't start
Summary: codeblock can't start
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA10
Depends on:
Blocks:
 
Reported: 2025-09-14 19:49 CEST by Bernard SIAUD
Modified: 2025-12-13 18:58 CET (History)
2 users (show)

See Also:
Source RPM: codeblocks-25.03-3.mga10.src.rpm
CVE: Note in errata10 about plugins.
Status comment:


Attachments

Description Bernard SIAUD 2025-09-14 19:49:00 CEST
Description of problem: codeblock can't start


Version-Release number of selected component (if applicable):


How reproducible: run code block.


Steps to Reproduce:
1. 
[troumad@localhost RPMS]$ codeblocks &
[3] 345182
[troumad@localhost RPMS]$ Starting Code::Blocks Release 25.03  rev 13644 Aug 10 2025, 07:27:15 - wxWidgets 3.2.8 - gcc 15.2.0 (Linux, unicode) - 64 bit
Manager initialized
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
SmartIndentHDL: loaded
SmartIndentPascal: loaded
Abbreviations: loaded
IncrementalSearch: loaded
CppCheck: loaded
ReopenEditor: loaded
AutoVersioning: loaded
HelpPlugin: loaded
Cccc: loaded
clangd_client: loaded
Autosave: loaded
SmartIndentXML: loaded
FilesExtensionHandler: loaded
HeaderFixup: loaded
SmartIndentFortran: loaded
Debugger: loaded
copystrings: loaded
rndgen: loaded
FileManager: loaded
CodeCompletion: loaded
cbKeyBinder: loaded
MouseSap: loaded
BYOGames: loaded
RegExTestbed: loaded
SpellChecker: loaded
AStylePlugin: loaded
ClassWizard: loaded
NassiShneidermanPlugin: loaded
DoxyBlocks: loaded
ToDoList: loaded
ProjectsImporter: loaded
Compiler: loaded
cbDragScroll: loaded
lib_finder: loaded
ProjectOptionsManipulator: loaded
HexEditor: loaded
Valgrind: loaded
SymTab: loaded
Exporter: loaded
CodeSnippets: loaded
CodeStat: loaded
BrowseTracker: loaded
ToolsPlus: loaded
OccurrencesHighlighting: loaded
OpenFilesList: loaded
SmartIndentLua: loaded
[troumad@localhost RPMS]$ ps uawx -H
[...]
troumad   345182  0.0  0.7 2066748 115964 pts/1  SLl  10:47   0:00         codeblocks
troumad   345198  0.0  0.0   3548  2060 pts/1    S    10:47   0:00           bwrap --unshare-all --die-with-parent --chdir / --ro-bind /usr /usr --dev /dev --ro-bind-try /etc/ld.so.cache /etc/ld.so.cache --ro-bind-try /nix/store /nix/st
troumad   345201  0.0  0.0   3548  1388 pts/1    S    10:47   0:00             bwrap --unshare-all --die-with-parent --chdir / --ro-bind /usr /usr --dev /dev --ro-bind-try /etc/ld.so.cache /etc/ld.so.cache --ro-bind-try /nix/store /nix/
troumad   345202  0.0  0.1 310936 18552 pts/1    Sl   10:47   0:00               /usr/libexec/glycin-loaders/2+/glycin-svg --dbus-fd 21
troumad   410287  300  0.0  25216  4968 pts/1    R+   19:44   0:00         ps uawx -H
[...]
Comment 1 Morgan Leijström 2025-09-14 21:43:44 CEST
Thank you Bernard.

Setting to major as it do not start.
This is not a critical app, nor high priority, but good to have.

Seems to have no active maintainer so setting to all.

What is the status of this app in Mageia 9?

Assignee: bugsquad => pkg-bugs
Severity: normal => major
CC: (none) => fri

Comment 2 sturmvogel 2025-09-15 07:24:23 CEST
Also see
https://bugs.mageia.org/show_bug.cgi?id=32262
Comment 3 Bernard SIAUD 2025-12-01 15:47:36 CET
Now, I have this :

[troumad@localhost ~]$ codeblocks 
codeblocks: symbol lookup error: /lib64/libcodeblocks.so.0: undefined symbol: _ZN12wxWindowBase19SetVirtualSizeHintsEiiii, version WXU_3.2
Comment 4 katnatek 2025-12-06 22:02:50 CET
I think just need a rebuild for new webkit

Assignee: pkg-bugs => j.alberto.vc

Comment 5 katnatek 2025-12-07 00:28:21 CET
Please test codeblocks-25.03-5.mga10
Comment 6 Bernard SIAUD 2025-12-07 08:59:14 CET
Now, I have de same problem as the first post.
Comment 7 katnatek 2025-12-07 19:27:00 CET
gdb not helps
and this is the strace

readlink("/proc/1941119/fd/20", "/usr/share/codeblocks/images/wxs"..., 256) = 58
futex(0x7f32c606ccb0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f61d55e0f0, FUTEX_WAIT_BITSET_PRIVATE, 26, NULL, FUTEX_BITSET_MATCH_ANY) = 0
socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, [22, 24]) = 0
ioctl(22, FIONBIO, [1])                 = 0
ioctl(24, FIONBIO, [1])                 = 0
memfd_create("seccomp-bpf-filter", 0)   = 26
write(26, " \0\0\0\4\0\0\0\25\0\0g>\0\0\300 \0\0\0\0\0\0\0005\0\0\1\0\0\0@"..., 848) = 848
lseek(26, 0, SEEK_SET)                  = 0
capget({version=_LINUX_CAPABILITY_VERSION_3, pid=0}, {effective=0, permitted=0, inheritable=1<<CAP_WAKE_ALARM}) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [], 8)   = 0
clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f32997ee990, parent_tid=0x7f32997ee990, exit_signal=0, stack=0x7f32995ee000, stack_size=0x1ffa00, tls=0x7f32997ee6c0} => {parent_tid=[1941302]}, 88) = 1941302
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
futex(0x55f61d55e0f0, FUTEX_WAIT_BITSET_PRIVATE, 27, NULL, FUTEX_BITSET_MATCH_ANY


The load stops after the logo of the application, I'll see what I find but assign 
this to all packagers, just in case somebody have other idea

Assignee: j.alberto.vc => pkg-bugs

Comment 8 katnatek 2025-12-07 20:30:35 CET
I have to disable a plugin that looks to produce the issue

https://bbs.archlinux.org/viewtopic.php?pid=2264487#p2264487
https://forum.endeavouros.com/t/code-blocks-freezing-on-splash-screen/75708/4

Building now
Comment 9 katnatek 2025-12-07 23:06:23 CET
Should be fixed in codeblocks-25.03-6.mga10
I test and start

It's expected that the functions related to the plugin disabled not works

See the links in comment#8
katnatek 2025-12-07 23:07:52 CET

CC: (none) => j.alberto.vc

Comment 10 Bernard SIAUD 2025-12-08 08:27:43 CET
+1 ! Thank.

Now CodeBlock can start. I try tomorrow to work with codeblock.
Comment 11 Bernard SIAUD 2025-12-08 18:19:44 CET
It's all good. I have test codeblock. I can work.

Thank !
Comment 12 katnatek 2025-12-08 18:30:18 CET
(In reply to Bernard SIAUD from comment #11)
> It's all good. I have test codeblock. I can work.
> 
> Thank !

Closing

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 13 katnatek 2025-12-08 18:32:05 CET
To consider add in errata that a plugin is not working

Keywords: (none) => FOR_ERRATA10

Comment 14 Morgan Leijström 2025-12-08 21:51:35 CET
Yes for errata10 (Unless we solve it before)

---

For mga9:
I never used codeblocks before, but I see it is at least starting in mga9.

However it is very old.
Maybe we should consider a backport?

(Backport beacuse we disable some plugin....
- Or is that plugin not in mga9 version?)
Comment 15 katnatek 2025-12-08 21:54:56 CET
(In reply to Morgan Leijström from comment #14)
> Yes for errata10 (Unless we solve it before)
> 
> ---
> 
> For mga9:
> I never used codeblocks before, but I see it is at least starting in mga9.
> 
> However it is very old.
> Maybe we should consider a backport?
> 
> (Backport beacuse we disable some plugin....
> - Or is that plugin not in mga9 version?)

The function of plugin depends a lot of the wxwidgets version

I don't know what version of codeblocks is now on testing

Later I'll check but if start we can think the plugin works in mageia 9
Morgan Leijström 2025-12-09 00:55:28 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=32262

Comment 16 Morgan Leijström 2025-12-09 01:01:16 CET
So for errata10: the wxSmith plugin is disabled

Following up for mga9 in 32262

CVE: (none) => Note in errata10 about plugins.

Comment 17 Morgan Leijström 2025-12-13 18:58:05 CET
Entered under https://wiki.mageia.org/en/Mageia_10_Errata#Various_software

How come in Comment 16 I had set CVE? I thought I put "Note in errata10 about plugins." in the Status Comment field.  And now that text is nowhere to be seen. Hm...

Keywords: FOR_ERRATA10 => IN_ERRATA10


Note You need to log in before you can comment on or make changes to this bug.