bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] 2 Defects in 81x


From: Juergen Sauermann
Subject: Re: [Bug-apl] 2 Defects in 81x
Date: Tue, 13 Dec 2016 19:52:22 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Fred,

thanks, hopefully fixed in SVN 820.

Please note that there are definitely some faults (lock-ups) remaining if parallel execution
is enabled. These faults were sporadic and difficult to reproduce.
 My benchmarks of parallel execution did not show significant benefits on
today's CPUs and therefore I have not yet taken the time to find these faults.

/// Jürgen


On 12/13/2016 04:56 PM, Fred Weigel wrote:
Two defects to report.

I use GNU APL as libapl from another application (not lua). I also use
parallel.

Defect 1:

In libapl.cc, function Unicode_to_UTF8(), the memcpy() second argument
is &utf8.at(0) This is not correct with the current Simple_string.hh

Easiest fix is to remove the "protected:" line in Simple_string.hh

Defect 2:

In Parallel.cc, there is a call all_CPUs.resize(count). With the current
Simple_string.hh this does not work.

Easiest fix is to change to all_CPUs.shrink(count)

Fred Weigel




reply via email to

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