On Friday, 25 January 2013 at 16:19:15 UTC, Maxim Fomin wrote:
On Friday, 25 January 2013 at 15:15:32 UTC, Minas Mina wrote:
I found what the root of all evil was - The GC.
After disabling it, the program runs fine.
Perhaps you was working with C code, GC + legacy code sometimes
lead to logical memory errors. However GC per se is unlikely to
cause any errors (I remember Walter was telling that neither he
nor anybody faced issues with GC). Also your code may still
have errors but absence of GC hides them.
I have written the same program in C++ -- and I get no seg-fault.
Well I don't know for sure that something isn't wrong with my
code, but I suspect it is the GC that is messing things up.