Jeff Epler 0d957fe15c
Fix several places where an exception could be chained wrongly
If an exception's chain or context can refer to a pointer from a different
VM, a crash would typically result.

This couldn't turn up on UNIX testing because the VM is never torn
down and rebuilt like it is on hardware.

Because in the 'static' case the GeneratorObject is now fully initialized
whenever it's raised, the initialization can be dropped, which reduces
the flash size slightly.
Closes: #7565
2023-02-10 09:06:47 -06:00
..
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2022-12-19 14:08:38 -05:00
2022-05-27 15:48:01 -07:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2022-05-12 13:20:44 -07:00
2023-02-01 13:38:41 +05:30
2022-05-27 12:59:54 -07:00
2021-10-15 08:20:54 -05:00
2023-02-01 13:38:41 +05:30
2023-02-01 13:38:41 +05:30
2022-10-05 13:12:43 -04:00
2022-02-15 12:36:26 -06:00
2022-10-05 13:12:43 -04:00
2021-10-15 15:11:21 -05:00
2022-05-27 15:48:01 -07:00
2022-10-09 19:22:39 -04:00
2021-04-19 22:22:44 -07:00
2021-04-19 22:22:44 -07:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2021-10-15 08:20:54 -05:00
2021-08-29 11:36:29 -05:00
2021-10-15 08:20:54 -05:00
2020-07-06 19:16:25 +01:00
2022-10-05 13:12:43 -04:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2021-05-08 20:17:16 -05:00
2021-05-08 20:17:16 -05:00
2021-04-19 22:22:44 -07:00
2021-06-18 10:54:19 -05:00
2020-07-06 19:16:25 +01:00
2021-06-18 10:54:19 -05:00
2021-04-19 22:22:44 -07:00
2022-05-27 12:59:54 -07:00
2021-10-15 08:20:54 -05:00
2021-04-19 22:22:44 -07:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2021-10-15 08:20:54 -05:00
2021-10-15 08:20:54 -05:00
2022-02-15 12:36:26 -06:00
2022-11-30 14:39:34 -06:00
2022-05-27 12:59:54 -07:00
2021-10-15 08:20:54 -05:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2022-11-30 14:39:47 -06:00
2022-05-27 12:59:54 -07:00
2022-11-30 14:39:47 -06:00
2021-10-15 08:20:54 -05:00
2022-05-27 12:59:54 -07:00
2021-08-04 12:10:57 +05:30
2022-05-27 12:59:54 -07:00
2021-04-19 22:22:44 -07:00
2021-10-15 08:20:54 -05:00
2021-10-15 08:20:54 -05:00
2022-05-27 12:59:54 -07:00
2022-11-30 14:39:33 -06:00
2020-07-06 19:16:25 +01:00
2021-04-19 22:22:44 -07:00
2022-10-09 19:22:39 -04:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2021-08-04 12:10:57 +05:30
2022-11-30 14:39:51 -06:00
2021-10-15 08:20:54 -05:00
2022-05-27 12:59:54 -07:00
2022-11-30 12:06:15 -06:00
2020-07-06 19:16:25 +01:00
2020-07-06 19:16:25 +01:00
2022-09-21 10:03:05 -04:00
2022-09-21 10:03:05 -04:00
2021-11-10 20:23:33 +05:30
2022-05-27 12:59:54 -07:00
2022-02-15 12:36:26 -06:00
2020-07-06 19:16:25 +01:00
2021-10-15 08:20:54 -05:00
2021-04-19 22:22:44 -07:00
2021-06-18 10:54:19 -05:00
2021-05-05 11:00:35 -05:00
2020-07-06 19:16:25 +01:00
2023-01-04 08:40:20 -06:00