Author Topic: As build log gets longer compilation gets slower (addressed in SVN 9852)  (Read 13976 times)

Offline headkase

  • Almost regular
  • **
  • Posts: 159
Crash report in the IRC channel...

Quote
(2014-07-30 00:38:32) muumi: Hello. Current (trunk #9852) Codeblocks crashes on first compile in Ubuntu 14.04/XFCE/wx3.0 after launch. Please see http://dpaste.com/1BNNQZ5 for valgrind log and crashdump.
(2014-07-30 00:41:57) obfuscated: can you try if rev9851 works correctly?
(2014-07-30 00:43:05) obfuscated: if it works please post in this topic: http://forums.codeblocks.org/index.php/topic,19482.0.html
(2014-07-30 00:50:11) muumi: Revision 9851 does not crash.
(2014-07-30 01:20:01) muumi: The crash can be fixed by this patch: http://dpaste.com/0FYECQP
(2014-07-30 01:21:18) muumi: I don't know, why the wxDefaultDateTime is not valid, is there a race condition or what?

That is wx3.0, with 3.0 C::B will eat children?

Edit: Also, just built the new SVN 9853 on Windows using SVN 9852 with not a single issue.
« Last Edit: July 30, 2014, 03:03:53 pm by headkase »

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Reading further into wxWidgets docs, it appear that #define wxInvalidDateTime wxDefaultDateTime and comparison to any other wxDateTime object is supposed to be false.
That patch looks reasonable to me; go ahead and commit when ready.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Ok, in svn...
(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!]