Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000278 | mercury | Bug | public | 2013-04-04 23:16 | 2015-10-29 14:47 |
Reporter | pbone | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | Debian Linux | OS Version | 7.0 |
Product Version | |||||
Target Version | 15.11 | Fixed in Version | |||
Summary | 0000278: Compiler crash from bad state variable use. | ||||
Description | If I refer to the wrong state variable in the head of a lambda expression, I can reliably crash the compiler. I have a test case. | ||||
Steps To Reproduce | Attached in the testcase It crashes when I compile it with 'mmc --make' It also crashes in the Java grade. mmc -V prints out the following just before the crash. % Converting parse tree to hlds... % Processing clause 1 for predicate `bug.main/2'... % Processing clause 1 for predicate `bug.build_map/5'... The exception thrown is: Uncaught Mercury exception: Software Error: hlds.make_hlds.state_var: predicate `hlds.make_hlds.state_var.svar_find_final_renames_and_copy_goals'/7: Unexpected: readonly status Stack dump not available in this grade. ** Error making `Mercury/cs/bug.c'. I'm using the 12.08 beta (The release MCit is using) | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | bug278.m (841) 2013-04-04 23:19 https://bugs.mercurylang.org/file_download.php?file_id=173&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2013-04-04 23:16 | pbone | New Issue | |||
2013-04-04 23:19 | pbone | File Added: bug278.m | |||
2013-04-10 16:06 | juliensf | Note Added: 0000502 | |||
2013-04-10 16:06 | juliensf | Assigned To | => juliensf | ||
2013-04-10 16:06 | juliensf | Status | new => confirmed | ||
2013-04-10 16:07 | juliensf | Note Added: 0000503 | |||
2013-05-29 00:43 | juliensf | Note Added: 0000532 | |||
2015-10-21 11:33 | zs | Assigned To | juliensf => zs | ||
2015-10-21 11:33 | zs | Status | confirmed => assigned | ||
2015-10-22 06:49 | zs | Note Added: 0000856 | |||
2015-10-22 06:49 | zs | Status | assigned => resolved | ||
2015-10-22 06:49 | zs | Resolution | open => fixed | ||
2015-10-29 14:47 | pbone | Target Version | => 15.11 |