Author Topic: The 28 May 2014 build (9781) is out.  (Read 44952 times)

ToApolytoXaos

  • Guest
Re: The 28 May 2014 build (9781) is out.
« Reply #45 on: June 21, 2014, 04:40:55 pm »
No, this is the first time I've tried creating debian packages.

Question: I read codecompletion.cpp file and can see many pointers in it not being released (cleared, null-ed should I say?) after their function member use.

Is there any smart pointer mechanism anywhere? For example, if you go to line 844 you see the pointer get initialized with whatever ed->GetColourSet(); is returning, but you don't see anywhere where this pointer gets null-ed or released.

I hope I haven't forgot the little C++ I knew all this time! lol
« Last Edit: June 21, 2014, 04:55:28 pm by ToApolytoXaos »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11724
    • Travis build status
Re: The 28 May 2014 build (9781) is out.
« Reply #46 on: June 21, 2014, 05:14:07 pm »
The object returned by GetColourSet it owned by the editor, so the callers don't have to delete 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!]

ToApolytoXaos

  • Guest
Re: The 28 May 2014 build (9781) is out.
« Reply #47 on: June 21, 2014, 06:41:39 pm »
I have found the problem. I have disabled every plugin and checked them one by one.

The problematic plugin is "SmartIndentCpp". It would crash the application upon parenthesis insertion.
« Last Edit: June 21, 2014, 11:28:36 pm by ToApolytoXaos »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11724
    • Travis build status
Re: The 28 May 2014 build (9781) is out.
« Reply #48 on: June 21, 2014, 11:45:19 pm »
Can you reproduce this issue in a simle console project?
(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!]

ToApolytoXaos

  • Guest
Re: The 28 May 2014 build (9781) is out.
« Reply #49 on: June 22, 2014, 12:01:06 am »
As I have originally posted, the reproduction happened in an "Empty Project" that produces console output.

Jens reproduced the same on Fedora21 with GCC 4.9.0 64-bit.

By the way, I can confirm the crash on FC21 64-bit build with gcc4.9 !

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 28 May 2014 build (9781) is out.
« Reply #50 on: June 22, 2014, 11:19:49 am »
I don't know why this happens, but the crash disappears if SmartIndent handles bracecompletion inside preprocessor-style also.
Debugging does not work correctly (for whatever reason, e.g. no backtrace).
No time to dig into it deeper at the moment.

ToApolytoXaos

  • Guest
Re: The 28 May 2014 build (9781) is out.
« Reply #51 on: June 22, 2014, 12:37:23 pm »
I have been struggling with the code since last night to decipher some parts of it, but I have failed miserably lol.

The only thing that caught my attention is the use of regular expressions. That's the place where you should pay attention IMHO.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9490
Re: The 28 May 2014 build (9781) is out.
« Reply #52 on: June 22, 2014, 03:10:31 pm »
About crashing issue: Can anyone with svn9817 try to create a macro like
Code: [Select]
#define arrsize(array) (sizeof(array) / sizeof(array[0]) )
Thats a bug in scintilla:
http://sourceforge.net/p/scintilla/bugs/1614

Will be fixed soon in C::B...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

ToApolytoXaos

  • Guest
Re: The 28 May 2014 build (9781) is out.
« Reply #53 on: June 22, 2014, 03:20:53 pm »
That's good to know. For the moment, I have the affected plugin disabled and works just fine.

Offline cacb

  • Regular
  • ***
  • Posts: 389
Re: The 28 May 2014 build (9781) is out.
« Reply #54 on: June 28, 2014, 01:20:55 am »
Hi I would like to download this Nightly ready built for Windows, but the links in the main post don't work as you probably are aware. Where can I download the prebuilt nightly for Windows? Could the links perhaps be updated?

Ok, found mirror site http://sourceforge.net/projects/codeblocks.berlios/files/

Still suggest updating the main post.
« Last Edit: June 28, 2014, 01:22:55 am by cacb »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: The 28 May 2014 build (9781) is out.
« Reply #55 on: June 29, 2014, 04:49:20 pm »
a new nightly will be made this week

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9490
Re: The 28 May 2014 build (9781) is out.
« Reply #56 on: June 29, 2014, 07:59:16 pm »
a new nightly will be made this week
I just realised that with BerliOS being gone we also lost the nightly archive except the mentioned BerliOS mirror. We should "copy" all nightlies from this to our official file data base at SF.NET... :P

Dev-volunteers with a fast internet connection wrt to uploads, please?! :-)

Edit: I've just created a folder at:
https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/

Edit2:
Copying... but unfortunately it looks like we have lost AT LEAST all nightlies form 2013... why the hell it is like that - I don't know.
« Last Edit: June 29, 2014, 08:24:12 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline xawari

  • Multiple posting newcomer
  • *
  • Posts: 36
  • programming, usability ctrl
    • welcome to reality
Re: The 28 May 2014 build (9781) is out.
« Reply #57 on: July 01, 2014, 11:06:51 am »
If you need some previous nightlies archive or temporary www-hosting, I can help.
┌──────────────────────────────────────────────────────╖
in another thousand years we'll be machines or gods█
╘══════════════════════════════════════════════════════╝

Offline White-Tiger

  • Multiple posting newcomer
  • *
  • Posts: 83
Re: The 28 May 2014 build (9781) is out.
« Reply #58 on: July 01, 2014, 03:55:10 pm »
Well... it's not directly related to this nightly, but I hope you might be able to help anyway.

I've found out that the autosave plugin doesn't work for me when setup to use logrotate style...

Every time Code::Blocks crashes (and it happens from time to time) I loose my projects layout file.. (well it's there, have to use the *.layout.save file by manually renaming it)
Cause seem to be that wxWidgets cannot copy files to a file ending in ".temp" ... so changing autosave.cpp:143 from ".temp" to ".tmp" fixes it for me...
The behavior of wxWidgets looks weird to me though... why does the extension matter? And why can't it create files ending in ".temp" ?
Even though the wxCopyFile call at line 145 succeeds... Still never creates the file.
« Last Edit: July 01, 2014, 03:56:55 pm by White-Tiger »
Windoze 8.1 x86_64 16GiB RAM, wxWidgets-2.8x (latest,trunk), MinGW-builds (latest, posix-threads)
Code::Blocks (x86 , latest , selection length patch , build option fixes/additions , toggle comments)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9490
Re:
« Reply #59 on: July 01, 2014, 10:14:49 pm »
Wer have an archive at sourceforge now, just the actual nightlies are gone.if you have backups of these, tell me where....that would be great.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ