problems on solaris 7 (part 2)
problems on solaris 7 (part 2)
От:
Peter Lauko <laox@freemail.hu>
Дата:
Hi! I removed the lines (mentioned in my previous mail) from /etc/system and started postmaster this way: postgres$ postmaster -N 16 -B 32 It started perfectly, but psql, createdb and createuser keep dropping segfaults. I really don't know what's going on :( bye, Peter
Re: problems on solaris 7 (part 2)
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
> It started perfectly, but psql, createdb and createuser keep dropping segfaults. I really don't know what's going on :( Segfault on the *client* side you mean? If so, it's not a postmaster problem. I seem to recall that there's a problem with linking to the readline library on that platform --- try building psql without readline and see if it works then. regards, tom lane
Re: Re: problems on solaris 7 (part 2)
От:
Peter Lauko <laox@freemail.hu>
Дата:
Hi! > Segfault on the *client* side you mean? If so, it's not a postmaster problem. Yes exactly. Postmaster only reports that the connection is broken (saying: pq_recvbuf: unexpected EOF on client connection), but keeps running. Only the clients die. If I try to use psql as an invalid user, or try to access a nonexisting table I get normal error messages without segfault. It seems that only the connection to postmaster kills the clients. > try building psql without readline and see if it works I've tried. I removed the whole readline package, rebuild, but the problem is still there. As far as I know there is no configure option to avoid readline. It's use is automatic. Am I right? I also tried to build 7.0.3 with gcc 3, but doesn't help. I'm pretty sure that this is a problem with solaris, but I don't know what to try. I'm really new to solaris. thanks, Peter