Skip to content

Instantly share code, notes, and snippets.

@leto
Created April 24, 2010 03:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leto/377451 to your computer and use it in GitHub Desktop.
Save leto/377451 to your computer and use it in GitHub Desktop.
Parrot coredump backtrace
#0 0x01852548 in parrot_split_path_ext (interp=0x902810, in=0xff8adc, wo_ext=0xbfffd59c, ext=0xbfffd598) at src/library.c:905
905 pos_sl = CHARSET_RINDEX(interp, in, slash1, len);
(gdb) bt
#0 0x01852548 in parrot_split_path_ext (interp=0x902810, in=0xff8adc, wo_ext=0xbfffd59c, ext=0xbfffd598) at src/library.c:905
#1 0x01874f6d in Parrot_load_bytecode (interp=0x902810, file_str=0xff8adc) at src/packfile.c:4838
#2 0x00ff7f93 in plparrot_secure (interp=0x902810) at plparrot.c:309
#3 0x00ff803a in _PG_init () at plparrot.c:111
#4 0x0031c1a3 in internal_load_library (libname=0x104b44c "/Users/leto/lib/postgresql/plparrot.so") at dfmgr.c:284
#5 0x0031ce2e in load_external_function (filename=0x504c5022 <Address 0x504c5022 out of bounds>, funcname=0x104ba34 "plparrot_call_handler", signalNotFound=1 '\001', filehandle=0xbfffd768) at dfmgr.c:113
#6 0x000a568d in fmgr_c_validator (fcinfo=0x504c5022) at pg_proc.c:718
#7 0x0031eba9 in OidFunctionCall1 (functionId=1347178530, arg1=1347178530) at fmgr.c:1557
#8 0x000a6851 in ProcedureCreate (procedureName=0x1006bac "plparrot_call_handler", procNamespace=2200, replace=0 '\0', returnsSet=0 '\0', returnType=2280, languageObjectId=13, languageValidator=2247, prosrc=0x1006bac "plparrot_call_handler", probin=0x1006cb8 "$libdir/plparrot", isAgg=0 '\0', isWindowFunc=0 '\0', security_definer=0 '\0', isStrict=0 '\0', volatility=118 'v', parameterTypes=0x104b60c, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0, proconfig=0, procost=1.37112146e+10, prorows=1.37112146e+10) at pg_proc.c:626
#9 0x00111b5f in CreateFunction (stmt=0x1006dec, queryString=0x504c5022 <Address 0x504c5022 out of bounds>) at functioncmds.c:939
#10 0x002433e1 in MemoryContextSwitchTo [inlined] () at palloc.h:1191
#11 0x002433e1 in PortalRunUtility (portal=0x103de1c, utilityStmt=0x1006dec, isTopLevel=1 '\001', dest=0x1006fc0, completionTag=0xbfffdece "") at pquery.c:1199
#12 0x00243515 in PortalRunMulti (portal=0x103de1c, isTopLevel=1 '\001', dest=0x1006fc0, altdest=0x1006fc0, completionTag=0xbfffdece "") at pquery.c:1296
#13 0x00243fe4 in PortalRun (portal=0x103de1c, count=2147483647, isTopLevel=1 '\001', dest=0x1006fc0, altdest=0x1006fc0, completionTag=0xbfffdece "") at pquery.c:822
#14 0x0023f9ee in exec_simple_query (query_string=0x100621c "CREATE FUNCTION plparrot_call_handler ()\nRETURNS language_handler AS '$libdir/plparrot' LANGUAGE C;") at postgres.c:1051
#15 0x0024111c in PostgresMain (argc=1347178530, argv=0x10032fc, username=0x1003250 "leto") at postgres.c:3864
#16 0x001fe177 in ServerLoop () at postmaster.c:3522
#17 0x001ff350 in PostmasterMain (argc=3, argv=0x900920) at postmaster.c:1086
#18 0x0018e1eb in main (argc=3, argv=0x900920) at main.c:188
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment