User forums > General (but related to Code::Blocks)

[bug report] bug when moving file(s) from a virtual folder to another

(1/2) > >>

r0d:
Greetings,

i looked for the right place to post a bug report, but didn't find. If here is not the right place, please say me.

Well, here's the description of the bug:
1. Moving a file from a virtual folder to another.
2. Modify (write into) this file
Result: crash of C::B

Config:
OS: Ubuntu 7.10
C::B 8.02

This bug occur every times this operation is done.

Today I tried with the Windows version (C::B 8.02 also), and the crash don't occur, thus this bug is only on the ubuntu (*nux ?) version.

Hope it helps.
r0d.

Jenna:
I can confirm this.

Here's a patch that fixes this issue:


--- Code: ------ codeblocks-1.0svn.orig/src/sdk/cbproject.cpp        2008-03-10 17:55:06.000000000 +0100
+++ codeblocks-1.0svn.work/src/sdk/cbproject.cpp        2008-04-02 23:00:01.000000000 +0200
@@ -1226,6 +1226,8 @@

     SetModified(true);

+    Manager::Get()->GetProjectManager()->RebuildTree();
+
     return true;
 }


--- End code ---

r0d:
Thanks for reply.

That means that i have to modify the source of C::B and rebuild it?

Jenna:
Yes.
Or wait until the bug is fixed in this or another way in svn, and then download the next nightly, or wait until I upload a patched version to my repo.

I will do so in some hours (I can post it here if it's done), because at work my upload is 16 times faster than at home (ISDN).

The svn-versions in my repo are build for debian from etch up to unstable/experimental, but should also work under Ubuntu.

Biplab:
Will look into this today. :)

Navigation

[0] Message Index

[#] Next page

Go to full version