BUG #2014: createdb and other client binaries core dumps - Mailing list pgsql-bugs

From Shaick
Subject BUG #2014: createdb and other client binaries core dumps
Date
Msg-id 20051102052148.CD596F0CF4@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #2014: createdb and other client binaries core dumps
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2014
Logged by:          Shaick
Email address:      shaick.pop@gmail.com
PostgreSQL version: 8.0.4
Operating system:   HPUX
Description:        createdb and other client binaries core dumps
Details:

We try to build postgreSQL 8.0.4 on HPUX 11.11 and in 64 bit client binaries
core dumps.
But in postgreSQL 8.0.3 we didn't face any issue.

Details are given below.
While starting postmaster we received following warnings,
$ ./postmaster -h 127.0.0.1 -i -D /var/opt/iexpress/postgresql_64
LOG:  could not bind IPv6 socket: Invalid argument
HINT:  Is another postmaster already running on port 5432? If not, wait a
few seconds and retry.
LOG:  could not bind IPv4 socket: Invalid argument
HINT:  Is another postmaster already running on port 5432? If not, wait a
few seconds and retry.
WARNING:  could not create listen socket for "*"
LOG:  could not bind socket for statistics collector: Invalid argument
LOG:  disabling statistics collector for lack of working socket
LOG:  database system was shut down at 2005-11-02 10:45:23 IST
LOG:  checkpoint record is at 0/261380
LOG:  redo record is at 0/261380; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 242; next OID: 25046
LOG:  database system is ready


tusc output of createdb is given below,
$ tusc  ./createdb test1;
execve("./createdb", 0x7f7f0810, 0x7f7f081c)
........................................................... = 0 [64-bit]
getuid()
............................................................................
................... = 118 (118)
g
<----snip---->
stat("/home/postgres/.pgpass", 0x800003ffff7f1590)
..................................................... ERR#2 ENOENT
socket2(1, 1, 0)
............................................................................
........... = 4
fcntl(4, F_SETFL, 65536)
............................................................................
... = 0
fcntl(4, F_SETFD, 1)
............................................................................
....... = 0
connect(4, 0x800000010000a278, 94)
..................................................................... = 0
  Received signal 10, SIGBUS, in user mode, [SIG_DFL], partial siginfo
    Siginfo: si_code: I_NONEXIST, faulting address: 0xff7f0f64 (32-bit),
si_errno: 0
    PC: 0xc00000000002a33b, instruction: 0x507f0000
exit(10) [implicit]
............................................................................
........ WIFSIGNALED(SIGBUS)

Thanks,
Shaick

pgsql-bugs by date:

Previous
From: "Pit Mueller"
Date:
Subject: BUG #2016: query working with 8.0 fails with 8.1
Next
From: "HOTTA Michihide"
Date:
Subject: BUG #2015: typo in sql_help