bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Crash when calling functions with array specifiers


From: Elias Mårtenson
Subject: [Bug-apl] Crash when calling functions with array specifiers
Date: Wed, 15 Jan 2014 12:47:41 +0800

Test case:

Define a function like this:

∇foo[N] X
'N =' N
'X =' X


Then call it twice with a two-dimensional index. The second call will result in a core dump:

      foo[4;5] 6
SYSTEM LIMIT (rank)
foo[1]  'N=' N
             ^
      foo[4;5] 6
apl: malloc.c:3635: _int_malloc: Assertion `victim->fd_nextsize->bk_nextsize == victim' failed.

Regards,
Elias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]