![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Tom Lane writes: "Jaime Casanova" <systemguards (AT) gmail (DOT) com> writes: in my machine (win xp) i was trying to start psql (8.1.1) with log_min_messages to debug5 (just to see the messages but even theservice start i cannot use psql nor pgadmin i receive an error of server closed the connection unexpectedly Can't reproduce this on Linux using 8.1 branch tip, so either it's Windows-specific or it's been fixed recently ... Should be windows-specific - I can reproduce it with 8.1.2 on WinXP SP2 and I can't reproduce it with 8.1.2 on Slackware Linux 9.1 (kernel 2.6.15). By the way I have the crash report files Windows created - postgres.exe.hdmp, postgres.exe.mdmp, appcompat.txt and manifest.txt. |
#2
| |||
| |||
|
|
I was able to reproduce this on Unix by adding -DEXEC_BACKEND to the compile line. It errors out on DEBUG3 and higher. |
#3
| |||
| |||
|
|
Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes: I was able to reproduce this on Unix by adding -DEXEC_BACKEND to the compile line. It errors out on DEBUG3 and higher. I tried on CVS tip and don't see a problem. Which branch were you testing? |
#4
| |||
| |||
|
|
Tom Lane wrote: I tried on CVS tip and don't see a problem. Which branch were you testing? Uh, CVS HEAD. I put -DEXEC_BACKEND into Makefile.custom, and recompiled and initdb'ed. I then modified postgresql.conf and set log_min_messages to "debug5". Then stop and start the server. The server log looks like the server is running, but you cannot connect using psql, so something died. |
#5
| |||
| |||
|
|
Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes: Tom Lane wrote: I tried on CVS tip and don't see a problem. Which branch were you testing? Uh, CVS HEAD. I put -DEXEC_BACKEND into Makefile.custom, and recompiled and initdb'ed. I then modified postgresql.conf and set log_min_messages to "debug5". Then stop and start the server. The server log looks like the server is running, but you cannot connect using psql, so something died. [ scratches head... ] I put "#define EXEC_BACKEND 1" into pg_config.h instead, and didn't bother to initdb, but otherwise the same. Wonder why it's not failing for me. Something platform-specific maybe? |
#6
| |||
| |||
|
|
I just tested again using your pg_config.h modification, and I still get the failure, so perhaps BSD/OS and Win32 have similar issues with our code. |
|
Trimming off the environment output, attached is the log file with the sig11/segfault failure. |
#7
| |||
| |||
|
|
Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes: I just tested again using your pg_config.h modification, and I still get the failure, so perhaps BSD/OS and Win32 have similar issues with our code. Hmph. I've just been trying to reproduce it on Linux (FC4), and it's OK for me there as well as on HPUX where I tried first. Odder and odder. |
#8
| |||
| |||
|
|
I wrote: Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes: I just tested again using your pg_config.h modification, and I still get the failure, so perhaps BSD/OS and Win32 have similar issues with our code. Hmph. I've just been trying to reproduce it on Linux (FC4), and it's OK for me there as well as on HPUX where I tried first. Odder and odder. Actually, maybe the failure requires some configure option I'm not using ... what's your configure command? |
#9
| |||
| |||
|
|
configure \ --with-x \ --with-tcl \ --with-perl \ --enable-pltcl-unknown \ --with-tclconfig=/u/lib \ --with-tkconfig=/u/lib \ --with-includes="/usr/local/include/readline /usr/contrib/include" \ --with-libraries="/usr/local/lib /usr/contrib/lib" \ --enable-locale \ --enable-multibyte \ --with-openssl \ --enable-cassert \ --enable-thread-safety \ --enable-nls |
![]() |
| Thread Tools | |
| Display Modes | |
| |