Author Topic: The 13 October 2015 build (10528) is out.  (Read 16554 times)

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10192
Re: The 13 October 2015 build (10528) is out.
« Reply #15 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?
<debugger plugin maintainer>
(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!]

Offline foxblock

  • Single posting newcomer
  • *
  • Posts: 3
Re: The 13 October 2015 build (10528) is out.
« Reply #16 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.

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10192
Re: The 13 October 2015 build (10528) is out.
« Reply #17 on: October 22, 2015, 11:37:10 pm »
Can't reproduce this on linux with rev 10542.
<debugger plugin maintainer>
(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!]

Offline Khazan

  • Single posting newcomer
  • *
  • Posts: 3
Re: The 13 October 2015 build (10528) is out.
« Reply #18 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 :)

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10192
Re: The 13 October 2015 build (10528) is out.
« Reply #19 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?
<debugger plugin maintainer>
(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!]

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7200
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 13 October 2015 build (10528) is out.
« Reply #20 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 ?

Offline Khazan

  • Single posting newcomer
  • *
  • Posts: 3
Re: The 13 October 2015 build (10528) is out.
« Reply #21 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

Offline foxblock

  • Single posting newcomer
  • *
  • Posts: 3
Re: The 13 October 2015 build (10528) is out.
« Reply #22 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.

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10192
Re: The 13 October 2015 build (10528) is out.
« Reply #23 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.
<debugger plugin maintainer>
(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!]

Offline teto

  • Almost regular
  • **
  • Posts: 127
Re: The 13 October 2015 build (10528) is out.
« Reply #24 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 ?

Offline teto

  • Almost regular
  • **
  • Posts: 127
Re: The 13 October 2015 build (10528) is out.
« Reply #25 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/

Offline teto

  • Almost regular
  • **
  • Posts: 127
Re: The 13 October 2015 build (10528) is out.
« Reply #26 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/

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10192
Re: The 13 October 2015 build (10528) is out.
« Reply #27 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.
<debugger plugin maintainer>
(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!]

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10192
Re: The 13 October 2015 build (10528) is out.
« Reply #28 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.
<debugger plugin maintainer>
(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!]

Offline teto

  • Almost regular
  • **
  • Posts: 127
Re: The 13 October 2015 build (10528) is out.
« Reply #29 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.