Mercury Bugs - mercury |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000244 | mercury | Bug | public | 2011-12-07 07:13 | 2011-12-10 00:28 |
|
| Reporter | colanderman | |
|---|
| Assigned To | zs | |
|---|
| Priority | normal | Severity | minor | Reproducibility | always |
|---|
| Status | feedback | Resolution | reopened | |
|---|
| Platform | | OS | | OS Version | |
|---|
| Product Version | | |
|---|
| Target Version | | Fixed in Version | | |
|---|
|
| Summary | 0000244: Re-entering partially memoized multi/nondet predicate causes spurious loop exception |
|---|
| Description | If a memoized multi or nondet predicate is called, and after a few (but not all) results have been returned, is called again in a context which requires all of its solutions (e.g. by the solutions module or an all [] goal), then the following spurious runtime error will be produced:
Uncaught Mercury exception:
Software Error: detected need for minimal model in XXX
Stack dump not available in this grade.
See attached program for example. Comment out the memo pragma to see the expected behavior. |
|---|
| Additional Information | Possibly related to bug 111. |
|---|
| Tags | No tags attached. |
|---|
| Relationships | |
| Attached Files | nondet_memo_bug.m (343) 2011-12-07 07:13 https://bugs.mercurylang.org/file_download.php?file_id=146&type=bug |
|---|