Missing separate debuginfos, use: dnf debuginfo-install libgcc-11.2.1-9.fc34.x86_64 (gdb) bt #0 0x00007159d9be82a2 in raise () from /lib64/libc.so.6 #1 0x00007159d9bd18a4 in abort () from /lib64/libc.so.6 #2 0x000000000096d3fa in ExceptionalCondition (conditionName=conditionName@entry=0xae4ed3 "context.refcount == 0", errorType=errorType@entry=0x9c3017 "FailedAssertion", fileName=fileName@entry=0xae4da6 "subselect.c", lineNumber=lineNumber@entry=1166) at assert.c:69 #3 0x000000000078acda in inline_cte (cte=0x134e240, root=0x1242298) at subselect.c:1166 #4 SS_process_ctes (root=root@entry=0x1242298) at subselect.c:963 #5 0x0000000000782fb1 in subquery_planner (glob=0x134dbc0, parse=parse@entry=0x134daa8, parent_root=parent_root@entry=0x13491e8, hasRecursion=hasRecursion@entry=false, tuple_fraction=0) at planner.c:650 #6 0x0000000000752afe in set_subquery_pathlist (rte=, rti=, rel=, root=) at allpaths.c:2572 #7 set_rel_size (root=, rel=, rti=, rte=) at allpaths.c:424 #8 0x0000000000755080 in set_base_rel_sizes (root=) at allpaths.c:325 #9 make_one_rel (root=root@entry=0x13491e8, joinlist=joinlist@entry=0x134e078) at allpaths.c:187 #10 0x000000000077b4c2 in query_planner (root=root@entry=0x13491e8, qp_callback=qp_callback@entry=0x77c450 , qp_extra=qp_extra@entry=0x7fff5a500ba0) at planmain.c:276 #11 0x0000000000781122 in grouping_planner (root=, tuple_fraction=) at planner.c:1467 #12 0x00000000007838a1 in subquery_planner (glob=glob@entry=0x134dbc0, parse=parse@entry=0x1241818, parent_root=parent_root@entry=0x0, hasRecursion=hasRecursion@entry=false, tuple_fraction=tuple_fraction@entry=0) at planner.c:1044 #13 0x0000000000783ee3 in standard_planner (parse=0x1241818, query_string=, cursorOptions=2048, boundParams=) at planner.c:406 #14 0x000000000084e7a8 in pg_plan_query (querytree=0x1241818, query_string=query_string@entry=0x12407d0 "SELECT run FROM results_agg ORDER BY 1;", cursorOptions=cursorOptions@entry=2048, boundParams=boundParams@entry=0x0) at postgres.c:883 #15 0x000000000084e8a1 in pg_plan_queries (querytrees=0x134bf00, query_string=query_string@entry=0x12407d0 "SELECT run FROM results_agg ORDER BY 1;", cursorOptions=cursorOptions@entry=2048, boundParams=boundParams@entry=0x0) at postgres.c:975 #16 0x000000000084ebab in exec_simple_query (query_string=0x12407d0 "SELECT run FROM results_agg ORDER BY 1;") at postgres.c:1169 #17 0x00000000008506df in PostgresMain (dbname=, username=) at postgres.c:4542 #18 0x00000000007c1d12 in BackendRun (port=0x1265e90, port=0x1265e90) at postmaster.c:4491 #19 BackendStartup (port=0x1265e90) at postmaster.c:4219 #20 ServerLoop () at postmaster.c:1793 #21 0x00000000007c2c20 in PostmasterMain (argc=argc@entry=3, argv=argv@entry=0x123a3b0) at postmaster.c:1465 #22 0x0000000000510725 in main (argc=3, argv=0x123a3b0) at main.c:202