Hi David,
thanks for isolating the fault. I fixed it in SVN 327.
The fault was created by native functions being )OUT-ed and )IN-ed.
They are now handled properly, but the file created by )OUT is no longer
suitable as workspace exchange file when it contains native functions
(because native functions are a GNU APL extension that will not be
understood
by other APL interpreters).
)OUT issues a warning for every native function being written.
/// Jürgen
On 06/14/2014 08:16 PM, David B. Lamkins wrote:
Here's the minimal test case to tickle the `)IN crashes` bug:
---- file: foo.apl ----
⍝!
'lib_file_io' ⎕fx 'pkg⍙fileio'
---- end file ----
In GNU APL:
)load foo
loading )DUMP file /home/dlamkins/APL/workspaces/foo.apl...
WAS CLEAR WS
pkg⍙fileio
)out foo
)in foo
DOMAIN ERROR+
immediate_execution() caught APL error 0x50004 (DOMAIN ERROR)
====================================================
SEGMENTATION FAULT
----------------------------------------
-- Stack trace at main.cc:121
----------------------------------------
0x7f79b8733d65 __libc_start_main
0x435645 main
0x5294ba Workspace::immediate_execution(bool)
0x5009ae TestFiles::apl_error(char const*)
0x7f79ba404750
0x4859aa
========================================
====================================================
Process apl exited abnormally with code 3