Author Topic: 12.11 windows 'user install' - crash on settings  (Read 15416 times)

Offline originalsurfmex

  • Single posting newcomer
  • *
  • Posts: 7
12.11 windows 'user install' - crash on settings
« on: December 04, 2013, 05:22:54 pm »
I am using codeblocks 12.11 (user install) on windows 7.  Every time I go to "Settings" --> "Environment" or "Settings" --> "Editor", I get a crash.  The message says:

"codeblocks.exe has stopped working - a problem casued the program tos top working correctly. please close the program"

I have tried running in Admin mode, same trouble.  I also can't figure out how to make codeblocks generate a debug log in windows.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: 12.11 windows 'user install' - crash on settings
« Reply #1 on: December 04, 2013, 08:16:27 pm »
Hi!
12.11 is quite old right now.. I would try a nightly build on windows (until the new release is out) or you use the RC1. It isn't that difficult to set up...

greetings

Offline originalsurfmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: 12.11 windows 'user install' - crash on settings
« Reply #2 on: December 04, 2013, 09:36:29 pm »
I just installed the latest nightly (16 November 2013 build) along with the two dll's provided and get the same crash, the only difference is that the error now says:

"Cross-platform IDE built around wxWidgets, designed to be extensible and configurable. has stopped working - a problem has caused the program to stop working correctly. please close the program"

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: 12.11 windows 'user install' - crash on settings
« Reply #3 on: December 04, 2013, 10:21:29 pm »
Try deleting or renaming the Code::Blocks config file.

IIRC, it named default.conf likely in Folder %APPDATA%\Roaming\codeblocks

Tim S.



C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline originalsurfmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: 12.11 windows 'user install' - crash on settings
« Reply #4 on: December 06, 2013, 11:59:07 am »
Still getting the same error.

So far I have:
 - removed the appdata/Roaming/Codeblocks folder completely
 - completely uninstalled codeblocks and downloaded and installed 13.12-RCI
 - tried installing both to a folder on my desktop as I prefer and to Program Files as is typical
 - tried running it from the command line with --debug-log and /d, also tried --safe-mode.

I could not find any debug logs anywhere.  This is kind of a bummer, any other suggestions?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: 12.11 windows 'user install' - crash on settings
« Reply #5 on: December 06, 2013, 01:04:40 pm »
Try -v parameter to probably get a meaningful message, even if it will not work (most likely).

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: 12.11 windows 'user install' - crash on settings
« Reply #6 on: December 06, 2013, 01:37:24 pm »
Have you tried it to running from cmd with the --debug-log and /d arguments?
Have you installed other wxWidgets libraries (versions)?
can your try to start it with gdb?

Thank you for your patience

greetings.

Offline originalsurfmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: 12.11 windows 'user install' - crash on settings
« Reply #7 on: December 06, 2013, 01:57:38 pm »
I tried the following commands with arguments from cmd.exe

codeblocks.exe -v
codeblocks.exe -v --debug-log
codeblocks.exe /d /v

None of them seem to yield anything.  I have not installed any other wxWidgets libraries anywhere.  I am using the GCC compiler as my default and gdb is my default debugger. How do I start it with gdb?

I saw something about a codeblocks.RPT file in the wiki, there is no such file in my installation directory though.  I really wish I could dig up an error log somehow.

Thanks for helping me track down the problem.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 12.11 windows 'user install' - crash on settings
« Reply #8 on: December 06, 2013, 02:01:26 pm »
there is no such file in my installation directory though.
This file won't go in the installation directory, but probably at some temp place where your user has write access rights.
Search your %APP_DATA% or %TEMP% for 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!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: 12.11 windows 'user install' - crash on settings
« Reply #9 on: December 06, 2013, 02:04:25 pm »
On windows it should be in the same folder as codeblocks.exe .

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: 12.11 windows 'user install' - crash on settings
« Reply #10 on: December 06, 2013, 02:09:22 pm »
sadly c::b has no good error logging...
you can start gdb from the command line
I suppose your mingw installation is in your path, then you can simply run
Code
path/to/cb/gdb.exe codeblocks.exe

and if you get some segfault you can get a backtrace with
Code
bt
but i think it won't contain many information, because c::b binaries arn't compiled with -g option...

greetings

Offline originalsurfmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: 12.11 windows 'user install' - crash on settings
« Reply #11 on: December 06, 2013, 02:17:13 pm »
The codeblocks.rpt file is nowhere to be found in either appdata, temp or installation folders.

I tried running it with gdb as suggested however gdb said:
Code
(no debugging symbols found)

When the same crash occured nothing happened in gdb.  I can't help but roll my eyes at the irony of not being able to debug my ide.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 12.11 windows 'user install' - crash on settings
« Reply #12 on: December 06, 2013, 02:36:23 pm »
On windows it should be in the same folder as codeblocks.exe .
But how do we handle access rights if the exe is in program files?
(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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 12.11 windows 'user install' - crash on settings
« Reply #13 on: December 06, 2013, 02:40:54 pm »
originalsurfmex:
Can you try to install after that search for codeblocks in you drive and manually delete any files you find, then install?
Also can you try a night build install?
(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 originalsurfmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: 12.11 windows 'user install' - crash on settings
« Reply #14 on: December 06, 2013, 03:34:03 pm »
The problem is still there

I used everything search engine ( http://www.voidtools.com/ ) to find any remaining files - there weren't any in unusual places.  I installed the nightly SVN 9455 and tried reproducing the crash both with MinGW and without MinGW.

After all of that, I also tried adding the MinGW bin folder to my system path.

It still crashes every time on those menus.