Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on October 13, 2015, 06:45:58 pm

Title: The 13 October 2015 build (10528) is out.
Post by: killerbot on October 13, 2015, 06:45:58 pm
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 for Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw28u_gcc_cb_wx2812_gcc492-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/mingwm10_gcc492-TDM.7z

The 13 October 2015 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2015/CB_20151013_rev10528_win32.7z
  - Linux :
   none

The current SDK version is : 1.27.0

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on October 13, 2015, 10:30:29 pm
Khram: Full year and you're still not cooperative, helpful...  :'(
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on October 14, 2015, 01:22:02 am
Thnaks for fixing 219 (haven't updated yet but I will report if it works)
Title: Re: The 13 October 2015 build (10528) is out.
Post by: Quiss on October 14, 2015, 09:14:59 am
Hi, I've build from sources and run update.bat as usual but codeblocks.exe in the output folder gives this error: "The application was unable to start correctly (0xc000007b). Click OK to close the application." No problem in devel folder. The last revision I built (and have been using) before this one is 10320.

Win10 x64.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: Miguel Gimenez on October 14, 2015, 01:47:57 pm
Hi, I've build from sources and run update.bat as usual but codeblocks.exe in the output folder gives this error: "The application was unable to start correctly (0xc000007b). Click OK to close the application." No problem in devel folder. The last revision I built (and have been using) before this one is 10320.

Win10 x64.

That's due to stripping debug info from dbghelp.dll.

If it can't be stripped update.bat should be changed to skip this step.

WinXP sp3
Title: Re: The 13 October 2015 build (10528) is out.
Post by: ollydbg on October 14, 2015, 03:00:12 pm
Hi, I've build from sources and run update.bat as usual but codeblocks.exe in the output folder gives this error: "The application was unable to start correctly (0xc000007b). Click OK to close the application." No problem in devel folder. The last revision I built (and have been using) before this one is 10320.

Win10 x64.

That's due to stripping debug info from dbghelp.dll.

If it can't be stripped update.bat should be changed to skip this step.

WinXP sp3
Correct! when I build C::B myself, I also see this issue. You need to copy the dbghelp.dll manually to the output folder.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: Quiss on October 14, 2015, 03:56:09 pm
Manually copying solved the issue, thank you both.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: zyd on October 15, 2015, 03:03:48 am
When I opened the multiple projects (each project has at least one opened file), the code editor often automatic  split into multiple Windows (>=2). :(
this happened from build (10320), which I reported first time.

Now, the difference is that each code editor can be normally close.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: LETARTARE on October 18, 2015, 12:30:49 am
The svn number is 0 in 'autorevision.h'
The sdk = 1.28.0 in 'cbplugin.h
Title: Re: The 13 October 2015 build (10528) is out.
Post by: xawari on October 19, 2015, 12:00:25 am
Thank you devs very much, as usual! :) CB is still the best (considering how fat visual studio grew :D )

Now I pray for wxQT to become stable and official so I can finally get rid of gnome.

p-pal blocked my account, so I can't donate any more... at least for now.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on October 22, 2015, 12:04:06 am
I confirm bug #219 is fixed.

#220 is still open though http://sourceforge.net/p/codeblocks/tickets/220/ as is shown in https://transfer.sh/LVDPT/2015-10-21-235908-1920x1080-scrot.png
It happens as soon as I start playing with layouts, for instance if I make codeblocks fullscreen (Alt or WinKey + f by default in i3wm.org).
At your disposition should you need logs about events etc...
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on October 22, 2015, 12:23:45 am
I just ran into a bug for the first time when trying to open a file on linux:
"../src/common/wincmn.cpp(372): assert "id == wxID_ANY ||"

The backtrace was empty.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on October 22, 2015, 12:25:24 am
teto: Attach a debugger and type bt while the dialog is still present.

About the #220 can you try if the aui sample in the wx master behaves the same if you do the same operations?
Title: Re: The 13 October 2015 build (10528) is out.
Post by: foxblock on October 22, 2015, 01:07:54 pm
Hey there,
my CodeBlocks Nightly 10528 keeps crashing when I close a certain project file (or close CB while the project is open).
Just to check I tried an older nightly (10074), but the problem persists.
I tracked the problem down to the layout file (deleting the layout file, opening the project on an empty layout and closing it will not crash!).
It is not a big deal, since I can just create a new layout, but I thought I would still try to help tracking this bug down.

I attached a RPT file which contains three crashes when closing the project, followed by three for closing CodeBlocks while the project is opened with the problematic layout file (looks slightly different) and the problematic layout file.

I am trying to narrow down what file or combination of open files causes this problem. Let me know if you need any other info.

EDIT: It seems like the file "SimpleJoy.h" is causing this. Closing this file will also immediately crash CodeBlocks. Closing all other files, leaving only SimpleJoy.h open and then closing the project will lead to the same result.
You can find the file here: https://github.com/foxblock/penjin/blob/master/SimpleJoy.h

EDIT2: Oh, I just noticed the file is opened two times in the same view, which probably should not be the case and could cause this issue. Looks wacky lol
http://imgur.com/Sebs3tk (notice both tabs are highlighted, the other file I opened got automatically placed between them)
I honestly have no idea how I managed to do that though :/
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on October 22, 2015, 07:55:28 pm
foxblock can you please post the exact steps needed to reproduce the problem. Also I don't see a project file in the repo you've linked. Can you share it?
Title: Re: The 13 October 2015 build (10528) is out.
Post by: foxblock on October 22, 2015, 10:39:27 pm
Steps to reproduce the problem:
1) Start CodeBlocks nightly 10528
2) Open Project file "Greyout.cbp" (located in the folder "Greyout" in the zip)
3) Closing the project, closing CodeBlocks or closing the opened file "SimpleJoy.h" in project will lead to the crash

Here is a zip with the full project (all code needed and project file): http://foxblock.pirategames.co.uk/misc/Greyout_codeblocks_crash.zip

I am on Windows 7 64bit btw.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on October 22, 2015, 11:37:10 pm
Can't reproduce this on linux with rev 10542.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: Khazan on October 23, 2015, 08:58:04 am
I can reproduce it with codeblocks r10528@win10 x64
After I close several "globle variable editor" warnings, there are two "SimpleJoy.h" opened.
Closing first one is ok, but then if I try to click or close the second one, C::B crashes.
I hope this may help :)
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on October 23, 2015, 09:01:23 am
I don't see two editors on linux. I guess it is windows only.
Can someone on windows try it?
Title: Re: The 13 October 2015 build (10528) is out.
Post by: Jenna on October 23, 2015, 09:41:50 am
I can reproduce it with codeblocks r10528@win10 x64
After I close several "globle variable editor" warnings, there are two "SimpleJoy.h" opened.
Closing first one is ok, but then if I try to click or close the second one, C::B crashes.
I hope this may help :)
Did you try if it helps to delete the *.layout-file of the project ?
Title: Re: The 13 October 2015 build (10528) is out.
Post by: Khazan on October 23, 2015, 09:54:40 am
Did you try if it helps to delete the *.layout-file of the project ?
Oh after deleting "Greyout.layout", no crashes anymore. :D
Title: Re: The 13 October 2015 build (10528) is out.
Post by: foxblock on October 23, 2015, 10:32:31 am
I fixed the problem without deleting the whole layout file by removing the second entry of "SimpleJoy.h" in the EditorTabsLayout tag in the layout file (line 1035).
So I guess the double mention of a single file there causes the problem.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on October 23, 2015, 09:11:40 pm
Jens: Are you able to reproduce this crash? I'm occasionally seeing some messing of the layout when I open a project. It happens when I've had files in multiple tabctrls, but I've not been able to find a way to reproduce it reliably.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on October 27, 2015, 04:39:06 pm
About the #220 can you try if the aui sample in the wx master behaves the same if you do the same operations?
Do you mean a binary in wxwidgets distribution ? do you know the name on linux please ?
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on October 27, 2015, 06:35:25 pm
While doing a search over the project, here's what came up:
Quote
../src/common/wincmn.cpp(372): assert "id == wxID_ANY || (id >= 0 && id < 32767) || (id >= wxID_AUTO_LOWEST && id <= wxID_AUTO_HIGHEST)" failed in CreateBase(): invalid id value
Reported in https://sourceforge.net/p/codeblocks/tickets/242/
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on October 27, 2015, 11:51:50 pm
I just ran into a bug for the first time when trying to open a file on linux:
"../src/common/wincmn.cpp(372): assert "id == wxID_ANY ||"

The backtrace was empty.
I just got that error again and contrary to last time, I attached gdb as you advised me, bug report visible  on:
https://sourceforge.net/p/codeblocks/tickets/243/
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on October 28, 2015, 09:49:02 am
Do you mean a binary in wxwidgets distribution ? do you know the name on linux please ?
I don't know if the wxwidgets package in your distro has the samples compiled and packages.
I'm always compiling them myself. The aui sample is in the samples/aui folder.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on October 28, 2015, 09:51:29 am
Tickets 242 and 243 should be fixed with rev 10529, please test post in the tickets if this is the case.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on November 02, 2015, 03:02:19 pm
Thanks obfuscated for the update ! I've installed the latest nightly and will reopen the tickets if I witness the problem again.

As for the samples, I don't think they are built in the packages (I looked with dpkg -L etc... didn't find it). I will try to install from source but this is a hell of a month for me so can't say when I will do.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on November 03, 2015, 08:25:46 pm
I compiled and tested with the AUI sample and it has the same problem as codeblocks, i.e., when the window is not focused and I update the i3 layout, it does not get properly redrawn.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on November 03, 2015, 08:39:01 pm
This is good, because it is not our problem and we can redirect you to the trac.wxwidgets.org :) Go post them an issue report about this problem.
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on November 04, 2015, 12:39:31 am
Issue filed on http://trac.wxwidgets.org/ticket/17243#ticket
On the other side it means that a fix will take more time to come up right :'( ? Anyway I had already reverted to an older nightly so it's all good for now :)
Title: Re: The 13 October 2015 build (10528) is out.
Post by: oBFusCATed on November 04, 2015, 01:00:28 am
But the old nightly should have the same problem if this is a wx issue.  :o
Title: Re: The 13 October 2015 build (10528) is out.
Post by: teto on November 07, 2015, 02:42:55 pm
Anyway I compiled myself your git mirror and the problems have disappeared (my build uses on wxWidgets 2.8 while the official nightlies are 3.0 I believe, that may be why).