View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000228 | MetaPost | bug | public | 2009-05-18 12:36 | 2010-07-14 12:31 |
Reporter | Taco | Assigned To | Taco | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 2.000 | ||||
Summary | 0000228: infinite loops can cause segfaults | ||||
Description | The code below can cause a segfault because the C stack becomes exhausted (you have to set param_size high enough, a 100.000 suffices on linux) | ||||
Additional Information | boolean a ; vardef a = if a : fi ; enddef ; a ; end. | ||||
Tags | No tags attached. | ||||
|
rudimentary solution in #1039. |
|
Here is another case, reported by Nicola 1) the following code: vardef foo@# = @ enddef; foo.a; causes a segmentation fault with mpost 1.201 and 1.202, while it correctly generates a stack capacity exceeded error in mpost 1.005. Note that |
|
second case fixed by #1093 |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-05-18 12:36 | Taco | New Issue | |
2009-05-21 11:58 | Taco | Status | new => assigned |
2009-05-21 11:58 | Taco | Assigned To | => Taco |
2009-05-21 11:58 | Taco | Note Added: 0000203 | |
2009-05-21 11:59 | Taco | Target Version | => 2.000 |
2009-06-06 11:25 | Taco | Note Added: 0000218 | |
2009-06-09 14:17 | Taco | Note Added: 0000225 | |
2010-07-14 12:31 | Taco | Status | assigned => closed |
2010-07-14 12:31 | Taco | Resolution | open => fixed |