Author Topic: The 11 April 2016 build (10762) is out.  (Read 17686 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 4908
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 11 April 2016 build (10762) is out.
« Reply #15 on: April 15, 2016, 04:17:35 am »
SVN r10826 cause such issue.
We have some discussions in our devs' internal subforum, hope it will fixed soon.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MaxGaspa

  • Almost regular
  • **
  • Posts: 129
Re: The 11 April 2016 build (10762) is out.
« Reply #16 on: April 15, 2016, 10:56:59 pm »
Some additional info on Hex Editor bug. I'm observing the same bug using Windows 7 64 bit (Enterprise). Attached a snapshot of the "shift" of the byte once I clicked one of them.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7178
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 11 April 2016 build (10762) is out.
« Reply #17 on: April 15, 2016, 11:12:44 pm »
Should be fixed in trunk/master.

fix confirmed
Reverted in trunk, because there is no need to fix code, that has worked since 11/2014.

The error was the date in the comment in autorevision.h (if I understand the comment in the commit correctly), and this was an artefact of another commit that broke revisioning with autofoo/linux.

Removing the broken autorevision.h would have been the correct fix for the issue.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10056
Re: The 11 April 2016 build (10762) is out.
« Reply #18 on: April 16, 2016, 12:44:04 am »
Removing the broken autorevision.h would have been the correct fix for the issue.
Obviously it is pretty easy to miss it, so the current check is not OK.
But I'm not touching this code any more... too fragile... I shouldn't have bothered in the beginning...
<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: 7178
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 11 April 2016 build (10762) is out.
« Reply #19 on: April 16, 2016, 12:58:12 am »
Removing the broken autorevision.h would have been the correct fix for the issue.
Obviously it is pretty easy to miss it, so the current check is not OK.
But I'm not touching this code any more... too fragile... I shouldn't have bothered in the beginning...

It's only not okay, because of the added (in my opinion useless) date to the comment in autorevision.h, that broke revision numbering before.
It has worked without issues (as far as I know) since 2014 for many nightlies on linux and windows, until the date was added to the comment.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10056
Re: The 11 April 2016 build (10762) is out.
« Reply #20 on: April 16, 2016, 01:18:22 am »
And then the auto-fu broke for no apparent reason and thus my statement that the whole autoversion code is too fragile is definitely correct.
<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: 7178
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 11 April 2016 build (10762) is out.
« Reply #21 on: April 16, 2016, 08:17:49 am »
And then the auto-fu broke for no apparent reason and thus my statement that the whole autoversion code is too fragile is definitely correct.
Autofoo itself works fine (configure, build and run), but the autorevisioning stuff does not and the version numnber is "0".

But yes, your are definitely correct, that the autorevision-stuff is quite fragile.

Offline Slammer

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: The 11 April 2016 build (10762) is out.
« Reply #22 on: April 17, 2016, 09:28:34 pm »
I have general stability problems with the last versions,  I dont know if it is related with 10762 exactly.
Sometimes the interface getting frozen or I have failures with exit with no reason, while working on editor.....
I am using CB for many years (from 2006, if I remember) for all my projects and now the instability is worse than ever, every 10-15 minutes the CB fails, it is impossible to work....
I am using Debian/amd64. 
« Last Edit: April 17, 2016, 09:37:12 pm by Slammer »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10056
Re: The 11 April 2016 build (10762) is out.
« Reply #23 on: April 17, 2016, 09:55:17 pm »
Disable the class browser in the settings of the Code completion plugin and the crashes will stop.
<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 Slammer

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: The 11 April 2016 build (10762) is out.
« Reply #24 on: April 18, 2016, 01:49:15 am »
Thank you! It is much better now....
I can live without Class browser.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 4908
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 11 April 2016 build (10762) is out.
« Reply #25 on: April 18, 2016, 03:02:48 am »
Disable the class browser in the settings of the Code completion plugin and the crashes will stop.
May, the building of the tree should go to OnIdle handler. The whole task will be divided to several pieces.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10056
Re: The 11 April 2016 build (10762) is out.
« Reply #26 on: April 18, 2016, 08:40:27 am »
Don't know yet. I'm doing others staff at the moment, but eventually I'll get to fixing this issue. :)
<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 MaxGaspa

  • Almost regular
  • **
  • Posts: 129
Re: The 11 April 2016 build (10762) is out.
« Reply #27 on: April 19, 2016, 09:25:08 pm »
Another bug in this nigthly after the Hex editor one. In

Settings->Compiler

make a right click and then "new flag" -> crash!!!

Observed using Windows XP 32 bit SP3, tomorrow I'll be trying to replicate the bug using Windows 7 64 bit.

RPT attached


Offline raynebc

  • Almost regular
  • **
  • Posts: 135
Re: The 11 April 2016 build (10762) is out.
« Reply #28 on: April 19, 2016, 10:45:10 pm »
I reproduced that "new flag" crash on the first try.  Windows 7 Pro 64 bit.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10056
Re: The 11 April 2016 build (10762) is out.
« Reply #29 on: April 19, 2016, 11:06:14 pm »
Works fine on linux.  :(
<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!]