dbTalk Databases Forums  

[BUGS] BUG #1809: invalid pointer on pg_ctl reload

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1809: invalid pointer on pg_ctl reload in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris Hoover
 
Posts: n/a

Default [BUGS] BUG #1809: invalid pointer on pg_ctl reload - 08-07-2005 , 11:58 PM







The following bug has been logged online:

Bug reference: 1809
Logged by: Chris Hoover
Email address: chris.hoover (AT) companiongroup (DOT) com
PostgreSQL version: 8.0.3
Operating system: RHEL 4 AS Update 1
Description: invalid pointer on pg_ctl reload
Details:

I was working with my pg_hba.conf file and did a pg_ctl -D <path> reload. I
received the following message, and postgresql shutdown.

[postgres@edipgtst1 eedi]$ pg_ctl -D /database/data/eedi/ reload
postmaster signaled
[postgres@edipgtst1 eedi]$ *** glibc detected *** free(): invalid pointer:
0x082ced00 ***

To make changes to my configuration in 8.0.3, I am having to always to
restarts instead of reloads.

PostgreSQL was installed from the rhel 4 rpms provided on the PostgreSQL
mirrors.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1809: invalid pointer on pg_ctl reload - 08-08-2005 , 11:26 AM






"Chris Hoover" <chris.hoover (AT) companiongroup (DOT) com> writes:
Quote:
I was working with my pg_hba.conf file and did a pg_ctl -D <path> reload. I
received the following message, and postgresql shutdown.

[postgres@edipgtst1 eedi]$ pg_ctl -D /database/data/eedi/ reload
postmaster signaled
[postgres@edipgtst1 eedi]$ *** glibc detected *** free(): invalid pointer:
0x082ced00 ***
What non-comment entries do you have in postgresql.conf?

It's also possible that the problem is being triggered by an unusual
entry in one of the other config files, such as pg_hba.conf. Please see
if you can narrow down what's causing this.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend


Reply With Quote
  #3  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1809: invalid pointer on pg_ctl reload - 08-08-2005 , 06:43 PM



"CHRIS HOOVER" <CHRIS.HOOVER (AT) companiongroup (DOT) com> writes:
Quote:
I was working with my pg_hba.conf file and did a pg_ctl -D <path> reload. I
received the following message, and postgresql shutdown.

[postgres@edipgtst1 eedi]$ pg_ctl -D /database/data/eedi/ reload
postmaster signaled
[postgres@edipgtst1 eedi]$ *** glibc detected *** free(): invalid pointer:
0x082ced00 ***

I was playing around and had most entries uncommented, even if I did not
change the values. I am attaching the cleaned up postgresql.conf and my
pg_hba.conf files for you.
Got it --- we had broken the handling of an explicit specification
timezone = unknown
in the config file. Thanks for sending along the test case.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.