9.4 beta1 crash on Debian sid/i386 - Mailing list pgsql-hackers
From | Christoph Berg |
---|---|
Subject | 9.4 beta1 crash on Debian sid/i386 |
Date | |
Msg-id | 20140513205336.GB21331@msgid.df7cb.de Whole thread Raw |
Responses |
Re: 9.4 beta1 crash on Debian sid/i386
|
List | pgsql-hackers |
Building 9.4 beta1 on Debian sid/i386 fails during the regression tests. amd64 works fine, as does i386 on the released distributions. parallel group (11 tests): create_cast create_aggregate drop_if_exists typed_table create_function_3 vacuum constraintscreate_table_like triggers inherit updatable_views create_aggregate ... ok create_function_3 ... ok create_cast ... ok constraints ... ok triggers ... ok inherit ... ok create_table_like ... ok typed_table ... ok vacuum ... ok drop_if_exists ... ok updatable_views ... ok test sanity_check ... ok test errors ... FAILED (test process exited with exit code 2) test select ... FAILED (test process exited with exit code 2) [...] LOG: server process (PID 8403) was terminated by signal 7: Bus error DETAIL: Failed process was running: select infinite_recurse(); LOG: terminating any other active server processes *** /home/cbe/projects/postgresql/9.4/trunk/build/../src/test/regress/expected/errors.out 2014-05-11 23:16:48.000000000+0200 --- /srv/projects/postgresql/9.4/trunk/build/src/test/regress/results/errors.out 2014-05-13 22:16:05.337798163 +0200 *************** *** 444,447 **** 'select infinite_recurse()' language sql; \set VERBOSITY terse select infinite_recurse(); ! ERROR: stack depth limit exceeded --- 444,447 ---- 'select infinite_recurse()' language sql; \set VERBOSITY terse select infinite_recurse(); ! connection to server was lost Reading symbols from /srv/projects/postgresql/9.4/trunk/build/src/backend/postgres...done. [New LWP 8403] warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". Core was generated by `postgres: cbe regression [local] SELECT '. Program terminated with signal 7, Bus error. #0 0xf72abbc3 in ScanKeywordLookup (text=0xed2ec330 "select", keywords=0xf773ca60 <ScanKeywords>, num_keywords=405) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/parser/kwlookup.c:42 42 { (gdb) bt #0 0xf72abbc3 in ScanKeywordLookup (text=0xed2ec330 "select", keywords=0xf773ca60 <ScanKeywords>, num_keywords=405) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/parser/kwlookup.c:42 #1 0xf72aa41f in core_yylex (yylval_param=yylval_param@entry=0xffdcb104, yylloc_param=yylloc_param@entry=0xffdcb108,yyscanner=yyscanner@entry=0xed2ec2a8) at scan.l:950 #2 0xf72abe30 in base_yylex (lvalp=lvalp@entry=0xffdcb104, llocp=llocp@entry=0xffdcb108, yyscanner=yyscanner@entry=0xed2ec2a8) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/parser/parser.c:99 #3 0xf72949c8 in base_yyparse (yyscanner=yyscanner@entry=0xed2ec2a8) at gram.c:21442 #4 0xf72abd02 in raw_parser (str=str@entry=0xed2ec1e8 "select infinite_recurse()") at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/parser/parser.c:52 #5 0xf7441ac7 in pg_parse_query ( query_string=query_string@entry=0xed2ec1e8 "select infinite_recurse()") at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/tcop/postgres.c:563 #6 0xf73c77a8 in inline_function (context=0xffdcbc1c, func_tuple=0xedad9b98, funcvariadic=<optimized out>, args=0x0,input_collid=0, result_collid=0, result_type=23, funcid=29299) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/optimizer/util/clauses.c:4268 #7 simplify_function (funcid=29299, result_type=23, result_typmod=-1, result_collid=result_collid@entry=0, input_collid=input_collid@entry=0, args_p=args_p@entry=0xffdcba9c, funcvariadic=funcvariadic@entry=0 '\000', process_args=process_args@entry=1'\001', allow_non_const=allow_non_const@entry=1 '\001', context=context@entry=0xffdcbc1c) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/optimizer/util/clauses.c:3796 [...] ... help bt ... ah I can also ask it to print the outermost stack frames separately... (gdb) bt -10 #35639 0xf733927c in ExecutorRun (queryDesc=queryDesc@entry=0xf945d188, direction=direction@entry=ForwardScanDirection,count=count@entry=0) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/executor/execMain.c:256 #35640 0xf7445463 in PortalRunSelect (portal=portal@entry=0xf945b180, forward=forward@entry=1 '\001', count=0, count@entry=2147483647,dest=dest@entry=0xf94304c8) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/tcop/pquery.c:946 #35641 0xf744694e in PortalRun (portal=portal@entry=0xf945b180, count=count@entry=2147483647, isTopLevel=isTopLevel@entry=1'\001', dest=dest@entry=0xf94304c8, altdest=altdest@entry=0xf94304c8, completionTag=completionTag@entry=0xfff9740c"") at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/tcop/pquery.c:790 #35642 0xf744421e in exec_simple_query (query_string=0xf942f1a0 "select infinite_recurse();") at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/tcop/postgres.c:1045 #35643 PostgresMain (argc=1, argv=argv@entry=0xf93cff50, dbname=0xf93cfde0 "regression", username=0xf93cfdd0 "cbe") at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/tcop/postgres.c:4004 #35644 0xf71e068e in BackendRun (port=0xf93ed768) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/postmaster/postmaster.c:4117 #35645 BackendStartup (port=0xf93ed768) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/postmaster/postmaster.c:3791 #35646 ServerLoop () at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/postmaster/postmaster.c:1570 #35647 0xf73e738a in PostmasterMain (argc=argc@entry=6, argv=argv@entry=0xf93cf510) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/postmaster/postmaster.c:1223 #35648 0xf71e1976 in main (argc=6, argv=0xf93cf510) at /home/cbe/projects/postgresql/9.4/trunk/build/../src/backend/main/main.c:225 ../../../src/bin/pg_config/pg_config BINDIR = /usr/lib/postgresql/9.4/bin DOCDIR = /usr/share/doc/postgresql-doc-9.4 HTMLDIR = /usr/share/doc/postgresql-doc-9.4 INCLUDEDIR = /usr/include/postgresql PKGINCLUDEDIR = /usr/include/postgresql INCLUDEDIR-SERVER = /usr/include/postgresql/9.4/server LIBDIR = /usr/lib PKGLIBDIR = /usr/lib/postgresql/9.4/lib LOCALEDIR = /usr/share/locale MANDIR = /usr/share/postgresql/9.4/man SHAREDIR = /usr/share/postgresql/9.4 SYSCONFDIR = /etc/postgresql-common PGXS = /usr/lib/postgresql/9.4/lib/pgxs/src/makefiles/pgxs.mk CONFIGURE = '--with-tcl' '--with-perl' '--with-python' '--with-pam' '--with-openssl' '--with-libxml' '--with-libxslt' '--with-tclconfig=/usr/lib/i386-linux-gnu/tcl8.6''--with-includes=/usr/include/tcl8.6' 'PYTHON=/usr/bin/python' '--mandir=/usr/share/postgresql/9.4/man''--docdir=/usr/share/doc/postgresql-doc-9.4' '--sysconfdir=/etc/postgresql-common''--datarootdir=/usr/share/' '--datadir=/usr/share/postgresql/9.4' '--bindir=/usr/lib/postgresql/9.4/bin''--libdir=/usr/lib/' '--libexecdir=/usr/lib/postgresql/' '--includedir=/usr/include/postgresql/''--enable-nls' '--enable-integer-datetimes' '--enable-thread-safety' '--enable-debug''--disable-rpath' '--with-ossp-uuid' '--with-gnu-ld' '--with-pgport=5432' '--with-system-tzdata=/usr/share/zoneinfo''CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security-fPIC -pie -I/usr/include/mit-krb5 -DLINUX_OOM_SCORE_ADJ=0' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed-L/usr/lib/mit-krb5 -L/usr/lib/i386-linux-gnu/mit-krb5' '--with-krb5' '--with-gssapi' '--with-ldap' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' CC = gcc CPPFLAGS = -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.6 CFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -pie -I/usr/include/mit-krb5-DLINUX_OOM_SCORE_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g CFLAGS_SL = -fpic LDFLAGS = -L../../../src/common -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/lib/mit-krb5 -L/usr/lib/i386-linux-gnu/mit-krb5-Wl,--as-needed LDFLAGS_EX = LDFLAGS_SL = LIBS = -lpgcommon -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -ledit -lrt -lcrypt -ldl -lm VERSION = PostgreSQL 9.4beta1 gcc (Debian 4.8.2-21) 4.8.2 libc6:i386 2.18-5 Christoph -- cb@df7cb.de | http://www.df7cb.de/
pgsql-hackers by date: