User forums > Using Code::Blocks

CRASH CB with a text file

(1/3) > >>

LETARTARE:
from http://forums.codeblocks.org/index.php?PHPSESSID=tofb9t8sn4c8i7a670rkq2a4f5&topic=1022.msg108685#msg108685
I get the file 'All_codeblocks_fr_7900.7z'
Then I load the file 'All_codeblocks.po' (1346448 bytes) in the editor of 'C::B' (or any file of the same size)
This file is encoded in UTF-8 with 'EOL' = 'LF'
The editor uses 'EOL' = 'CRLF'.
if I backup after a change, 'C::B' crashes with the following error message:

I repeated this operation several times, it seems that the file size is the reason for the crash.

Jenna:
Try to uncheck "Settings -> Editor -> Margins and caret -> Use changebar".

I know, that C:B can crash with very many changes tracked for the changebar, but i did not find the time to look into it deeper.

LETARTARE:
yes, it works well !!!!
it is not intuitive.
is there a limit on file size ?
Well thank you Jens

Jenna:

--- Quote from: LETARTARE on March 21, 2012, 02:22:43 pm ---yes, it works well !!!!
it is not intuitive.
is there a limit on file size ?
Well thank you Jens

--- End quote ---

No limit in file size, but the changebar implementation seems to run out of memory for too many changes.
As written before, I digged not into it deeper, but will do, if I find the time.
It needs about 50k changed lines to crash, and that is really large.

MortenMacFly:

--- Quote from: jens on March 21, 2012, 03:08:32 pm ---As written before, I digged not into it deeper, but will do, if I find the time.

--- End quote ---
Not sure, if you need this. On Windows, with recent wxScintilla (3.0.4) of my working copy it works just fine. I couldn't make is crash the ways as described, even with massive changes. Maybe it was a bug in the scintilla version we are using currently.

Navigation

[0] Message Index

[#] Next page

Go to full version