Author Topic: Crashes when removing file from Project tree (rev1966)  (Read 4936 times)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Crashes when removing file from Project tree (rev1966)
« on: February 09, 2006, 01:09:00 pm »
Hello,

I have experienced some crashes with rev1966 (Windows XP SP2). The crashes seem to occur (but not always) when I select a file from the project tree and I would like to remove it. Sometimes C::B crash at this point. The problem is that if I do not have saved the project file, then I loose all the modifications I have done so far.

I attach the RPT file. Hope it can help.

Best wishes,
Michael

PS.: To look at the RPT file, please remove the txt extension and then unpack it with 7zip.


[attachment deleted by admin]

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Crashes when removing file from Project tree (rev1966)
« Reply #1 on: February 09, 2006, 01:38:32 pm »
The attachment is corrupt. Try again...
Btw, I 've allowed the 7z extension so don't append .txt to it. This is why it gets corrupted...
Be patient!
This bug will be fixed soon...

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Crashes when removing file from Project tree (rev1966)
« Reply #2 on: February 09, 2006, 01:44:26 pm »
Ok, I see. May be because it is handled as text even if it is binary. Here it is without txt. Sorry.

Michael


[attachment deleted by admin]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Crashes when removing file from Project tree (rev1966)
« Reply #3 on: February 09, 2006, 02:28:50 pm »
Here it is without txt.
...I wonder what happens if "pf" from:
Code
ProjectFile* pf = ftd->GetProjectFile();
is NULL (or similar) because there is no project file? What would that mean to the the following line (that crashes):
Code
EditorBase* ed = Manager::Get()->GetEditorManager()->IsOpen(pf->file.GetFullPath());
...just a wild guess...
Morten.
« Last Edit: February 09, 2006, 02:30:24 pm by MortenMacFly »
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