News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Crashes when removing file from Project tree (rev1966)

Started by Michael, February 09, 2006, 01:09:00 PM

Previous topic - Next topic

Michael

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]
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

mandrav

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...

Michael

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]
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

MortenMacFly

#3
Quote from: Michael on February 09, 2006, 01:44:26 PM
Here it is without txt.
...I wonder what happens if "pf" from:

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):

EditorBase* ed = Manager::Get()->GetEditorManager()->IsOpen(pf->file.GetFullPath());

...just a wild guess...
Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]