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

From Thomas G. Lockhart
Subject Re: [HACKERS] SIGSEGV in 'select * from pg_user'
Date
Msg-id 35F40E1C.7201871D@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] SIGSEGV in 'select * from pg_user'  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
> I see the same behavior, with a simple "select * from pg_user" enough
> to crash the backend

The segfault is coming from a call to free() after the command has
executed and while the "CommitTransactionCommand" phase is running.
Putting the query inside a begin/end block does not help. Presumably
there is a bad pointer or something getting free'd twice.

Any ideas?

                   - Tom

pgsql-hackers by date:

Previous
From: "Gerald Fischer"
Date:
Subject: Re: [INTERFACES] Re: DELETE FROM TABLE doesn't work (AGAIN)
Next
From: Massimo Dal Zotto
Date:
Subject: Re: [HACKERS] Open portability issues