News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

The 13 October 2015 build (10528) is out.

Started by killerbot, October 13, 2015, 06:45:58 PM

Previous topic - Next topic

foxblock

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.

oBFusCATed

Can't reproduce this on linux with rev 10542.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Khazan

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 :)

oBFusCATed

I don't see two editors on linux. I guess it is windows only.
Can someone on windows try it?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Quote from: 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 :)
Did you try if it helps to delete the *.layout-file of the project ?

Khazan

Quote from: jens on October 23, 2015, 09:41:50 AM
Did you try if it helps to delete the *.layout-file of the project ?
Oh after deleting "Greyout.layout", no crashes anymore. :D

foxblock

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.

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

teto

Quote from: oBFusCATed on October 22, 2015, 12:25:24 AM
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 ?

teto

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/

teto

Quote from: 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.
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/

oBFusCATed

Quote from: teto on October 27, 2015, 04:39:06 PM
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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

Tickets 242 and 243 should be fixed with rev 10529, please test post in the tickets if this is the case.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

teto

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.

teto

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.