Author Topic: CB frequent freezes opening blender source  (Read 4367 times)

Offline sphaero

  • Single posting newcomer
  • *
  • Posts: 7
CB frequent freezes opening blender source
« on: April 01, 2012, 12:09:41 am »
Hi all,

I just need some advice opening a big source repository in codeblocks. In my case the blender source.

If I do so it's just impossible to work because the UI freezes often.

Have a look at a capture I did while opening the source. http://youtu.be/eMRgw622C24

It takes about 180 seconds to open (so skip the first 3 min). That's no problem. But when I edit and save a file the UI freezes for about 12s.

I've already disabled "Update parser when typing". Otherwise you can't do a thing.
Disabling Code Completion doesn't help. Disabling Symbol browser doesn't help...
It probably is parsing something which takes long but I don;t know why and what.
 
The project file is generated using cmake -G "CodeBlocks - Unix Makefiles" ../blender/
CB 10.05 rev 0 on ubuntu lucid.

Anybody any advice on this?

Rg,

Arnaud

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12002
    • Travis build status
Re: CB frequent freezes opening blender source
« Reply #1 on: April 01, 2012, 12:19:47 am »
Can you try a recent nightly build?
(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 sphaero

  • Single posting newcomer
  • *
  • Posts: 7
Re: CB frequent freezes opening blender source
« Reply #2 on: April 01, 2012, 03:55:59 pm »
I've tried a nightly from pasgui ppa. It seems to do better. Haven't had any freezes yet. However I'm testing this on a different machine. (Oneiric)

Is it normal it generates a debug report on quit?

I'll test lucid now as well.

Rg,

Arnaud
« Last Edit: April 01, 2012, 04:02:08 pm by sphaero »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12002
    • Travis build status
Re: CB frequent freezes opening blender source
« Reply #3 on: April 01, 2012, 04:01:29 pm »
Is not normal is it generates a debug report on quit?
It depends on the revision. We had couple of bugs related to this, which have been fixed recently.
(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 sphaero

  • Single posting newcomer
  • *
  • Posts: 7
Re: CB frequent freezes opening blender source
« Reply #4 on: April 01, 2012, 04:03:32 pm »
The svn rev is 7671

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: CB frequent freezes opening blender source
« Reply #5 on: April 01, 2012, 04:08:10 pm »
Is it normal it generates a debug report on quit?
I fixed an issue, that sometimes leads to a crash on close in svn r7777.
If I see it correctly, pasgui's ppa has svn r7678 for oneiric and svn r7550 for lucid.

You can try a nightly from my repo (see signature). It should also work with ubuntu.

Offline sphaero

  • Single posting newcomer
  • *
  • Posts: 7
Re: CB frequent freezes opening blender source
« Reply #6 on: April 01, 2012, 04:17:59 pm »
I've tried the lucid nightly from pasgui and it works better as well. (svn rev 7548)

I'll see if can install from your repo Jens but from what I see need a newer wx version...

Rg,

Arnaud

Offline sphaero

  • Single posting newcomer
  • *
  • Posts: 7
Re: CB frequent freezes opening blender source
« Reply #7 on: April 01, 2012, 04:28:15 pm »
Hey Jens,

There's a typo in your instructions for the wx libs:
Code: [Select]
deb http://apt.wxwidgets.org/ squeezy-wx main
should be
Code: [Select]
deb http://apt.wxwidgets.org/ squeeze-wx main
I'm running your build now (rev 7899). It's seems to do fine as well.

I'll try lucid now as well.

Rg,

Arnaud

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: CB frequent freezes opening blender source
« Reply #8 on: April 01, 2012, 04:35:35 pm »
There's a typo in your instructions for the wx libs:

Fixed, thanks for reporting !

Offline sphaero

  • Single posting newcomer
  • *
  • Posts: 7
Re: CB frequent freezes opening blender source
« Reply #9 on: April 01, 2012, 04:40:40 pm »
Hey Jens,

On Oneiric your repo worked out of the box but on Lucid it refuses to install the wx libs.
Code: [Select]
sudo apt-get install codeblocks
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  codeblocks: Depends: libcodeblocks0 (= 10.05svn7899-1) but it is not going to be installed
              Depends: libwxgtk2.8-0 (>= 2.8.12.1) but 2.8.10.1-0ubuntu1.2 is to be installed
E: Broken packages

Using these apt lines:
Code: [Select]
deb http://apt.jenslody.de/ any main
deb-src http://apt.jenslody.de/ any main
deb http://apt.wxwidgets.org/ squeeze-wx main

Rg,

Arnaud


Offline sphaero

  • Single posting newcomer
  • *
  • Posts: 7
Re: CB frequent freezes opening blender source
« Reply #10 on: April 01, 2012, 04:48:52 pm »
It's fixed by changing the apt line not to point to squeeze-wx but lucid-wx...
Code: [Select]
deb http://apt.wxwidgets.org/ lucid-wx main
Now running rev 7899  :)

No new replies is good news!

Rg,

Arnaud