Skip to content

The assertion caused the startup to fail #1

@Z-Xiao-M

Description

@Z-Xiao-M
postgres@zxm-VMware-Virtual-Platform:~/code/16/contrib/pg_uprobe$ cat $PGDATA/postgresql.conf |grep shared_preload_libraries 
shared_preload_libraries = 'pg_uprobe'  # (change requires restart)
postgres@zxm-VMware-Virtual-Platform:~/code/16/contrib/pg_uprobe$ psql --version
psql (PostgreSQL) 16.9
postgres@zxm-VMware-Virtual-Platform:~/code/16/contrib/pg_uprobe$ uname -a
Linux zxm-VMware-Virtual-Platform 6.11.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jun 26 14:16:59 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
postgres@zxm-VMware-Virtual-Platform:~/code/16/contrib/pg_uprobe$ pg_ctl start
pg_ctl: another server might be running; trying to start server anyway
waiting for server to start....2025-07-18 11:33:31.136 CST [21863] LOG:  GUC (PGC_ENUM) pg_uprobe.trace_write_mode, boot_val=1, C-var=0
TRAP: failed Assert("check_GUC_init(variable)"), File: "guc.c", Line: 4820, PID: 21863
/u01/app/halo/product/dbms/16/bin/postgres(ExceptionalCondition+0xbb)[0x63d0d3384b99]
/u01/app/halo/product/dbms/16/bin/postgres(+0x89f628)[0x63d0d33ad628]
/u01/app/halo/product/dbms/16/bin/postgres(DefineCustomEnumVariable+0xc9)[0x63d0d33adf38]
/u01/app/halo/product/dbms/16/lib/postgresql/pg_uprobe.so(+0x259386)[0x76178c459386]
/u01/app/halo/product/dbms/16/lib/postgresql/pg_uprobe.so(_PG_init+0x141)[0x76178c44f9d2]
/u01/app/halo/product/dbms/16/bin/postgres(+0x87f8ca)[0x63d0d338d8ca]
/u01/app/halo/product/dbms/16/bin/postgres(load_file+0x43)[0x63d0d338d323]
/u01/app/halo/product/dbms/16/bin/postgres(+0x88f44d)[0x63d0d339d44d]
/u01/app/halo/product/dbms/16/bin/postgres(process_shared_preload_libraries+0x2d)[0x63d0d339d562]
/u01/app/halo/product/dbms/16/bin/postgres(PostmasterMain+0xb2f)[0x63d0d30b231e]
/u01/app/halo/product/dbms/16/bin/postgres(+0x4573a6)[0x63d0d2f653a6]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x76178f62a1ca]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x76178f62a28b]
/u01/app/halo/product/dbms/16/bin/postgres(_start+0x25)[0x63d0d2be2c55]
 stopped waiting
pg_ctl: could not start server
Examine the log output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions