Yay.. Spent three hours fixing a single bug, that caused a segmentation fault from time to time. Found it in my map rendering code. Somewhat obvious when you see it, but I had a hard time spotting it. Went for a walk, came back, solved it. Anyone that can spot it?
for x := 0 to width - 1 do
begin
for y := 0 to height - x do
begin
....
end;
end;