IDE will not load after update on Arch Linux. Comes up with this error:
gb.jit: error: unable to compile JIT code of 'gb.form.terminal':
[gb.jit].CCompilation.Wait.259: #6: Type mismatch: wanted String[], got String instead
[gb.jit].CCompilation.Wait.259 [gb.jit].Jit._Wait.235 [gb.form.terminal].TerminalScreen.Reset.1516 [gb.form.terminal].TerminalScreen._new.144 [gb.form.terminal].TerminalView._new.223 FDebugInfo.FDebugInfo.0 FDebugInfo.@new.0 FSearch._new.44 FMain._new.65 Project.Main.484 ?
Any projects made with last version will not start but has the same error.
IDE will not load after update
Re: IDE will not load after update
I tried to summit a bug report but there was no selection to summit it. 

Re: IDE will not load after update
Try running Gambas like this from terminal:
It disables JIT and you should be fine.
It's probably a bug that still is not quite solved.
Code: Select all
GB_JIT_ENABLED=0 gambas3
It's probably a bug that still is not quite solved.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories
- GambOS
... there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories
- GambOS
... there is always a Catch if things go wrong!
Re: IDE will not load after update
Well, I logged in on bug tracker and it seems you have succeeded in reporting the bug.
Benoit gave same tip as above and asked some question, so maybe log in and answer

And if you can start Gambas with above copy/paste system info from Gambas to the bug report, so all used version of libs are clear
You do not have the required permissions to view the files attached to this post.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories
- GambOS
... there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories
- GambOS
... there is always a Catch if things go wrong!
- BruceSteers
- Legend
- Posts: 2186
- Joined: Thu Jul 23, 2020 5:20 pm
- Location: Isle of Wight
Re: IDE will not load after update
It's only just been fixed so it's in development branch only.
it will be in the next stable release.
it will be in the next stable release.
- BruceSteers
- Legend
- Posts: 2186
- Joined: Thu Jul 23, 2020 5:20 pm
- Location: Isle of Wight
Re: IDE will not load after update
It's the same bug for sure Cage.
something changed in gcc latest version.
it broke JIT but has now been fixed
https://gambaswiki.org/bugtracker/edit? ... m=L21haW4-
something changed in gcc latest version.
it broke JIT but has now been fixed
https://gambaswiki.org/bugtracker/edit? ... m=L21haW4-
Re: IDE will not load after update
Gbwilly thanks for the temporary solution. Thanks to Bruce for your info. I did send the system info along with the problem. Really glad it's been fixed and can't wait for the update. I been using Gambas ever since Verizon 3 cam into being. It's my daily programming application.
Re: IDE will not load after update
I mean the system info from within IDE (that starts again now with jit disabled), so Benoit sees things like gcc version (and a lot of other library versions). It's often external version updates that cause trouble in Gambas.
But, good you can have fun with Gambas again..

gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories
- GambOS
... there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories
- GambOS
... there is always a Catch if things go wrong!
- BruceSteers
- Legend
- Posts: 2186
- Joined: Thu Jul 23, 2020 5:20 pm
- Location: Isle of Wight
Re: IDE will not load after update
Yep exactly that Willy.gbWilly wrote: ↑Thu May 01, 2025 9:35 amI mean the system info from within IDE (that starts again now with jit disabled), so Benoit sees things like gcc version (and a lot of other library versions). It's often external version updates that cause trouble in Gambas.
But, good you can have fun with Gambas again..![]()
gcc library changed it's default C standard.
By the sounds of it Benoit knows all about it and had already fixed it in the gambas code,
but he forgot about the JIT compiler part also needing the update.
Another thing Cage check out your ~/.local/share/applications/ folder.
I found with this bug every time the IDE failed to load it left a file like ~/.local/share/applications/org.gambas.2345.desktop in there.
(it's a file generated as a wayland workaround)
It would normally be deleted on exit but because the IDE failed (crashed) it will not have deleted them.
so you will have now useless files in there for every failed load you tried.
rm -v ~/.local/share/applications/org.gambas*
Re: IDE will not load after update
gbwilly that file does not exit in my operating system which is Arch Linux. So I will have to wait until the new update comes along. In the mean time by disabling gb.jit I can at least run my programs for the IDE itself. I thank you for your continuing efforts to help out. 
