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

Marc Weustink marc.weustink at cuperus.nl
Mon Mar 14 13:52:47 CET 2011


Peter Williams wrote:
> Hi All,
>
> I am trying to use some legacy Delphi QuickSort code.
>
> The problem is that the original defines this var:
> Var
> d : ptrArray Absolute da;
> and I have changed this in my version and it crashes with an error.
>
> Project Island_maker.exe raised exception class 'External SIGSEGV'
>
> I am trying to use my version of the code, not the original.

Where in your code do you assingn d ?

you're using island_single_array in your code everywhere, except in the 
call to swap ()

Marc




More information about the Lazarus mailing list