Created
August 11, 2011 15:56
-
-
Save jbq/1140005 to your computer and use it in GitHub Desktop.
plpython crash with -O0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program terminated with signal 11, Segmentation fault. | |
#0 0x00007fdddd6fb727 in heap_compute_data_size (tupleDesc=0x7fdddd5b6268, values=0x7fddde7a3770, isnull=0x7fddde7a37c0 "") at heaptuple.c:104 | |
104 VARATT_CAN_MAKE_SHORT(DatumGetPointer(val))) | |
(gdb) bt | |
#0 0x00007fdddd6fb727 in heap_compute_data_size (tupleDesc=0x7fdddd5b6268, values=0x7fddde7a3770, isnull=0x7fddde7a37c0 "") at heaptuple.c:104 | |
#1 0x00007fdddd6fcc4a in heap_form_tuple (tupleDescriptor=0x7fdddd5b6268, values=0x7fddde7a3770, isnull=0x7fddde7a37c0 "") at heaptuple.c:688 | |
#2 0x00007fddb7a77328 in PLyMapping_ToTuple (info=0x7fddde79e810, desc=0x7fdddd5b6268, mapping=0x7fddde7aa0b0) at plpython.c:2658 | |
#3 0x00007fddb7a76711 in PLyObject_ToTuple (info=0x7fddde79e810, desc=0x7fdddd5b6268, plrv=0x7fddde7aa0b0) at plpython.c:2381 | |
#4 0x00007fddb7a730aa in PLy_function_handler (fcinfo=0x7fff79863ef0, proc=0x7fddde79e7f0) at plpython.c:1224 | |
#5 0x00007fddb7a70eda in plpython_call_handler (fcinfo=0x7fff79863ef0) at plpython.c:569 | |
#6 0x00007fdddd85d468 in ExecMakeTableFunctionResult (funcexpr=0x7fddde69e438, econtext=0x7fddde69d060, expectedDesc=0x7fddde69dfc0, randomAccess=0 '\000') at execQual.c:2054 | |
#7 0x00007fdddd878838 in FunctionNext (node=0x7fddde69cf50) at nodeFunctionscan.c:65 | |
#8 0x00007fdddd864506 in ExecScanFetch (node=0x7fddde69cf50, accessMtd=0x7fdddd8787c4 <FunctionNext>, recheckMtd=0x7fdddd878889 <FunctionRecheck>) at execScan.c:82 | |
#9 0x00007fdddd8645e5 in ExecScan (node=0x7fddde69cf50, accessMtd=0x7fdddd8787c4 <FunctionNext>, recheckMtd=0x7fdddd878889 <FunctionRecheck>) at execScan.c:164 | |
#10 0x00007fdddd8788c5 in ExecFunctionScan (node=0x7fddde69cf50) at nodeFunctionscan.c:104 | |
#11 0x00007fdddd859ac5 in ExecProcNode (node=0x7fddde69cf50) at execProcnode.c:400 | |
#12 0x00007fdddd857855 in ExecutePlan (estate=0x7fddde69ce40, planstate=0x7fddde69cf50, operation=CMD_SELECT, sendTuples=1 '\001', numberTuples=0, direction=ForwardScanDirection, dest=0x7fddde693320) at execMain.c:1188 | |
#13 0x00007fdddd85649f in standard_ExecutorRun (queryDesc=0x7fddde653220, direction=ForwardScanDirection, count=0) at execMain.c:280 | |
#14 0x00007fdddd856393 in ExecutorRun (queryDesc=0x7fddde653220, direction=ForwardScanDirection, count=0) at execMain.c:229 | |
#15 0x00007fdddd960e75 in PortalRunSelect (portal=0x7fddde698e20, forward=1 '\001', count=0, dest=0x7fddde693320) at pquery.c:952 | |
#16 0x00007fdddd960b09 in PortalRun (portal=0x7fddde698e20, count=9223372036854775807, isTopLevel=1 '\001', dest=0x7fddde693320, altdest=0x7fddde693320, completionTag=0x7fff79864760 "") at pquery.c:796 | |
#17 0x00007fdddd95a941 in exec_simple_query (query_string=0x7fddde64b5c0 "select * from myfunc()") at postgres.c:1058 | |
#18 0x00007fdddd95ef56 in PostgresMain (argc=2, argv=0x7fddde58dbf0, username=0x7fddde58db00 "jbq") at postgres.c:3936 | |
#19 0x00007fdddd91e1cd in BackendRun (port=0x7fddde5b44e0) at postmaster.c:3555 | |
#20 0x00007fdddd91d7fd in BackendStartup (port=0x7fddde5b44e0) at postmaster.c:3242 | |
#21 0x00007fdddd91a92e in ServerLoop () at postmaster.c:1431 | |
#22 0x00007fdddd91a030 in PostmasterMain (argc=5, argv=0x7fddde58c180) at postmaster.c:1092 | |
#23 0x00007fdddd898154 in main (argc=5, argv=0x7fddde58c180) at main.c:188 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment