User forums > Using Code::Blocks
Is my code too large?
Jenna:
That means when writing a logical zero in this bit it still reads as a logical one.
That sometimes leaded sometimes to segfaults (when started a program from console), sometimes gcc believed it had an internal compiler error, and sometimes applications crashed silently (when started from graphical filemanager or menu).
I had a similar error years ago on an old 486-box. That leads to not being possible to install w2k because of errors when trying to copy the installation files on hdd.
If you run with or without debugger the program most likely uses different parts of the memory.
I don't say you have a hardwre error, but you should make sure it is not.
I didn't believe it on my laptop, because really memory errors are very rare. Nevertheless I have to work with 1 GB instead of 4 GB (until I get the new memory) and when compiling two instances of C::B at the time, workflow becomes really slow.
Jenna:
By the way the "main.cpp" of C::B has more then 4000 lines of code and it compiles without problems and it can be run through gdb without crashes.
Navigation
[0] Message Index
[*] Previous page
Go to full version