[Lazarus] QuickSort procedure - raised exception class 'External SIGSEGV'

Joerg Schuelke joerg.schuelke at gmx.de
Mon Mar 14 10:17:09 CET 2011


Am Mon, 14 Mar 2011 15:29:36 +1100
schrieb Peter Williams <pewilliams2010 at live.com>:

> Procedure QuickSort( Var island_single_array : island_single_type;
>   left, right : integer);
>   Var
>     d       : island_single_type;

The initialzation of d is missing. Accessing d results SIGSEGV. In the
original code d is initialized by

>    d       : ptrArray Absolute da;

thats now broken. What do you think how many implementations of
quicksort are around? Is it realy needed to write a new one?
Excuse my bad english, i'm native german speaking.




More information about the Lazarus mailing list