Thread

  1. psql core dump on login

    PostgreSQL Bugs List <pgsql-bugs@postgresql.org> — 2001-03-22T18:34:20Z

    Leandro Peracchi (peracchi@totobola.com.br) reports a bug with a severity of 2
    The lower the number the more severe it is.
    
    Short Description
    psql core dump on login
    
    Long Description
    The default pg_hba.conf file have these two entries:
    
    local                               trust
    host   127.0.0.1  255.255.255.255   trust
    
    So, when psql is called no password is required.
    But when change "trust" to "password" (or "crypt") psql require a password.
    Then, entering the correct password or not, psql exit with a core dump.
    
    - Conectiva Linux 6.0 (RedHat like)
    - Pentium III 700MHz, 192MB RAM, HD 12GB
    - PostgreSQL 7.0.2
    
    Sample Code
    
    
    No file was uploaded with this report
    
    
    
  2. Re: psql core dump on login

    Tom Lane <tgl@sss.pgh.pa.us> — 2001-03-22T18:54:16Z

    pgsql-bugs@postgresql.org writes:
    > But when change "trust" to "password" (or "crypt") psql require a password.
    > Then, entering the correct password or not, psql exit with a core dump.
    
    Stack trace from core file, please?
    
    	gdb /path/to/psql core
    	bt
    	quit
    
    Also, where did you get your psql executable from, or how did you
    configure/build if you built it locally?
    
    			regards, tom lane