Code::Blocks Forums
User forums => Nightly builds => Topic started by: killerbot on May 06, 2023, 06:29:40 pm
-
We switched to wx 3.2.2.1 (on 05 may 2023) --> download the new wx dll's see link below
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml
Before you use a nightly make sure you understand how it works (http://forums.codeblocks.org/index.php/topic,3232.0.html).
A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw32u_gcc_cb_wx3221_2D_gcc810-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z
The 06 May 2023 build is out.
- Windows :
http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2023/CB_20230506_rev13268_win64.7z
- Linux :
none
The current SDK version is : 2.24.0
Resolved Fixed:
Regressions/Confirmed/Annoying/Common bugs:
-
I am having a problem on both Linux and windows passing a pointer back from a function, it is sign extending the pointer from 32 bits to 64 invalidating the pointer. Build from SVN revision 13268.
So for example if I have a pointer 0x269e9e9d040, on returning from the function the pointer will become 0xffffffffe9e9d040
<snip>
A workaround seems to be to use MinGW32 (on Windows of course) as pointers are only 32 bit.
This seems to be a programming issue, not a Code::Blocks issue?
Code::Blocks is not a compiler (https://forums.codeblocks.org/index.php/topic,9996.0.html)
-
Hello,
Code::blocks nightly becomes unresponsive when I add a new C++ class to an existing project.
Title would say Code::Blocks svn build (Not Responding).
This problem happened in older nightly builds as well.
CB 20.03 seems to work fine. Also, I'm on Windows 7.
To reproduce, Create a new C++ console project. Save it, and exit code::blocks. Launch code::blocks again and open the project. Opening an existing project seems to matter for some reason. It wouldn't freeze if I have created the class right away.
Click File->New->Class... and create a Dummy class.
Click on Create then click on Yes for the Add to project dialog box.
Click Ok on the Multiple selection dialog box.
Code::Blocks then becomes unresponsive for me.
Another issue, could you please include spell check with the nightly build?
Thanks
-
@cbuser1, can you check if the 18 February nightly works?
-
@cbuser1, can you check if the 18 February nightly works?
I installed CB_20230218_rev13215_win64.7z and it froze as well.
But, the unresponsiveness was not consistent. Sometimes, it added the files to the project and didn't freeze, other times it froze like mentioned before.
Please let me know if you want me to try another nightly version.
Oh, I just remembered another unrelated issue. When converting VS dsp project to codeblocks, sometimes I would get an assert error dialog, but didn't crash. Just click skip or ok to carry on.
I don't know if that's a known issue. It happened in 20.03 as well.
-
Thank you for testing. Can you check the 29 January nightly?
Regarding the VS dsp project conversion issue, please create a ticket including the contents of the assertion and, if possible, a test project.
-
Unfortunately, CB_20230129_rev13166_win64 froze too.
Let me know if you want me to try an older nightly. I don't mind.
About the assert, the error says "A debugging check in this application has failed.
../../src/msw/treectrl.cpp(1132): assert "item.IsOk" failed in SetItemBold(): invalid tree item.
I used the latest nightly to show that message.
For the project, clone github.com/id-Software/Quake-2 and select File->Import Project->MS Visual C++ workspace and select quake2.dsw
Thanks
-
In the code::blocks bottom panel, when it doesn't freeze it would put a message about the NativeParser switching project to my project name.
When it does freeze, it gets stuck on
NativeParser::OnParserEnd: Project "NONE" parsing stage done!.
It doesn't say
Switch parser to project 'Whatever'
I hope that could be useful to you.
-
I am pretty sure it is a mutex problem in CodeCompletion. I also suffer it, but currently have no time to debug, so your help is welcome.
Can you do a bisection from, say, 19 june to the one before 13166?. Beware, they are not sorted by date in the nightlies post because of replies.
-
No luck, CB_20220619_rev12839_win64.7z froze too.
I'll try older nightlies.
Update:
It's somewhere between
CB_20210709_rev12487_win64.7z
and
CB_20211220_rev12596_win64.7z
I couldn't get 12487 to freeze.
12596 froze like all the newer ones.
Update 2:
CB_20211214_rev12579_win64.7z Seems to be the latest nightly that didn't freeze.
Which would make CB_20211220_rev12596_win64.7z as the version that introduced this bug.
-
Many thanks for locating the culprit.
Regarding assertions when importing MSVC++ workspaces, I have just fixed them in r13269 (https://sourceforge.net/p/codeblocks/code/13269/). This has uncovered another problem after importing, I have created ticket #1392 (https://sourceforge.net/p/codeblocks/tickets/1392/) so it is not forgotten.
-
Ticket #1392 (https://sourceforge.net/p/codeblocks/code/13269/) fixed in r13270 (https://sourceforge.net/p/codeblocks/code/13270/)
-
Thanks for fixing the assertion bug.
I might have been wrong about CB_20211214_rev12579_win64.7z. It just froze on me :(
I'll test older nightlies.
-
Hi everybody,
after switching my Ubuntu to Lunar, I meet some crash with nigtly 13254.I tryed 13268 then 13270 rev. It's the same.
It's crashing randomly (but very often) during tapping code when auto-completion popup is on.
Lunar uses wxw rev 3.2.2
I joined codeblocks bug report fron 13270 crash
-
Hi everybody,
after switching my Ubuntu to Lunar, I meet some crash with nigtly 13254.I tryed 13268 then 13270 rev. It's the same.
It's crashing randomly (but very often) during tapping code when auto-completion popup is on.
Lunar uses wxw rev 3.2.2
I joined codeblocks bug report fron 13270 crash
Looks like Lunar uses "wayland".
Edit: Link to possible workaround https://forums.codeblocks.org/index.php/topic,25206.msg171903.html#msg171903 (https://forums.codeblocks.org/index.php/topic,25206.msg171903.html#msg171903)
Tim S.
-
Thanks for your Answer Tim
Looks like Lunar uses "wayland".
yes
Edit: Link to possible workaround https://forums.codeblocks.org/index.php/topic,25206.msg171903.html#msg171903
I try this but at a moment CB become unusable (more or less after the same contions it crashed before). The lag is just awful in editor windows 10-30 second before a key strock do something, compiling take huuuuuuuuuuge time
Its worst ... there is no debug trace and quit + reload CB is longer ;D
-
For now
CB_20211111_rev12537_win64.7z froze
CB_20211010_rev12535_win64.7z didn't freeze.
But this is tentative. I'll keep testing 12535 to see if it will hold up.
What is the rev number for the 20.03 release? I don't want to shoot past it in the testing.
Update:
strike that 12535 froze too.
Update2:
CB_20210822_rev12516_win64.7z freezes
I'm currently on CB_20210709_rev12487_win64.7z and so far, fingers crossed, it hasn't frozen.
The problem is that the freezing is not consistent.
-
This version can't auto-detect mingw64 that I installed, and mingw64 I have add to the path directory ,but version codeblocks-20.03-nosetup can auto-detect it 。I think this version maybe checkout the old soucecdoe to compiled。
-
It's probably better to link this "WX" with the "static" option.
-
It's probably better to link this "WX" with the "static" option.
Nope; CB plugins require shared wxWidgets to work correctly.
Tim S.
-
I use codeblocks to open a certain text file which is 95k size , the codeblock become no response. This nightlybuild version and 20.03 release always be so. That text file is normally opened in notepad and editplus and notepad++ (my os is win7). Because the text file contain my personal informaion so I can't upload it as Attachments (if anyone want the text file to verify . I will modify some content and upload it).
I think the code::blocks should rename to "code::freeze". :P
-
Which encoding does the file use?. Try converting it to other encoding with Notepad++
Do you have Code Completion enabled?
-
Which encoding does the file use?. Try converting it to other encoding with Notepad++
Do you have Code Completion enabled?
I have found the reason.When I disable the plug in "Code completion 1.0", the file is opened normally in this nightly builded vesion. But the plug in declares only dealing with C/C++ language, why it interfere with a txt file that not in any project ?
And also disable "Code completion 1.0", add a new class from class wizard no more freeze in this version.
-
So I decide turning to "Clangd_client" to see What effect it will have. It add some new functions and add a new class from class wizard no freeze . But it can't give hint of Member functions of variables which type defines in C++ standard library ( "Code completion 1.0" can do ) ,and sometimes it always gives incorrect hint , even reopen the project it can't return to normal ,you must restart CB . And some other bugs that I 'am too lazy to elaborate here. Let me try new version to see what improved.
But most importantly, CB is free , so I shouldn't complaining too much. :-[ I wish CB will be as better as VScode.
-
By the way , the post of this forum is only allowed contains english characters , not allowed chinese characters , otherwise you can't sent out your post and always gets a ambiguous prompts "database error" . It's a bit outdated in today's international trend.
-
So I decide turning to "Clangd_client" to see What effect it will have. It add some new functions and add a new class from class wizard no freeze . But it can't give hint of Member functions of variables which type defines in C++ standard library ( "Code completion 1.0" can do ) ,and sometimes it always gives incorrect hint , even reopen the project it can't return to normal ,you must restart CB . And some other bugs that I 'am too lazy to elaborate here. Let me try new version to see what improved.
But most importantly, CB is free , so I shouldn't complaining too much. :-[ I wish CB will be as better as VScode.
Can you write a short example that we can use to re-create your problems?
For me, clangd_client does indeed provide the info you are having problems with.
With an example from you, we might be able to either show you how to get the info, or fix the problem.
-
Can you write a short example that we can use to re-create your problems?
For me, clangd_client does indeed provide the info you are having problems with.
With an example from you, we might be able to either show you how to get the info, or fix the problem.
My os is win7 , clangd.exe is from latest version LLVM-16.0.5-win64 which full installed ,compiler is winlibs-x86_64-mcf-seh-gcc-13.1.0-mingw-w64ucrt-11.0.0-r1,no msys . In CB , compiler settings is right , search directories is right .
My Project to test clangd_client is simplest "hello world" , add several varialbes and simple classes , the program is normally compiling and running . clangd_client can jump to class( I defines myself) declaration and implementation rightly. But it don't give the right hint of member funtions , and a varialbe of string type it give a hint that is a int type.
if there is any setting and step I omit please instruct me .
Below is a part info of LSP messages
LSP diagnostics: main.cpp|:|----Time: 15:16:19.218---- (5 diagnostics)|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|1|note:'iostream' file not found|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|8|warning:Using directive refers to implicitly-defined namespace 'std'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|12|note:Unknown type name 'string'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|25|note:Use of undeclared identifier 'cout'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|25|note:Use of undeclared identifier 'endl'|
LSP diagnostics: Test1.h|:|----Time: 15:16:20.533---- (0 diagnostics)|
LSP diagnostics: Test.h|:|----Time: 15:16:21.815---- (0 diagnostics)|
LSP diagnostics: Test.cpp|:|----Time: 15:16:22.844---- (4 diagnostics)|
E:\workspace\testcode\test1\HelloMingw64\src\Test.cpp|2|note:'iostream' file not found|
E:\workspace\testcode\test1\HelloMingw64\src\Test.cpp|4|warning:Using directive refers to implicitly-defined namespace 'std'|
E:\workspace\testcode\test1\HelloMingw64\src\Test.cpp|18|note:Use of undeclared identifier 'cout'|
E:\workspace\testcode\test1\HelloMingw64\src\Test.cpp|18|note:Use of undeclared identifier 'endl'|
LSP diagnostics: main.cpp|:|----Time: 15:19:41.802---- (5 diagnostics)|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|1|note:'iostream' file not found|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|8|warning:Using directive refers to implicitly-defined namespace 'std'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|12|note:Unknown type name 'string'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|26|note:Use of undeclared identifier 'cout'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|26|note:Use of undeclared identifier 'endl'|
LSP diagnostics: main.cpp|:|----Time: 15:19:51.121---- (12 diagnostics)|
......
......
-
Can you write a short example that we can use to re-create your problems?
For me, clangd_client does indeed provide the info you are having problems with.
With an example from you, we might be able to either show you how to get the info, or fix the problem.
@ myztmy
Let's take this conversation over to the Codeblocks clang_client discussion at https://forums.codeblocks.org/index.php/topic,24357.0.html
We'll work on getting the problems fixed in that discussion thread.
-
Hi,
I tested the new installation of CB issued recently on Nigthly Builds : revision 13311 full installation with MingW (gcc 13.1.0) -> CB_20230604_rev13311_win64-setup-MinGW.exe, on my configurartion Windows 11 64 bits
Before, I renamed the old directory of installation of CB : CodeBlocks.old ... good option !!!
I can't run CB with these new installation : freeze on startup, with the "turning wait circle" indefinitly !
Only cllick on cross at the high rigth of windows, stop the process.
My test of Workspace and CB project are stored on : https://github.com/tdechaize/Lesson01 (public repository)
Have you an explaination ? It's a refrenced bug ?
Thank you. Sincerly.
PS : I returned with my old configuration of CB after another renaming of install directory.
PS2 : Good new, CB recover all of my "user-defined" and "installed" configuration of compilers on my configuration ... with all directories pointed by environment variables. Yes !
-
I have checked the version without MinGW on W7 and it installs and runs OK for now. Does the uninstaller remove the data under Roaming?
-
By the way , the post of this forum is only allowed contains english characters , not allowed chinese characters , otherwise you can't sent out your post and always gets a ambiguous prompts "database error" . It's a bit outdated in today's international trend.
Our forum rules (you agreed to when registering here) state: The forum language is English only. The reason is that by law we need to moderate the forum. We can't do that if we allow any language. Please respect that. If you need to post Chinese characters you can use services like pastebin (https://pastebin.com/) and post a link here.
-
Does the uninstaller remove the data under Roaming?
No, and I seriously wouldn't recommend to do that. Not even "tools" like MS Office do that.
-
And also disable "Code completion 1.0", add a new class from class wizard no more freeze in this version.
Thanks for reporting!
That we have at least identified the culprit, but not yet the line of code...
It looks like the class browser might interfere with the parser here...
-
What is the rev number for the 20.03 release? I don't want to shoot past it in the testing.
We are tagging your releases in SVN. You should simply checkout the tagged version.
https://svn.code.sf.net/p/codeblocks/code/tags/20.03 (https://svn.code.sf.net/p/codeblocks/code/tags/20.03)
-
By the way , the post of this forum is only allowed contains english characters , not allowed chinese characters , otherwise you can't sent out your post and always gets a ambiguous prompts "database error" . It's a bit outdated in today's international trend.
Our forum rules (you agreed to when registering here) state: The forum language is English only. The reason is that by law we need to moderate the forum. We can't do that if we allow any language. Please respect that. If you need to post Chinese characters you can use services like pastebin (https://pastebin.com/) and post a link here.
Well, eg. "en dash", "em dash" (https://en.wikipedia.org/wiki/Dash#En_dash) are perfectly legal in English. Moreover, they should be used in many places where people traditionally use hyphen. But on this forum you can't use them. Forum language is one thing, supported character set (Unicode) is another.
-
I'm using the Nightly build (13268).My laptop has a resolution of 3200x2000 and a text scaling of 200%. However, the text in the Code::Blocks's editor did not scale accordingly, resulting in the text being too small. I tried increasing the font, but the font in the drop-down list became even larger.
-
Try activating DirectWrite in Settings -> Editor -> Other settings -> Technology
-
Try activating DirectWrite in Settings -> Editor -> Other settings -> Technology
Thank you for your response. After activating DirectWrite in the settings, the font size in the editor became normal. However, there are still some minor issues. For example, the fonts in the editor for "grammar highlighting" and "abbreviations" in the settings are still very small. Moreover, before activating DirectWrite, the width of Chinese characters was twice that of English characters, but after activating it, it was less than twice.
-
I've tested the new installer (with bundled Mingw) on a VM Windows 11.
Works well.
-
Thank you so much, problem solved :)
-
Would those of you able to get the freeze with the legacy CodeCompletion please disable the Symbols Browser and tell us if you still get the freeze.
Settings>Editor>CodeCompletion>SymbolsBrowser>Disable Symbols Browser check box.
Thanks
-
Hi,
Since my last post,I found a procedure to make it freeze.
for me it freezes when :
- the project is a bit complexe (try with somethink like Heloword, never freezes :) )
- enter a symbol (or namespace ...) in the code
- When the completion proposal appears on the screen, hit some backspace and change the symbole.
On some project it freezes immediately
I tried just now to disable "Symbols Browser" , looks ok.
so i closed CB and run it again, re-enable "Symbols Browser"
and it didn't freeze for the moment. :o
I'll will test more, and I'll get back to you.
thanks for your attention
-
So ... I was wrong
working with CB make it freezes with or without "Symbols Browser" enabled
sorry my to speed answer.
the procedure to make it freezes is not so systematic
bug still present on svn13368
-
bug still present on svn13368
probably corrected on nightly 13473 see ticket #1458
thank you very much @pecan