Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000369 | mercury | Bug | public | 2014-12-16 03:17 | 2014-12-16 10:18 |
Reporter | sebgod | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Windows NT 6.3 x86_64 | OS | Windows | OS Version | 8.1 |
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000369: Software Error: hlds.pred_table: predicate `hlds.pred_table.lookup_builtin_pred_proc_id'/8: Unexpected: can't locate put/5 | ||||
Description | Using the latest Mercury compiler (git commit fd822d712a8f1170a9fab3d9a1d05dd5e404106b) Compiling the attached example module yields following exception: Making Mercury\int3s\stream_put5_bug.int3 Making Mercury\ints\stream_put5_bug.int Making Mercury\asm_fast.gc\i686-pc-mingw32\Mercury\cs\stream_put5_bug.c Uncaught Mercury exception: Software Error: hlds.pred_table: predicate `hlds.pred_table.lookup_builtin_pred_proc_id'/8: Unexpected: can't locate stream.put/5 Stack dump not available in this grade. Error: system command received signal 1. ** Error making `Mercury\asm_fast.gc\i686-pc-mingw32\Mercury\cs\stream_put5_bug.c'. | ||||
Steps To Reproduce | mmc -m stream_put5_bug | ||||
Additional Information | Unfortunately I'm not sure when this bug exactly appeared (the program I used to compile was working fine for a while). An educated guess is that this appeared after the string.format changes in the compiler. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | stream_put5_bug.m (352) 2014-12-16 03:17 https://bugs.mercurylang.org/file_download.php?file_id=230&type=bug pred_table_fix_lookup_builtin_pred_proc_id.diff (1,552) 2014-12-16 03:18 https://bugs.mercurylang.org/file_download.php?file_id=231&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2014-12-16 03:17 | sebgod | New Issue | |||
2014-12-16 03:17 | sebgod | File Added: stream_put5_bug.m | |||
2014-12-16 03:18 | sebgod | File Added: pred_table_fix_lookup_builtin_pred_proc_id.diff | |||
2014-12-16 03:20 | sebgod | Note Added: 0000799 | |||
2014-12-16 03:21 | sebgod | Note Edited: 0000799 | bug_revision_view_page.php?bugnote_id=799#r36 | ||
2014-12-16 05:28 | zs | Assigned To | => zs | ||
2014-12-16 05:28 | zs | Status | new => assigned | ||
2014-12-16 10:18 | zs | Note Added: 0000800 | |||
2014-12-16 10:18 | zs | Status | assigned => resolved | ||
2014-12-16 10:18 | zs | Resolution | open => fixed |