[07:34:35.915] # Although we try to configure the OS to core dump inside [07:34:35.915] # ${CORE_DUMP_DIR}, they may not obey this. So, move core files to the [07:34:35.915] # ${CORE_DUMP_DIR} directory. [07:34:35.915] find build/ -type f -name '*.core' -exec mv '{}' ${CORE_DUMP_DIR} \; [07:34:37.934] src/tools/ci/cores_backtrace.sh ${OS_NAME} ${CORE_DUMP_DIR} ${CORE_DUMP_EXECUTABLE_DIR} [07:34:37.946] which: minfree: Command not found. [07:34:37.946] executable minfree not found in /home/postgres/postgres/build/tmp_install/usr/local/pgsql/bin:/usr/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin, running 'lldb' without debug information [07:34:38.263] (lldb) target create --core "/var/crash/minfree" [07:34:38.276] error: Unable to find process plug-in for core file '/var/crash/minfree' [07:34:38.299] [07:34:38.299] [07:34:38.299] [07:34:38.335] (lldb) target create "/home/postgres/postgres/build/tmp_install/usr/local/pgsql/bin/postgres" --core "/var/crash/postgres.core" [07:34:40.269] Core file '/var/crash/postgres.core' (x86_64) was loaded. [07:34:40.269] (lldb) thread backtrace all [07:34:40.340] * thread #1, stop reason = signal SIGSEGV [07:34:40.340] * frame #0: 0x00000bfe43d5abe8 postgres`agg_retrieve_hash_table [inlined] select_current_set(aggstate=0x00000c0109fa7d68, setno=1, strategy=1) at nodeAgg.c:0 [07:34:40.340] frame #1: 0x00000bfe43d5abe5 postgres`agg_retrieve_hash_table at nodeAgg.c:3074:5 [07:34:40.340] frame #2: 0x00000bfe43d5aa41 postgres`agg_retrieve_hash_table(aggstate=0x00000c0109fa7d68) at nodeAgg.c:3004:12 [07:34:40.340] frame #3: 0x00000bfe43d58f7e postgres`ExecAgg(pstate=0x00000c0109fa7d68) at nodeAgg.c:0 [07:34:40.340] frame #4: 0x00000bfe43d82159 postgres`ExecSort [inlined] ExecProcNode(node=0x00000c0109fa7d68) at executor.h:384:9 [07:34:40.340] frame #5: 0x00000bfe43d82141 postgres`ExecSort(pstate=0x00000c0109fa7b58) at nodeSort.c:149:12 [07:34:40.340] frame #6: 0x00000bfe43d3d27a postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000c0109fa7b58) at executor.h:384:9 [07:34:40.340] frame #7: 0x00000bfe43d3d265 postgres`standard_ExecutorRun [inlined] ExecutePlan(queryDesc=0x00000c00e478f100, operation=CMD_SELECT, sendTuples=, numberTuples=0, direction=, dest=0x00000c00ef3e1628) at execMain.c:1707:10 [07:34:40.340] frame #8: 0x00000bfe43d3d1ea postgres`standard_ExecutorRun(queryDesc=0x00000c00e478f100, direction=, count=0) at execMain.c:366:3 [07:34:40.340] frame #9: 0x00000c009f22ef89 pg_stat_statements.so`pgss_ExecutorRun(queryDesc=0x00000c00e478f100, direction=ForwardScanDirection, count=0) at pg_stat_statements.c:1044:4 [07:34:40.340] frame #10: 0x00000bfe43f6734b postgres`PortalRunSelect(portal=0x00000c0052d52100, forward=, count=0, dest=) at pquery.c:916:4 [07:34:40.340] frame #11: 0x00000bfe43f66ead postgres`PortalRun(portal=0x00000c0052d52100, count=9223372036854775807, isTopLevel=, dest=0x00000c00ef3e1628, altdest=0x00000c00ef3e1628, qc=0x000076ebe8ca8bd0) at pquery.c:760:18 [07:34:40.340] frame #12: 0x00000bfe43f65bf2 postgres`exec_simple_query(query_string="select grouping((select t1.v from gstest5 t2 where id = t1.id)),\n (select t1.v from gstest5 t2 where id = t1.id) as s\nfrom gstest5 t1\ngroup by grouping sets(v, s)\norder by case when grouping((select t1.v from gstest5 t2 where id = t1.id)) = 0\n then (select t1.v from gstest5 t2 where id = t1.id)\n else null end\n nulls first;") at postgres.c:1279:10 [07:34:40.340] frame #13: 0x00000bfe43f63452 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:34:40.340] frame #14: 0x00000bfe43f5d0cd postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:124:2 [07:34:40.340] frame #15: 0x00000bfe43e90776 postgres`postmaster_child_launch(child_type=B_BACKEND, child_slot=19, startup_data=0x000076ebe8ca9a50, startup_data_len=24, client_sock=0x000076ebe8ca9940) at launch_backend.c:268:3 [07:34:40.340] frame #16: 0x00000bfe43e95754 postgres`ServerLoop [inlined] BackendStartup(client_sock=) at postmaster.c:3598:8 [07:34:40.340] frame #17: 0x00000bfe43e95713 postgres`ServerLoop at postmaster.c:1713:6 [07:34:40.340] frame #18: 0x00000bfe43e932b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1403:11 [07:34:40.340] frame #19: 0x00000bfe43daff15 postgres`main(argc=4, argv=0x000076ebe8ca9fe8) at main.c:231:4 [07:34:40.340] frame #20: 0x00000bfe43b3903b postgres`__start + 299 [07:34:40.340] (lldb) quit [07:34:40.428]