pfree() core dump in 7.2.3 - Mailing list pgsql-general

From Medi Montaseri
Subject pfree() core dump in 7.2.3
Date
Msg-id 3DD6BE63.8040705@intransa.com
Whole thread Raw
Responses Re: pfree() core dump in 7.2.3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Has anyone experienced a pfree() related core dump in 7.2.3.
Here is my gdb  backtrace



0  0x005dbb5c in pfree ()
(gdb) bt
#0  0x005dbb5c in pfree ()
#1  0x004208c0 in heap_freetuple ()
#2  0x004a8390 in acquire_sample_rows ()
#3  0x004a75c8 in analyze_rel ()
#4  0x0049f690 in vacuum ()
#5  0x005585d8 in ProcessUtility ()
#6  0x00553c78 in pg_exec_query_string ()
#7  0x00555850 in PostgresMain ()
#8  0x00524660 in DoBackend ()
#9  0x00523d08 in BackendStartup ()
#10 0x00521c18 in ServerLoop ()
#11 0x005211c8 in PostmasterMain ()
#12 0x004df3d8 in main ()
#13 0x2ae34928 in __libc_start_main () from /lib/libc.so.6
(gdb)


FYI, I'm using the Async Query for my vacuum as shown below and I'm
not doing the PQgetResult(), so I'm hoping that closing the connection will
tear down the backend after finishing the vacuum...

       if ( ! PQsendQuery( Conn, SQL.c_str() ) )
        {

                cout << __FUNCTION__
                       << " : Failed to execute Async vacuum  ["
                       << PQerrorMessage(Conn) << "]\n";
                PQfinish(Conn);
                return status;
        }
        PQflush(Conn);
        PQfinish(Conn);



pgsql-general by date:

Previous
From: Frank Miles
Date:
Subject: Re: DECLARE CURSOR
Next
From: snpe
Date:
Subject: Re: DECLARE CURSOR