[06:06:28.089] # Although we try to configure the OS to core dump inside [06:06:28.089] # ${CORE_DUMP_DIR}, they may not obey this. So, move core files to the [06:06:28.089] # ${CORE_DUMP_DIR} directory. [06:06:28.089] find build/ -type f -name '*.core' -exec mv '{}' ${CORE_DUMP_DIR} \; [06:06:30.105] src/tools/ci/cores_backtrace.sh ${OS_NAME} ${CORE_DUMP_DIR} ${CORE_DUMP_EXECUTABLE_DIR} [06:06:30.115] which: minfree: Command not found. [06:06:30.116] 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 [06:06:30.428] (lldb) target create --core "/var/crash/minfree" [06:06:30.441] error: Unable to find process plug-in for core file '/var/crash/minfree' [06:06:30.464] [06:06:30.464] [06:06:30.464] [06:06:30.498] (lldb) target create "/home/postgres/postgres/build/tmp_install/usr/local/pgsql/bin/postgres" --core "/var/crash/postgres.core" [06:06:32.385] Core file '/var/crash/postgres.core' (x86_64) was loaded. [06:06:32.385] (lldb) thread backtrace all [06:06:32.458] * thread #1, stop reason = signal SIGSEGV [06:06:32.458] * frame #0: 0x0000080d1488c538 postgres`agg_retrieve_hash_table [inlined] select_current_set(aggstate=0x0000080f3ef33d68, setno=1, strategy=1) at nodeAgg.c:0 [06:06:32.458] frame #1: 0x0000080d1488c535 postgres`agg_retrieve_hash_table at nodeAgg.c:3074:5 [06:06:32.458] frame #2: 0x0000080d1488c391 postgres`agg_retrieve_hash_table(aggstate=0x0000080f3ef33d68) at nodeAgg.c:3004:12 [06:06:32.458] frame #3: 0x0000080d1488a8ce postgres`ExecAgg(pstate=0x0000080f3ef33d68) at nodeAgg.c:0 [06:06:32.458] frame #4: 0x0000080d148b3aa9 postgres`ExecSort [inlined] ExecProcNode(node=0x0000080f3ef33d68) at executor.h:384:9 [06:06:32.458] frame #5: 0x0000080d148b3a91 postgres`ExecSort(pstate=0x0000080f3ef33b58) at nodeSort.c:149:12 [06:06:32.458] frame #6: 0x0000080d1486ec0a postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000080f3ef33b58) at executor.h:384:9 [06:06:32.458] frame #7: 0x0000080d1486ebf5 postgres`standard_ExecutorRun [inlined] ExecutePlan(queryDesc=0x0000080f4cfc0100, operation=CMD_SELECT, sendTuples=, numberTuples=0, direction=, dest=0x0000080fd3516628) at execMain.c:1707:10 [06:06:32.458] frame #8: 0x0000080d1486eb7a postgres`standard_ExecutorRun(queryDesc=0x0000080f4cfc0100, direction=, count=0) at execMain.c:366:3 [06:06:32.458] frame #9: 0x0000080fa81f6f89 pg_stat_statements.so`pgss_ExecutorRun(queryDesc=0x0000080f4cfc0100, direction=ForwardScanDirection, count=0) at pg_stat_statements.c:1044:4 [06:06:32.458] frame #10: 0x0000080d14a98ecb postgres`PortalRunSelect(portal=0x0000080f88df4100, forward=, count=0, dest=) at pquery.c:916:4 [06:06:32.458] frame #11: 0x0000080d14a98a2d postgres`PortalRun(portal=0x0000080f88df4100, count=9223372036854775807, isTopLevel=, dest=0x0000080fd3516628, altdest=0x0000080fd3516628, qc=0x00007718447ab4f0) at pquery.c:760:18 [06:06:32.458] frame #12: 0x0000080d14a97772 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 [06:06:32.458] frame #13: 0x0000080d14a94fd2 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [06:06:32.458] frame #14: 0x0000080d14a8ec4d postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:124:2 [06:06:32.458] frame #15: 0x0000080d149c2216 postgres`postmaster_child_launch(child_type=B_BACKEND, child_slot=9, startup_data=0x00007718447ac370, startup_data_len=24, client_sock=0x00007718447ac260) at launch_backend.c:268:3 [06:06:32.458] frame #16: 0x0000080d149c71f4 postgres`ServerLoop [inlined] BackendStartup(client_sock=) at postmaster.c:3598:8 [06:06:32.458] frame #17: 0x0000080d149c71b3 postgres`ServerLoop at postmaster.c:1713:6 [06:06:32.458] frame #18: 0x0000080d149c4d58 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1403:11 [06:06:32.458] frame #19: 0x0000080d148e1865 postgres`main(argc=4, argv=0x00007718447ac908) at main.c:231:4 [06:06:32.458] frame #20: 0x0000080d146695bb postgres`__start + 299 [06:06:32.458] (lldb) quit [06:06:32.547]