bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Segmentation violation in PointerCell:release()


From: Elias Mårtenson
Subject: [Bug-apl] Segmentation violation in PointerCell:release()
Date: Tue, 10 Dec 2013 13:01:22 +0800

Assume the following two function definitions:

∇R←avg L
R←(+/L)÷⍴L

∇R←x foo y
R←avg 10?100

Now, running the following command will cause a crash:

avg foo\⍳1000

The following error is shown:

SEGMENTATION FAULT

----------------------------------------
-- Stack trace at main.cc:110
----------------------------------------
0x7f4f67c06bc5 __libc_start_main
0x4308f5  main
0x5043fd   Workspace::immediate_execution(bool)
0x45868d    Command::process_line()
0x4573b6     Command::process_line(UCS_string&)
0x461105      Executable::execute_body() const
0x4c8cd0       StateIndicator::run()
0x4822f1        Prefix::reduce_statements()
0x480bcb         Prefix::reduce_RETC___()
0x4f3837          UserFunction::pop_local_vars() const
0x4d49b5           Symbol::pop(bool)
0x4f9939            Value::~Value()
0x4f98c9             Value::~Value()
0x48366b              PointerCell::release(char const*)
0x7f4f69b3e870               
0x46e35a                
========================================
====================================================

Goodbye.

Process apl exited abnormally with code 3

Regards,
Elias

reply via email to

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