Re: [BUGS] BUG #3902: Segmentation faults using GSSAPI authentication > Hmm, crash inside getenv?? That's weird, that suggests something has > clobbered the environment-strings data structure. > > [ pokes around in code... ] And behold, here's a smoking gun: > pg_GSS_recvauth() is doing a putenv() with a string that it got from > palloc(). The active context at this point is PostmasterContext, > which *is* going to go away soon, leaving a gaping hole in the environ > list. > > I still couldn't reproduce a crash with that knowledge, but I bet that > if you apply the attached patch, things will get better.
The patch worked like a charm. Thanks, Tom.
Peter
---------------------------(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
Received on Wed Jan 30 14:51:00 2008
This archive was generated by hypermail 2.1.8
: Wed Jun 18 2008 - 23:58:29 EDT
|