Description
This is a meta-issue to keep a TODO list of Chapel implementation bugs we found/reported:
- Compiling a module that uses
BigInteger
, but never gets used itself: First Class Functions and Type System #3 (comment)
Issue now reported: chapel-lang/chapel#6536
- Missing error message where returning an inner function that uses outer-local variables: First Class Functions and Type System #3 (comment)
Issue: chapel-lang/chapel#6538
- Returning by-ref values from overridden methods and not capturing them at call site: Track Chapel Bugs #9 (comment)
Issue: chapel-lang/chapel#6542
- Class instances passed with explicit
ref
intent causes incorrect types during code generation.
Issue: chapel-lang/chapel#6642 -- only adresses the problem partially
SHA: 205021e
Notes: Run make FCHQueue
-
--cache-remote
fails assertion with FIFO queue
SHA: 51dd86e
Notes: Run with make Benchmark EXTRAFLAGS='--cache-remote -sisFIFO=true'
then bin/main.exe -nl 2 --nElements=1000
Output:
ATP Stack walkback for Rank 1 starting:
[empty]@0xffffffffffffffff
[email protected]:2299
[email protected]:814
[email protected]:122
[email protected]:126
chpl_gen_comm_get$$CFE_id_569285a2_9b0c5384@chpl-comm-compiler-macros.h:54
[email protected]:2836
[email protected]:2297
[email protected]:1434
[email protected]:1011
[email protected]:988
ATP Stack walkback for Rank 1 done
Process died with signal 11: 'Segmentation fault'
View application merged backtrace tree with: stat-view atpMergedBT.dot
You may need to: module load stat
- Returning arrays results in an internal/syntax error
Recommended reading:
https://github.com/chapel-lang/chapel/blob/master/doc/rst/developer/bestPractices/TestSystem.rst
The whole document is important as you'll be developing correctness tests that can be used in Chapel's testing infrastructure. Sub-header "Futures" some way down in the document is particularly useful for reporting bugs: you create an issue and ideally create a PR adding a "future" to the test system to track down the issue in nightly testing)