bugs.core_5943_test. Server crashes preparing a query with both DISTINCT/ORDER BY and non-field expression in the select list

Show cross-report outcomes.
Full history of outcomes and elapsed time, ms:
NN SNAP_INFO CS_outcome SS_outcome CS_run_time SS_run_time CS_run_beg CS_run_end SS_run_beg SS_run_end
1 4.0.6.3189 2025.02.25 1a1a5 P P 609 443 2025.07.02 13:16:30.123 2025.07.02 13:16:30.732 2025.07.02 12:04:10.330 2025.07.02 12:04:10.773
2 4.0.6.3184 2025.02.24 9388c P P 703 444 2025.02.25 13:27:34.600 2025.02.25 13:27:35.303 2025.02.25 12:11:21.317 2025.02.25 12:11:21.761
3 4.0.6.3183 2025.02.16 cf6ca P P 800 454 2025.02.17 07:21:21.205 2025.02.17 07:21:22.005 2025.02.17 06:04:43.821 2025.02.17 06:04:44.275
4 4.0.6.3169 2024.12.13 42cc1 P P 839 425 2025.02.16 04:19:10.906 2025.02.16 04:19:11.745 2025.02.16 03:04:27.018 2025.02.16 03:04:27.443
5 4.0.6.3169 2024.12.08 50eb6 P P 605 303 2024.12.12 18:40:55.337 2024.12.12 18:40:55.942 2024.12.12 17:41:09.719 2024.12.12 17:41:10.022
6 4.0.6.3168 2024.11.28 48149 P P 573 301 2024.12.06 03:02:32.691 2024.12.06 03:02:33.264 2024.12.06 02:04:10.246 2024.12.06 02:04:10.547
7 4.0.6.3163 2024.10.16 2bb10 P P 566 332 2024.11.27 11:26:23.419 2024.11.27 11:26:23.985 2024.11.27 10:27:19.253 2024.11.27 10:27:19.585
8 4.0.6.3163 2024.10.15 f387e P P 562 302 2024.10.16 04:32:50.526 2024.10.16 04:32:51.088 2024.10.16 03:37:16.610 2024.10.16 03:37:16.912
9 4.0.6.3147 2024.08.31 4655b P P 635 381 2024.09.30 11:47:11.484 2024.09.30 11:47:12.119 2024.09.30 10:45:20.787 2024.09.30 10:45:21.168
10 4.0.6.3140 2024.08.16 1dd8b P P 1271 1179 2024.08.31 18:03:17.596 2024.08.31 18:03:18.867 2024.08.31 16:12:10.631 2024.08.31 16:12:11.810
11 4.0.6.3140 2024.08.09 34747 P P 744 476 2024.08.16 10:51:04.732 2024.08.16 10:51:05.476 2024.08.16 09:43:38.056 2024.08.16 09:43:38.532
12 4.0.5.3110 2024.07.30 c6527 P P 853 443 2024.08.09 10:42:29.360 2024.08.09 10:42:30.213 2024.08.09 09:35:06.719 2024.08.09 09:35:07.162
13 4.0.5.3109 2024.06.11 6addf P P 575 279 2024.07.30 09:01:51.234 2024.07.30 09:01:51.809 2024.07.30 08:03:03.392 2024.07.30 08:03:03.671
14 4.0.5.3097 2024.05.09 27fa6 P P 677 371 2024.05.14 09:47:48.962 2024.05.14 09:47:49.639 2024.05.14 08:48:04.781 2024.05.14 08:48:05.152
15 4.0.5.3091 2024.04.29 bd0aa P P 448 232 2024.05.08 20:50:56.256 2024.05.08 20:50:56.704 2024.05.08 19:59:33.333 2024.05.08 19:59:33.565
16 4.0.5.3089 2024.04.25 4b9c7 P P 479 245 2024.04.27 15:35:12.843 2024.04.27 15:35:13.322 2024.04.27 14:43:15.356 2024.04.27 14:43:15.601

Elapsed time, ms. Chart for last 16 runs:

Last commits information (all timestamps in UTC):