Author Topic: Crash after saving  (Read 1861 times)

Offline dani2304

  • Single posting newcomer
  • *
  • Posts: 3
Crash after saving
« on: November 21, 2016, 09:13:55 pm »
Hello,
since today I got the problem that Code Block crashes after trying to save my programm. The programm isnt that big just 7KB... The notebook i am using isnt the fastest but i think it should handle this with ease.
Also i can not taskkill the programm Codeblocks because that doesnt even react. By trying to "taskkill /IM "codeblocks.exe" /T /F" it just tells me that the process (subordinated to process "explorer.exe) can not be abandonned. Taskmanager also stops working in that case.

Can anyone please help me?

Thank you.

With best regards :)
« Last Edit: November 21, 2016, 09:24:45 pm by dani2304 »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2843
Re: Crash after saving
« Reply #1 on: November 22, 2016, 12:35:39 am »
What operating system?
What did you changed, so that it starts to crash?
What are the exact steps to crash codeblocks? (something like: 1) Open project 2) change file 3) Hit File->Save Project *CRASH*)
Does this happen only with one specific project?
Quote
it just tells me that the process (subordinated to process "explorer.exe) can not be abandonned. Taskmanager also stops working in that case.
wow never saw this before...

greetings

Offline dani2304

  • Single posting newcomer
  • *
  • Posts: 3
Re: Crash after saving
« Reply #2 on: November 22, 2016, 09:09:02 am »
I am using WIN 10 64 bit.

And i didnt even change a thing... CB crashes after i open a project, edit it and save it with ctrl+s. After this even the whole explorer crashes and i cant do anything anymore. Even shutting down the notebook is impossible and i have to force it to shutdown.
It occours on every project I open.

I also tried to completely deinstall it and reinstall it at another drive... unsuccesfully...

« Last Edit: November 22, 2016, 09:41:27 am by dani2304 »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2843
Re: Crash after saving
« Reply #3 on: November 22, 2016, 09:57:13 am »
If you didn't changed anything i don't think that this is a c::b problem.

Quote
After this even the whole explorer crashes and i cant do anything anymore.
This looks like  serious crash of some key componet on your system. Or c::b uses all CPU he can get. Can you see the CPU usage of codeblocks in the Task manager?
Have you tried to make a File system check? It could be possible that your file system is damaged.

Have you a Anti Virus tool? Can you try to disable it?

If this happens on every, also newly created project, I can also think of a corrupted config file of codeblocks. Close Codeblocks and try to rename the c:\Users\YOURUSERNAME\AppData\Roaming\Codeblocks\default.conf to old_default.conf afterwards start codeblocks again and look if the crash happens again.

greetings
« Last Edit: November 22, 2016, 09:59:46 am by BlueHazzard »

Offline dani2304

  • Single posting newcomer
  • *
  • Posts: 3
Re: Crash after saving
« Reply #4 on: November 22, 2016, 08:10:06 pm »
I tried several things now.
1. File system check. Everything was fine.
2. I disabled Anti Vir
3. Reinstalled Windows 10.

Nothing helped, still crashes my explorer -.- maybe i am going to return the notebook for a warranty case :)


Offline blauzahn

  • Multiple posting newcomer
  • *
  • Posts: 104
Re: Crash after saving
« Reply #5 on: November 22, 2016, 08:29:20 pm »
Have you tried to start c::b from the commandline.
Usually, then you can see logmessages and you might get crashlog messages as well.
This might help to narrow down the cause.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Crash after saving
« Reply #6 on: November 22, 2016, 09:01:43 pm »
If you start from commandlien, you can start it with "-v" parameter.
And did you try to remove/rename the old config-file as BlueHazzard wrote ?

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Crash after saving
« Reply #7 on: November 22, 2016, 09:03:04 pm »
If you start from commandlien, you can start it with "-v" parameter.
And did you try to remove/rename the old config-file as BlueHazzard wrote ?

I use C::B on Win10 64bit quite ofetn, withn out any issues so far, but I only use it as editor for web-developing.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2843
Re: Crash after saving
« Reply #8 on: November 22, 2016, 09:40:10 pm »
3. Reinstalled Windows 10.

Nothing helped, still crashes my explorer -.- maybe i am going to return the notebook for a warranty case :)
quite drastic if only codeblocks is crashing. Are other programs also crashing?

Quote
but I only use it as editor for web-developing.
codeblocks? tell me more :)