How can't overwriting memory not lead to try-except block, when this is true, what you say, this is the most crappiest and fatal design by fpc-developer...
In every other language you are able to catch those errors!
Ok: when you want to know my structure so badly, here is it...
I am creating a TBlock: (defined in some earlier posts)
in my class, i create such a memory-block which has:
* a "next" pointer to the same type
* a pointer to the start-adress of an array
so the TBLOCK is just an pointerholderrecord, if you want and my idea is, in the constructor i create such a block of memory with an initial-capacity, for example: 1000 array- values and 1-next pointer which is nil at the first-time
and in my: Write(index, value) function,
i want to write an element at a given position, ok:
But when i run the write(...) in a for loop of 40000 items, at one index, (mostly by round about index 33000)
SIGSEGV is raising and from there it doesnt execute..