News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 28 May 2014 build (9781) is out.

Started by killerbot, May 29, 2014, 12:29:42 AM

Previous topic - Next topic

ToApolytoXaos

#45
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

oBFusCATed

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

#47
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.

oBFusCATed

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

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.

Quote from: jens on June 21, 2014, 04:37:19 PM
By the way, I can confirm the crash on FC21 64-bit build with gcc4.9 !

Jenna

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

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.

MortenMacFly

Quote from: ToApolytoXaos on June 21, 2014, 10:19:05 AM
About crashing issue: Can anyone with svn9817 try to create a macro like
#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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

ToApolytoXaos

That's good to know. For the moment, I have the affected plugin disabled and works just fine.

cacb

#54
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.

killerbot

a new nightly will be made this week

MortenMacFly

#56
Quote from: killerbot on June 29, 2014, 04:49:20 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

xawari

If you need some previous nightlies archive or temporary www-hosting, I can help.
┌──────────────────────────────────────────────────────╖
in another thousand years we'll be machines or gods█
╘══════════════════════════════════════════════════════╝

White-Tiger

#58
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.
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)

MortenMacFly

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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]