Re: [HACKERS] SIGSEGV in 'select * from pg_user' - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] SIGSEGV in 'select * from pg_user'
Date
Msg-id 199809070756.QAA05909@srapc451.sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] SIGSEGV in 'select * from pg_user'  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
I have just cvsuped the source tree and have tried some tests.

>> I've found the following SISGEV while playing around with a snapshot
>> of September 3rd.
>(did a fresh install with initdb)
>> > select * from pg_shadow
>> > select * from pg_user
>> Program received signal SIGSEGV, Segmentation fault.
>
>I see the same thing with a fresh source tree on my linux box. Is this
>normal?

I saw this too on my LinuxPPC box. In my case, just doing:

    select * from pg_user

crashes the backend. The backtrace shows it crashed in chunk_free()
while committing the transaction. I guess something messed up the
tables managed by malloc().

Talking about the regression, two tests (constraints, select_views)
produced core dump. Seems no difference even after applying Bruce's
latest patches.
--
Tatsauo Ishii
t-ishii@sra.co.jp

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Alignment fix
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] SIGSEGV in 'select * from pg_user'