The following bug has been logged on the website: Bug reference: 8229 Logged by: Matthew Schumacher Email address: mat...@aptalaska.com PostgreSQL version: 9.2.4 Operating system: Slackware Linux 14.0 x86_64 Description:
I have a slackware 14.0 host, and have added nss_ldap-265 then set nsswitch to use ldap for users. When calling dropuser as an ldap user, it segfaults. Here is the backtrace: schu@ancdev:~$ gdb dropuser GNU gdb (GDB) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-slackware-linux". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/dropuser...done. (gdb) run -U postgres asdf Starting program: /usr/bin/dropuser -U postgres asdf warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". dropuser: removal of role "asdf" failed: ERROR: role "asdf" does not exist Program received signal SIGSEGV, Segmentation fault. 0x00007ffff787115c in free () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff787115c in free () from /lib64/libc.so.6 #1 0x00007ffff5e8ff30 in ?? () from /usr/lib64/libldap-2.4.so.2 #2 0x00007ffff5e9003f in ?? () from /usr/lib64/libldap-2.4.so.2 #3 0x0000000000618870 in ?? () #4 0x0000000000000001 in ?? () #5 0x00007fffffffe240 in ?? () #6 0x00007ffff5eba7e1 in _fini () from /usr/lib64/libldap-2.4.so.2 #7 0x00007fffffffe240 in ?? () #8 0x00007ffff7de9c97 in _dl_fini () from /lib64/ld-linux-x86-64.so.2 Backtrace stopped: previous frame inner to this frame (corrupt stack?) schu@ancdev:~$ id uid=10001(schu) gid=10000(netgroup) groups=10000(netgroup),100(users) Please let me know if I can provide more information. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs