[06:23:46.257] # Although we try to configure the OS to core dump inside [06:23:46.257] # ${CORE_DUMP_DIR}, they may not obey this. So, move core files to the [06:23:46.257] # ${CORE_DUMP_DIR} directory. [06:23:46.257] find build/ -type f -name '*.core' -exec mv '{}' ${CORE_DUMP_DIR} \; [06:23:48.235] src/tools/ci/cores_backtrace.sh ${OS_NAME} ${CORE_DUMP_DIR} ${CORE_DUMP_EXECUTABLE_DIR} [06:23:48.249] which: minfree: Command not found. [06:23:48.249] 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:23:48.539] (lldb) target create --core "/var/crash/minfree" [06:23:48.550] error: Unable to find process plug-in for core file '/var/crash/minfree' [06:23:48.573] [06:23:48.573] [06:23:48.573] [06:23:48.607] (lldb) target create "/home/postgres/postgres/build/tmp_install/usr/local/pgsql/bin/postgres" --core "/var/crash/postgres.core" [06:23:50.481] Core file '/var/crash/postgres.core' (x86_64) was loaded. [06:23:50.481] (lldb) thread backtrace all [06:23:50.551] * thread #1, stop reason = signal SIGSEGV [06:23:50.551] * frame #0: 0x0000051b98aea138 postgres`agg_retrieve_hash_table [inlined] select_current_set(aggstate=0x0000051e481a3d68, setno=1, strategy=1) at nodeAgg.c:0 [06:23:50.551] frame #1: 0x0000051b98aea135 postgres`agg_retrieve_hash_table at nodeAgg.c:3074:5 [06:23:50.551] frame #2: 0x0000051b98ae9f91 postgres`agg_retrieve_hash_table(aggstate=0x0000051e481a3d68) at nodeAgg.c:3004:12 [06:23:50.551] frame #3: 0x0000051b98ae84ce postgres`ExecAgg(pstate=0x0000051e481a3d68) at nodeAgg.c:0 [06:23:50.551] frame #4: 0x0000051b98b11779 postgres`ExecSort [inlined] ExecProcNode(node=0x0000051e481a3d68) at executor.h:384:9 [06:23:50.551] frame #5: 0x0000051b98b11761 postgres`ExecSort(pstate=0x0000051e481a3b58) at nodeSort.c:149:12 [06:23:50.551] frame #6: 0x0000051b98acc7fa postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000051e481a3b58) at executor.h:384:9 [06:23:50.551] frame #7: 0x0000051b98acc7e5 postgres`standard_ExecutorRun [inlined] ExecutePlan(queryDesc=0x0000051e85f30900, operation=CMD_SELECT, sendTuples=, numberTuples=0, direction=, dest=0x0000051e57e46628) at execMain.c:1711:10 [06:23:50.551] frame #8: 0x0000051b98acc76a postgres`standard_ExecutorRun(queryDesc=0x0000051e85f30900, direction=, count=0) at execMain.c:366:3 [06:23:50.551] frame #9: 0x0000051e52fecf89 pg_stat_statements.so`pgss_ExecutorRun(queryDesc=0x0000051e85f30900, direction=ForwardScanDirection, count=0) at pg_stat_statements.c:1044:4 [06:23:50.551] frame #10: 0x0000051b98cf8f7b postgres`PortalRunSelect(portal=0x0000051ddc67d100, forward=, count=0, dest=) at pquery.c:916:4 [06:23:50.551] frame #11: 0x0000051b98cf8add postgres`PortalRun(portal=0x0000051ddc67d100, count=9223372036854775807, isTopLevel=, dest=0x0000051e57e46628, altdest=0x0000051e57e46628, qc=0x000077f7f7132f10) at pquery.c:760:18 [06:23:50.551] frame #12: 0x0000051b98cf7822 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:23:50.551] frame #13: 0x0000051b98cf5082 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [06:23:50.551] frame #14: 0x0000051b98ceecfd postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:124:2 [06:23:50.551] frame #15: 0x0000051b98c1ff16 postgres`postmaster_child_launch(child_type=B_BACKEND, child_slot=15, startup_data=0x000077f7f7133d90, startup_data_len=24, client_sock=0x000077f7f7133c80) at launch_backend.c:268:3 [06:23:50.551] frame #16: 0x0000051b98c24ee4 postgres`ServerLoop [inlined] BackendStartup(client_sock=) at postmaster.c:3606:8 [06:23:50.551] frame #17: 0x0000051b98c24ea3 postgres`ServerLoop at postmaster.c:1713:6 [06:23:50.551] frame #18: 0x0000051b98c22a58 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1403:11 [06:23:50.551] frame #19: 0x0000051b98b3f535 postgres`main(argc=4, argv=0x000077f7f7134328) at main.c:231:4 [06:23:50.551] frame #20: 0x0000051b988c688b postgres`__start + 299 [06:23:50.551] (lldb) quit [06:23:50.625]