Author Topic: Settings -> Editor Crashes  (Read 4782 times)

Offline KodeNerd

  • Single posting newcomer
  • *
  • Posts: 3
Settings -> Editor Crashes
« on: February 06, 2008, 01:02:55 am »
Whenever I try to edit my editor settings by going to Settings->Editor it crashes Code::Blocks. This happened recently (about two weeks ago) and even by putting a new nightly build the problem persists.

George Gough

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Settings -> Editor Crashes
« Reply #1 on: February 06, 2008, 06:46:59 am »
Which OS, which version of wxWidgets, have you changed anything before crash occurs the first time ?

Have you ever edited the C::B settings manually in "default.conf" or one of it's ini-files ?

Have you tried to delete the contents of codeblocks settings-dir ?
It's under "~/.codeblocks" on linux and under "c:\Document and Settings\<user>\Applications Data\codeblocks"  on Windows .
If there are very special settings you should make a backup of the directory before deleting it.

Offline bhagabhi

  • Single posting newcomer
  • *
  • Posts: 5
Re: Settings -> Editor Crashes
« Reply #2 on: February 06, 2008, 07:08:31 am »
I can confirm this crash on build 4861 - no crash on 4853.
(removing the Application Data folder doesn't help.)

I am running Windows XP SP2, using the wx from the 4853 build, wxmsw28u_gcc_cb_wx287.7z

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Settings -> Editor Crashes
« Reply #3 on: February 06, 2008, 09:13:53 am »
It works fine for me on Linux (tested on 32 and 64-bit debian unstable with the binaries from my rep), W2k (self-compiled with some patches and official download) and actual WinXP SP2 (official download).
No matter if a project is opened or not.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Settings -> Editor Crashes
« Reply #4 on: February 06, 2008, 10:19:19 am »
This usually happens if you compile C::B yourself and forget to run the update script. This script updates UI resources that might have changed, too. If you don't do that C::B accesses UI resources that are not available and will crash. This is just logical and there is nothing you can do about it and it is just not properly installed.
To fix this, read carefully how to compile C::B yourself and don't forget to run the update script to keep the resources in-sync. If you don't understand what I am talking about please use a C::B nightly package and don't compile yourself. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline bhagabhi

  • Single posting newcomer
  • *
  • Posts: 5
Re: Settings -> Editor Crashes
« Reply #5 on: February 06, 2008, 11:49:11 am »
I managed to get it working by deleting all CodeBlocks stuffs, and then installing the new version. I do have downloaded the source version, but I don't think I ever ran that version - just downloaded it to take a look at it.

Anyway, all is good now! Keep up the good work guys!