Magne Sjaastad
0410635815
#14179 Fix crash building cell search tree for LGR-heavy grids
...
The leaf-node cap that selects between the optimized and the
non-optimized cell search tree construction used cellCount(), which
only counts main grid cells and excludes LGR cells. The non-optimized
buildCellSearchTree() iterates totalCellCount() (main grid plus all LGR
cells) and creates one leaf per cell, so a grid with few main cells but
many LGR cells could be routed into that path and exhaust memory,
crashing while building the AABB tree.
Base the threshold on totalCellCount() so LGR-inflated grids are routed
to the optimized aggregating path and the leaf count stays bounded.
2026-06-10 08:47:24 +02:00
..
2026-05-26 13:10:20 +02:00
2026-05-26 13:10:20 +02:00
2026-05-26 13:10:20 +02:00
2026-06-08 10:18:41 +02:00
2026-06-08 21:42:19 +02:00
2026-05-26 13:10:20 +02:00
2026-05-26 13:10:20 +02:00
2026-06-10 08:45:53 +02:00
2026-05-26 13:10:20 +02:00
2026-05-26 13:10:20 +02:00
2025-11-19 10:25:32 +01:00
2025-11-03 16:06:58 +01:00
2025-11-25 09:45:12 +01:00
2025-09-12 08:38:43 +02:00
2021-01-11 15:27:45 +01:00
2025-05-19 17:40:39 +02:00
2025-05-19 17:40:39 +02:00
2026-03-31 12:32:05 +02:00
2026-03-31 12:32:05 +02:00
2024-10-29 18:17:31 +01:00
2024-10-29 18:17:31 +01:00
2021-01-11 15:27:45 +01:00
2023-02-26 10:48:40 +01:00
2023-09-19 18:03:36 +02:00
2023-09-19 18:03:36 +02:00
2026-01-12 09:58:55 +01:00
2026-01-12 09:58:55 +01:00
2026-05-08 10:11:09 +02:00
2021-02-11 03:01:17 +01:00
2026-06-08 15:35:31 +02:00
2026-06-08 15:35:31 +02:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2025-10-06 09:10:58 +02:00
2021-02-22 13:37:05 +01:00
2024-10-29 18:17:31 +01:00
2023-02-26 10:48:40 +01:00
2025-10-06 09:10:58 +02:00
2021-01-11 15:27:45 +01:00
2025-11-19 10:25:32 +01:00
2023-02-26 10:48:40 +01:00
2026-05-08 10:11:09 +02:00
2021-01-11 15:27:45 +01:00
2026-01-07 16:07:09 +01:00
2025-09-12 08:38:43 +02:00
2023-04-13 07:05:53 +02:00
2023-02-26 10:48:40 +01:00
2023-05-05 15:30:48 +02:00
2023-05-05 15:30:48 +02:00
2025-08-08 08:58:31 +02:00
2025-08-08 08:58:31 +02:00
2023-02-26 10:48:40 +01:00
2023-05-11 08:37:58 +02:00
2026-03-31 12:32:05 +02:00
2026-02-27 14:17:21 +01:00
2025-11-17 13:04:13 +01:00
2025-11-17 13:04:13 +01:00
2025-02-03 15:50:21 +01:00
2025-02-03 15:50:21 +01:00
2023-09-27 10:16:37 +02:00
2023-02-26 10:48:40 +01:00
2025-08-27 14:22:11 +02:00
2023-05-11 08:37:58 +02:00
2025-12-12 07:36:02 +01:00
2026-03-31 12:32:05 +02:00
2025-08-27 14:22:11 +02:00
2025-08-27 14:22:11 +02:00
2023-04-19 15:00:56 +02:00
2023-04-19 15:00:56 +02:00
2026-05-08 10:11:09 +02:00
2025-12-12 13:38:22 +01:00
2023-02-26 10:48:40 +01:00
2023-02-26 10:48:40 +01:00
2026-02-16 11:32:04 +01:00
2026-02-16 11:32:04 +01:00
2023-08-07 13:38:27 +02:00
2021-06-30 10:43:11 +02:00
2023-09-27 10:16:37 +02:00
2021-01-11 15:27:45 +01:00
2025-12-20 09:50:51 +01:00
2025-12-20 09:50:51 +01:00
2024-03-12 16:57:16 +01:00
2025-05-19 14:31:30 +02:00
2024-03-12 16:57:16 +01:00
2024-03-25 15:14:04 +01:00
2025-03-31 14:20:43 +02:00
2025-03-31 14:20:43 +02:00
2025-10-03 08:37:24 +02:00
2025-11-05 09:06:53 +01:00
2025-10-27 14:09:57 +01:00
2025-10-03 08:37:24 +02:00
2025-10-03 08:37:24 +02:00
2025-10-03 08:37:24 +02:00
2025-10-03 08:37:24 +02:00
2025-11-25 10:48:18 +01:00
2025-10-03 08:37:24 +02:00
2026-05-08 10:11:09 +02:00
2025-11-25 10:48:18 +01:00
2023-05-12 21:41:34 +02:00
2021-01-11 15:27:45 +01:00
2025-11-25 10:48:18 +01:00
2025-11-25 10:48:18 +01:00
2023-05-12 21:41:34 +02:00
2026-03-31 12:32:05 +02:00
2026-02-27 14:17:21 +01:00
2026-02-27 14:17:21 +01:00
2022-10-03 08:33:55 +02:00
2021-10-27 21:59:26 +02:00
2026-05-08 10:11:09 +02:00
2021-08-30 13:01:18 +00:00
2023-02-26 10:48:40 +01:00
2023-04-14 14:07:45 +02:00
2026-01-12 09:58:55 +01:00
2026-01-12 09:58:55 +01:00
2021-01-11 15:27:45 +01:00
2026-03-31 12:32:05 +02:00
2024-03-08 15:50:05 +01:00
2026-03-31 12:32:05 +02:00
2026-04-29 13:14:49 +02:00
2022-11-17 15:51:01 +01:00
2022-11-17 15:51:01 +01:00
2023-02-26 10:48:40 +01:00
2025-09-03 14:21:19 +02:00
2025-09-03 14:21:19 +02:00
2023-09-27 10:16:37 +02:00
2021-05-14 14:19:09 +02:00
2025-03-31 14:20:43 +02:00
2025-03-31 14:20:43 +02:00
2026-06-08 08:46:40 +02:00
2026-03-17 20:13:26 +01:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2026-06-10 08:47:24 +02:00
2025-12-20 09:50:51 +01:00
2023-09-27 10:16:37 +02:00
2023-02-26 10:48:40 +01:00
2026-05-08 10:11:09 +02:00
2024-04-16 14:22:15 +02:00
2026-03-30 11:24:56 +02:00
2026-03-30 11:24:56 +02:00
2026-03-30 11:24:56 +02:00
2026-03-30 11:24:56 +02:00
2026-03-31 12:32:05 +02:00
2021-01-11 15:27:45 +01:00
2025-05-30 08:20:43 +02:00
2025-05-30 08:20:43 +02:00
2024-02-25 09:21:48 +01:00
2024-02-25 09:21:48 +01:00
2023-02-26 10:48:40 +01:00
2025-07-16 13:10:47 +02:00
2026-03-30 11:24:56 +02:00
2026-03-30 11:24:56 +02:00
2026-03-30 11:24:56 +02:00
2025-09-12 08:38:43 +02:00
2026-03-31 12:32:05 +02:00
2025-09-18 11:46:57 +02:00
2026-03-23 10:29:58 +01:00
2025-09-18 11:46:57 +02:00
2025-09-29 11:46:28 +02:00
2025-09-29 11:46:28 +02:00
2026-03-31 12:32:05 +02:00
2023-05-11 08:37:58 +02:00
2025-09-26 10:26:43 +02:00
2021-04-09 15:35:05 +02:00
2021-05-20 07:37:55 +02:00
2024-11-04 09:54:23 +01:00
2023-02-26 10:48:40 +01:00
2026-05-08 10:11:09 +02:00
2026-02-24 13:46:15 +01:00
2023-02-26 10:48:40 +01:00
2021-01-11 15:27:45 +01:00
2023-09-27 10:16:37 +02:00
2025-05-19 14:31:30 +02:00
2024-03-25 15:14:04 +01:00
2022-08-25 09:17:00 +02:00
2022-07-06 18:18:11 +02:00
2022-07-06 18:18:11 +02:00
2026-05-08 10:11:09 +02:00
2023-05-15 15:43:01 +02:00
2025-05-20 15:07:27 +02:00
2021-01-11 15:27:45 +01:00
2025-03-31 14:20:43 +02:00
2023-02-26 10:48:40 +01:00
2021-02-25 16:38:56 +01:00
2021-02-25 16:38:56 +01:00
2021-02-25 16:38:56 +01:00
2021-02-25 16:38:56 +01:00
2023-02-26 10:48:40 +01:00
2023-02-26 10:48:40 +01:00
2026-03-04 07:37:19 +01:00
2026-03-30 11:24:56 +02:00
2026-03-30 11:24:56 +02:00
2025-12-08 15:58:05 +01:00
2025-12-08 15:58:05 +01:00
2025-02-26 15:21:12 +01:00
2025-02-26 15:21:12 +01:00
2024-02-14 15:16:47 +01:00
2024-01-29 15:05:08 +01:00
2026-03-31 12:32:05 +02:00
2021-01-11 15:27:45 +01:00