Author Topic: Release 15.12, RC1 has arrived  (Read 44847 times)

Offline ssawgift

  • Multiple posting newcomer
  • *
  • Posts: 67
    • My personal website
Re: Release 15.12, RC1 has arrived
« Reply #45 on: December 20, 2015, 04:22:08 pm »
@ssawgift, both the two cases works fine here for the latest svn10625. Which compiler do you use?
I use gcc 4.9.3 built by MinGW-W64 project.
...
I just tested this compiler, and it works fine here on my system with the latest svn rev10626.
EDIT: I'm on my local c::b build against wx3.0.2

I found out why. It's caused by parsing delay. the 'using namespace std' scenario always takes much much more time than the other two cases.

For std::vector<int> and typedef cases, code completion is available almost instantly; but for the 'using namespace std' case, it usually takes more than 10 second in my case (a Windows XP virtual machine using VirtualBox).
« Last Edit: December 20, 2015, 04:33:38 pm by ssawgift »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 9722
Re: Release 15.12, RC1 has arrived
« Reply #46 on: December 20, 2015, 04:31:23 pm »
@CuteAlien:
Posting these is not very useful. Can you start codeblocks under gdb and post full backtraces when something crashes. You'll have to install the debug info package for these to be meaningful.

I'm having some crashes when using cb built with wx3, too, so hopefully I'll be able to get a meaningful backtrace.
<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 CuteAlien

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: Release 15.12, RC1 has arrived
« Reply #47 on: December 20, 2015, 09:36:45 pm »
Yeah, I feared that it's not enough information. My hope is only that some assert might seem familiar and for example gives you an idea about further asserts to add which get us closer.
I can try the gdb setup I guess. Thought I get the feeling the crashes are not exactly related to the actions I do when it crashes. Far too random and all over the place - and never reproducible. So likely even a callstack won't give the answer. But maybe more hints.

Offline CuteAlien

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: Release 15.12, RC1 has arrived
« Reply #48 on: December 20, 2015, 09:53:20 pm »
OK, here's a crash with gdb callstack (was typing code in the editor):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f36f1f3c700 (LWP 11483)]
0x00007f36fec36428 in IsOk (this=0x4455f88) at ../include/wx/gdiobj.h:49
49      ../include/wx/gdiobj.h: No such file or directory.
(gdb) bt
#0  0x00007f36fec36428 in IsOk (this=0x4455f88) at ../include/wx/gdiobj.h:49
#1  wxWindowBase::GetBackgroundColour (this=this@entry=0x4455eb0) at ../src/common/wincmn.cpp:1588
#2  0x00007f36feb08270 in wxDCImpl::InheritAttributes (this=0x7f36d0205eb0, win=0x4455eb0)
    at ../src/common/dcbase.cpp:1031
#3  0x00007f36feb07f74 in wxNativeDCFactory::CreateClientDC (this=<optimized out>, owner=0x7f36f1f3b790,
    window=0x4455eb0) at ../src/common/dcbase.cpp:143
#4  0x00007f36feb0a090 in wxClientDC::wxClientDC (this=0x7f36f1f3b790, win=0x4455eb0)
    at ../src/common/dcbase.cpp:210
#5  0x00007f36fecbd907 in wxGenericTreeCtrl::CalculatePositions (this=this@entry=0x4455eb0)
    at ../src/generic/treectlg.cpp:3983
#6  0x00007f36fecbef40 in wxGenericTreeCtrl::DoDirtyProcessing (this=0x4455eb0)
    at ../src/generic/treectlg.cpp:4145
#7  0x00007f36cb3b2fc8 in ClassBrowserBuilderThread::BuildTree (this=this@entry=0x445d4d0)
    at classbrowserbuilderthread.cpp:566
#8  0x00007f36cb3b369a in ClassBrowserBuilderThread::Entry (this=0x445d4d0)
    at classbrowserbuilderthread.cpp:220
#9  0x00007f36fe0163a2 in wxThread::CallEntry (this=this@entry=0x445d4d0) at ../include/wx/thrimpl.cpp:356
#10 0x00007f36fe016c83 in wxThreadInternal::PthreadStart (thread=0x445d4d0) at ../src/unix/threadpsx.cpp:867
#11 0x00007f36fb78c0a4 in start_thread (arg=0x7f36f1f3c700) at pthread_create.c:309
#12 0x00007f36faa9b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 9722
Re: Release 15.12, RC1 has arrived
« Reply #49 on: December 21, 2015, 01:58:48 am »
Oh, can you try to disable the symbol browser in the code completion settings?
This one is known to cause problems, because it calls gui functions in non-main-thread.
<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 ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 4851
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Release 15.12, RC1 has arrived
« Reply #50 on: December 21, 2015, 08:03:38 am »
Oh, can you try to disable the symbol browser in the code completion settings?
This one is known to cause problems, because it calls gui functions in non-main-thread.
I think:running the gui function in non-main-thread is not a good idea. But building the tree really take a lot of time. :)
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 CuteAlien

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: Release 15.12, RC1 has arrived
« Reply #51 on: December 22, 2015, 12:44:07 am »
Thank you! Whole evening without any crashes. Looks good so far :-)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9409
Re: Release 15.12, RC1 has arrived
« Reply #52 on: December 22, 2015, 09:09:06 am »
Thank you! Whole evening without any crashes. Looks good so far :-)
No crashes because of what? Disabling the symbol browser or something else?
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 Kalite

  • Single posting newcomer
  • *
  • Posts: 2
Re: Release 15.12, RC1 has arrived
« Reply #53 on: December 22, 2015, 09:18:34 am »
I try to download codeblocks 15.12 release and Avast is reporting there is a Virus inside.

Is it a false positive or not?


Offline CuteAlien

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: Release 15.12, RC1 has arrived
« Reply #54 on: December 22, 2015, 11:34:40 am »
Thank you! Whole evening without any crashes. Looks good so far :-)
No crashes because of what? Disabling the symbol browser or something else?

Yes, I disabled the symbol browser. Note that I had several crashes/asserts per hour the days before. Often several within minutes. So not having a single crash (or even assert) in coding for 2-3 hours last evening means it's a pretty good chance this was the main reason. I'll try to test it some more next days to see if any other asserts/crashes show up (well, because of X-Mas it'll probably be 1-2 weeks until I get to it).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9409
Re: Release 15.12, RC1 has arrived
« Reply #55 on: December 22, 2015, 01:21:55 pm »
I try to download codeblocks 15.12 release and Avast is reporting there is a Virus inside.
What exactly did you download? Its not visible in the screenshot.

Is it a false positive or not?
99.99999% likely a false positive. If unsure, please use services like virtustotal.com to see for yourself.
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 Kalite

  • Single posting newcomer
  • *
  • Posts: 2
Re: Release 15.12, RC1 has arrived
« Reply #56 on: December 22, 2015, 03:45:12 pm »
I try to download codeblocks 15.12 release and Avast is reporting there is a Virus inside.
What exactly did you download? Its not visible in the screenshot.

I download codeblocks 15.12 RC1 from sourceforge. Using the link bellow.
http://sourceforge.net/projects/codeblocks/files/Binaries/15.12-RC1/codeblocks-15.12-setup-RC1.exe/download

It download this link: http://skylink.dl.sourceforge.net/project/codeblocks/Binaries/15.12-RC1/codeblocks-15.12-setup-RC1.exe

Sorry, but I don't known this site (virustotal.com) and it's seems be a false positive (only 4 antivirus detect a Malware in it).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9409
Re: Release 15.12, RC1 has arrived
« Reply #57 on: December 22, 2015, 05:18:13 pm »
Sorry, but I don't known this site (virustotal.com) and it's seems be a false positive (only 4 antivirus detect a Malware in it).
Yes - that's typical for false-positive. The only way a virus can make it into the installer is if SourceForge gets hacked. But this would be recognized pretty fast I guess... 8)
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 OmegaDoom

  • Single posting newcomer
  • *
  • Posts: 1
Re: Release 15.12, RC1 has arrived
« Reply #58 on: December 26, 2015, 01:36:18 pm »
Hello. I've installed CB 15.12 RC1 on Win 7 but when I start it then nothing happens. The process "codeblocks" exists in TM but I don't see anything.

PS. Oh, it's working, it just starts very slowly.
« Last Edit: December 26, 2015, 01:49:35 pm by OmegaDoom »

Offline earlgrey

  • Multiple posting newcomer
  • *
  • Posts: 88
Logs window : Conflict between tabs re-ordering and frames docking
« Reply #59 on: December 27, 2015, 10:12:25 pm »
When trying to re-order the tabs in the Logs window, I end up with this.

« Last Edit: December 28, 2015, 07:32:07 am by earlgrey »
* OS = Debian Jessie - Linux 3.15.5 x64 SMP
* C::B = svn10631 wx-( 2.8.12 / 3.0.2 )-( Linux, unicode ) 64 bit + http://forums.codeblocks.org/index.php/topic,20608.15.html