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
qthread_wrapper$$CFE_id_58403e1c_qlib@qthread.c:2299
chapel_wrapper$$CFE_id_70d80183_ed8f0e2b@tasks-qthreads.c:814
wrapcoforall_fn_chpl4$$CFE_id_569285a2_9b0c5384@benchmark.chpl:122
coforall_fn_chpl4$$CFE_id_569285a2_9b0c5384@benchmark.chpl:126
chpl_gen_comm_get$$CFE_id_569285a2_9b0c5384@chpl-comm-compiler-macros.h:54
chpl_cache_comm_get@chpl-cache.c:2836
cache_get$$CFE_id_2835e7b6_d541bb58@chpl-cache.c:2297
find_in_tree$$CFE_id_2835e7b6_d541bb58@chpl-cache.c:1434
bottom_list_search$$CFE_id_2835e7b6_d541bb58@chpl-cache.c:1011
list_search$$CFE_id_2835e7b6_d541bb58@chpl-cache.c: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)