Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asyncdispatch+stackTraceOverride: fix premature collection (#18039) ↵ | Ștefan Talpalaru | 2021-05-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | [backport:1.2] Copying StackTraceEntry instances when nimStackTraceOverride is defined breaks the link between a cstring field that's supposed to point at another string field in the same object. Sometimes, the original object is garbage collected, that memory region reused for storing other strings, so when the StackTraceEntry copy tries to use its cstring pointer to construct a traceback message, it accesses unrelated strings. This only happens for async tracebacks and this patch prevents that by making sure we only use the string fields when nimStackTraceOverride is defined. Async tracebacks also beautified slightly by getting rid of an extra line that was supposed to be commented out, along with the corresponding debugging output. There's also a micro-optimisation to avoid concatenating two strings just to get their combined length. | ||||
* | Make await a template (#12085) | Alexander Ivanov | 2020-04-25 | 1 | -2/+4 |
| | | | | | * Make await a template * Generate await inside async/multisync | ||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -2/+7 |
| | | | | * fixes #11847 | ||||
* | make async tests green again | Andreas Rumpf | 2019-07-11 | 1 | -5/+5 |
| | |||||
* | make tests green again | Araq | 2019-07-10 | 1 | -5/+5 |
| | |||||
* | Fixed tests | Yuriy Glukhov | 2018-06-06 | 1 | -5/+21 |
| | |||||
* | Review comments addressed. More thorough line info tracking. | Yuriy Glukhov | 2018-05-10 | 1 | -2/+2 |
| | |||||
* | Fix tasync_traceback test. | Dominik Picheta | 2018-01-11 | 1 | -0/+1 |
| | |||||
* | Use regex to match output of tasync_traceback. | Dominik Picheta | 2018-01-11 | 1 | -60/+69 |
| | |||||
* | Simplify async traceback processing. | Dominik Picheta | 2017-12-28 | 1 | -29/+43 |
| | |||||
* | No need to recurse now that mergeEntries doesn't do any pattern matching. | Dominik Picheta | 2017-12-28 | 1 | -2/+2 |
| | |||||
* | Show only detailed async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -10/+17 |
| | |||||
* | Rename cb0 to asyncProcName_continue + other improvements to async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -0/+1 |
| | |||||
* | Go through the re-raise stacks for more detailed tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -3/+44 |
| | |||||
* | Refine the async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -5/+12 |
| | |||||
* | Implement some simple pattern-based transformation for async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -0/+46 |