You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sudo gdb -q --batch -ex "bt full" /usr/lib/edb-as/17/bin/edb-postgres /opt/postgres/data/core.edb-postgres.18528.1744194105 > /tmp/stacktrace.core.edb-postgres.18528.1744194105.txt 2>&1
$ cat /tmp/stacktrace.core.edb-postgres.18528.1744194105.txt
warning: Can't open file /dev/zero (deleted) during file-backed mapping note processing
warning: Can't open file /SYSV00180001 (deleted) during file-backed mapping note processing
[New LWP 18528]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/edb-as/17/bin/edb-postgres -D /opt/postgres/data -c config_file=/opt/p'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f36a44a0db6 in epoll_wait (epfd=10, events=0x564ccae4d328, maxevents=4, timeout=60000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30 ../sysdeps/unix/sysv/linux/epoll_wait.c: No such file or directory.
#0 0x00007f36a44a0db6 in epoll_wait (epfd=10, events=0x564ccae4d328, maxevents=4, timeout=60000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
No locals.
#1 0x0000564cca67cc7d in WaitEventSetWait ()
No symbol table info available.
#2 0x0000564cca609d66 in ?? ()
No symbol table info available.
#3 0x0000564cca60cc78 in PostmasterMain ()
No symbol table info available.
#4 0x0000564cca2cbfac in main ()
No symbol table info available.
Note: If you are planning to test on a Docker platform, please note that TPA does not configure core dump settings automatically for containers. Additional configuration might be required at the container runtime level.Ensure that postgres_coredump_filter is correctly set (e.g., '0x33') to allow meaningful dumps. Using the default '0xff' will suppress all core dumps.
The text was updated successfully, but these errors were encountered:
Summary
An example of setting up core dumps and debuginfo packages with EPAS v17 TPA
Where would you like to see this added?
https://www.enterprisedb.com/docs/tpa/latest/reference/sysctl_values/
Rationale
S-1 Config YAML
System-Level Verification
Simulating a Crash
Core Dump File Confirmation
Stack Trace Extraction Using GDB
Installed Packages:
Note: If you are planning to test on a Docker platform, please note that TPA does not configure core dump settings automatically for containers. Additional configuration might be required at the container runtime level.Ensure that postgres_coredump_filter is correctly set (e.g., '0x33') to allow meaningful dumps. Using the default '0xff' will suppress all core dumps.
The text was updated successfully, but these errors were encountered: