backend crashing on NetBSD 1.3.2/i386 - Mailing list pgsql-hackers
From | Brook Milligan |
---|---|
Subject | backend crashing on NetBSD 1.3.2/i386 |
Date | |
Msg-id | 199811011609.JAA00765@trillium.nmsu.edu Whole thread Raw |
Responses |
Re: [HACKERS] backend crashing on NetBSD 1.3.2/i386
Re: [HACKERS] backend crashing on NetBSD 1.3.2/i386 |
List | pgsql-hackers |
Until earlier this week, the various snapshots have been working fine on my system, NetBSD 1.3.2/i386. As of a couple of days ago the backend started to crash. I hoped this was a temporary glitch with recent patches which would disappear in a day or so as other stuff got sorted out. Nothing seems to have changed, though, over the last several days, and connections fail with the backend crashing. Everything seems to compile fine; the only warnings during backend compilation are given below. The select warning in s_lock.c requires an #include <unistd.h> to remove it, but that doesn't fix the crashing problem. I would suggest a patch for that, but I'm not sure what systems have unistd.h and what don't, so I'm not sure if the obvious thing of putting that line in s_lock.c is the right thing to do. Can anyone with more experience tracking down crashing backends give some guidance? I hate to see 6.4 shipped with one of the supported backends crashing! Unfortunately, I'm not sure where to look. I didn't notice any suspicious patches coming through in the last few days, but I don't see everything that is committed. I'm also not sure if the NetBSD/vax patches could have affected NetBSD/i386 stuff. Any help is greatly appreciated! Cheers, Brook =========================================================================== Warnings found during backend compile; directories noted, but lots of commands deleted. In the past I have seen warnings about some of the bison/lexer stuff, so I tend to ignore them; I'm not sure if these are different than the "normal" warnings. gmake[2]: Entering directory `/usr/pkgsrc-local/databases/postgresql-current/work/pgsql/src/backend/bootstrap' gcc-I../../include -I../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0 -I/usr/pkg/include/tk8.0 -O2 -pipe -Wall-Wmissing-prototypes -I.. -Wno-error -c bootparse.c -o bootparse.o /usr/pkg/share/bison.simple: In function `Int_yyparse': /usr/pkg/share/bison.simple:327: warning: implicit declaration of function `Int_yyerror' /usr/pkg/share/bison.simple:387:warning: implicit declaration of function `Int_yylex' gcc -I../../include -I../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0 -I/usr/pkg/include/tk8.0 -O2 -pipe -Wall -Wmissing-prototypes-I.. -Wno-error -c bootscanner.c -o bootscanner.o lex.Int_yy.c:683: warning: no previous prototypefor `Int_yylex' bootscanner.l:137: warning: no previous prototype for `Int_yyerror' gmake[2]: Entering directory `/usr/pkgsrc-local/databases/postgresql-current/work/pgsql/src/backend/parser' gcc -I../../include-I../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0 -I/usr/pkg/include/tk8.0 -O2 -pipe -Wall -Wmissing-prototypes-I.. -Wno-error -c gram.c -o gram.o /usr/pkg/share/bison.simple: In function `yyparse': /usr/pkg/share/bison.simple:327:warning: implicit declaration of function `yyerror' /usr/pkg/share/bison.simple:387: warning:implicit declaration of function `yylex' gcc -I../../include -I../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0-I/usr/pkg/include/tk8.0 -O2 -pipe -Wall -Wmissing-prototypes -I.. -Wno-error -c scan.c -o scan.o lex.yy.c:820: warning: no previous prototype for `yylex' scan.l:426: warning: no previous prototype for `yyerror' lex.yy.c:2174: warning: `yy_flex_realloc' defined but not used gmake[3]: Entering directory `/usr/pkgsrc-local/databases/postgresql-current/work/pgsql/src/backend/storage/buffer' gcc -I../../../include -I../../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0 -I/usr/pkg/include/tk8.0 -O2 -pipe -Wall -Wmissing-prototypes -I../.. -c s_lock.c -o s_lock.o s_lock.c: In function `s_lock': s_lock.c:70: warning:implicit declaration of function `select' gmake[2]: Entering directory `/usr/pkgsrc-local/databases/postgresql-current/work/pgsql/src/backend/utils' gcc -I../../../include-I../../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0 -I/usr/pkg/include/tk8.0 -O2 -pipe -Wall-Wmissing-prototypes -I../.. -c network.c -o network.o network.c: In function `network_network': network.c:392:warning: unused variable `ptr' gcc -I../../../include -I../../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0-I/usr/pkg/include/tk8.0 -O2 -pipe -Wall -Wmissing-prototypes -I../.. -c inet_net_ntop.c -o inet_net_ntop.o inet_net_ntop.c: In function `inet_net_ntop_ipv4': inet_net_ntop.c:192: warning: unused variable `m' gcc -I../../../include -I../../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0 -I/usr/pkg/include/tk8.0 -O2-pipe -Wall -Wmissing-prototypes -I../.. -c inet_net_pton.c -o inet_net_pton.o inet_net_pton.c: In function `inet_cidr_pton_ipv4': inet_net_pton.c:104: warning: `tmp' might be used uninitialized in this function gmake[3]: Entering directory `/usr/pkgsrc-local/databases/postgresql-current/work/pgsql/src/backend/utils/fmgr' gcc-I../../../include -I../../../backend -I/usr/pkg/include -I/usr/pkg/include/tcl8.0 -I/usr/pkg/include/tk8.0 -O2 -pipe -Wall -Wmissing-prototypes -I../.. -c dfmgr.c -o dfmgr.o dfmgr.c:283: warning: no previous prototype for `trigger_dynamic'
pgsql-hackers by date: