From: xiong w. <wan...@gm...> - 2010-12-01 08:01:44
|
Hi Michael, Program terminated with signal 11, Segmentation fault. [New process 13307] #0 0x00000000007984e2 in MemoryContextStrdup (context=0x19dac58, string=0x0) at mcxt.c:659 659 Size len = strlen(string) + 1; (gdb) bt #0 0x00000000007984e2 in MemoryContextStrdup (context=0x19dac58, string=0x0) at mcxt.c:659 #1 0x00000000005c708b in pgxc_planner (query=0x19bc010, cursorOptions=0, boundParams=0x0) at planner.c:2567 #2 0x00000000006263cb in planner (parse=0x19bc010, cursorOptions=0, boundParams=0x0) at planner.c:132 #3 0x00000000006887e7 in pg_plan_query (querytree=0x19bc010, cursorOptions=0, boundParams=0x0) at postgres.c:744 #4 0x0000000000688895 in pg_plan_queries (querytrees=0x19bc940, cursorOptions=0, boundParams=0x0) at postgres.c:803 #5 0x000000000054f16b in PrepareQuery (stmt=0x199f4f0, queryString=0x199e890 "prepare a(int) as insert into t values($1);") at prepare.c:148 #6 0x0000000000690958 in ProcessUtility (parsetree=0x199f4f0, queryString=0x199e890 "prepare a(int) as insert into t values($1);", params=0x0, isTopLevel=1 '\001', dest=0x199f830, completionTag=0x7fff7014f9e0 "") at utility.c:717 #7 0x000000000068f19b in PortalRunUtility (portal=0x19fce80, utilityStmt=0x199f4f0, isTopLevel=1 '\001', dest=0x199f830, completionTag=0x7fff7014f9e0 "") at pquery.c:1210 #8 0x000000000068f310 in PortalRunMulti (portal=0x19fce80, isTopLevel=1 '\001', dest=0x199f830, altdest=0x199f830, completionTag=0x7fff7014f9e0 "") at pquery.c:1315 #9 0x000000000068e99b in PortalRun (portal=0x19fce80, count=9223372036854775807, isTopLevel=1 '\001', dest=0x199f830, altdest=0x199f830, completionTag=0x7fff7014f9e0 "") at pquery.c:837 #10 0x0000000000688c76 in exec_simple_query (query_string=0x199e890 "prepare a(int) as insert into t values($1);") at postgres.c:1053 #11 0x000000000068cbe4 in PostgresMain (argc=4, argv=0x18fa170, username=0x18fa130 "postgres") at postgres.c:3766 #12 0x00000000006555da in BackendRun (port=0x1903480) at postmaster.c:3607 #13 0x0000000000654b37 in BackendStartup (port=0x1903480) at postmaster.c:3216 #14 0x0000000000651f02 in ServerLoop () at postmaster.c:1445 #15 0x00000000006516a8 in PostmasterMain (argc=7, argv=0x18f8700) at postmaster.c:1098 #16 0x00000000005d8f47 in main (argc=7, argv=0x18f8700) at main.c:188 Regards, Benny 2010/12/1 Michael Paquier <mic...@gm...> > Could you compile with debug mode allowed (--enable-debug when launching > ./configure)? > This will help developers tracking easily the error that happened. > > Thanks, > -- > Michael Paquier > http://michaelpq.users.sourceforge.net > > |