Lists: | pgsql-hackers |
---|
From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | 9.0 - core dump - plpgsql - #option dump |
Date: | 2010-02-16 15:22:06 |
Message-ID: | 162867791002160722k2203e6bbvc0a42303bc7c428d@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hello
Server crash on code
postgres=# create or replace function f() returns void as $$#option
dump begin for i in 1..10 loop raise notice '%', i; end loop; return;
end $$ language plpgsql;
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
!
Program terminated with signal 11, Segmentation fault.
#0 0x00007ffa5c92b9f3 in dump_expr (expr=<value optimized out>)
at pl_funcs.c:999
999 printf("'%s'", expr->query);
Missing separate debuginfos, use: debuginfo-install glibc-2.10.2-1.x86_64
(gdb)
Missing separate debuginfos, use: debuginfo-install glibc-2.10.2-1.x86_64
(gdb) bt
#0 0x00007ffa5c92b9f3 in dump_expr (expr=<value optimized out>)
at pl_funcs.c:999
#1 dump_fori (expr=<value optimized out>) at pl_funcs.c:548
#2 0x00007ffa5c92b190 in dump_stmt (stmt=<value optimized out>)
at pl_funcs.c:332
#3 dump_stmts (stmt=<value optimized out>) at pl_funcs.c:392
#4 0x00007ffa5c92b5ae in dump_block (block=0x17d1758) at pl_funcs.c:409
#5 0x00007ffa5c92b77c in plpgsql_dumptree (func=0x1761a78)
at pl_funcs.c:1085
#6 0x00007ffa5c9226ed in do_compile (forValidator=<value optimized out>,
hashkey=<value optimized out>, function=<value optimized out>,
procTup=<value optimized out>, fcinfo=<value optimized out>)
at pl_comp.c:699
#7 plpgsql_compile (forValidator=<value optimized out>,
hashkey=<value optimized out>, function=<value optimized out>,
procTup=<value optimized out>, fcinfo=<value optimized out>)
at pl_comp.c:220
#8 0x00007ffa5c91eed2 in plpgsql_validator (fcinfo=<value optimized out>)
at pl_handler.c:292
Regards
Pavel Stehule