[postgis-tickets] [PostGIS] #2726: [raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed
PostGIS
trac at osgeo.org
Fri May 9 00:20:13 PDT 2014
#2726: [raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed
---------------------+------------------------------------------------------
Reporter: robe | Owner: dustymugs
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.1.3
Component: raster | Version: 2.1.x
Keywords: windows |
---------------------+------------------------------------------------------
Comment(by robe):
Hmm seems to crash also if I run postgis_full_version(), but not
postgis_version(). I think it's the postgis_raster_lib_version() doing
it.
Anyrate I ran:
{{{
SELECT * FROM ST_GDALDrivers();
}}}
and backtrace of crash looks like this:
{{{
#0 0x000007fefd8e5a01 in strlen () from C:\Windows\system32\msvcrt.dll
#1 0x000000000074df39 in fmtstr (target=0x23ce320, pointflag=<optimized
out>, maxwidth=0, minlen=0, leftjust=0, value=0x0) at snprintf.c:779
#2 dopr (target=target at entry=0x23ce320, format=0x39b131 "",
args=0x23ce458 "A4ñü_\a", args at entry=0x23ce438 "") at snprintf.c:714
#3 0x000000000074e13f in pg_vsnprintf (str=<optimized out>,
count=count at entry=1023, fmt=fmt at entry=0x39b118 "[%s:%s:%d] GDAL_SKIP =
%s", args=args at entry=0x23ce438 "") at snprintf.c:154
#4 0x000000000057c0b1 in appendStringInfoVA (str=str at entry=0x23ce3e0,
fmt=fmt at entry=0x39b118 "[%s:%s:%d] GDAL_SKIP = %s",
args=args at entry=0x23ce438 "") at stringinfo.c:137
#5 0x000000000071607f in errmsg_internal (fmt=fmt at entry=0x68701c5f
"[%s:%s:%d] GDAL_SKIP = %s") at elog.c:821
#6 0x0000000068684826 in rtpg_assignHookGDALEnabledDrivers () at
rt_pg.c:112
#7 _PG_init () at rt_pg.c:237
#8 0x0000000000719b0c in internal_load_library
(libname=libname at entry=0x4869818
"C:/ming64gcc48/projects/postgresql/rel/pg9.3w64gcc48/lib/rtpostgis-2.1.dll")
at dfmgr.c:284
#9 0x000000000071a531 in load_external_function
(filename=filename at entry=0x48b8e10 "$libdir/rtpostgis-2.1",
funcname=funcname at entry=0x48b8dd8 "RASTER_getGDALDrivers",
signalNotFound=signalNotFound at entry
#10 0x000000000071b1ed in fmgr_info_C_lang (procedureTuple=0x4836c80,
finfo=0x4868bb0, functionId=23562) at fmgr.c:350
#11 fmgr_info_cxt_security (functionId=functionId at entry=23562,
finfo=finfo at entry=0x4868bb0, mcxt=mcxt at entry=0x4863be0,
ignore_security=ignore_security at entry=0 '\000') at fmgr.c:281
#12 0x000000000071b508 in fmgr_info_cxt
(functionId=functionId at entry=23562, finfo=finfo at entry=0x4868bb0,
mcxt=mcxt at entry=0x4863be0) at fmgr.c:172
#13 0x0000000000556592 in init_fcache (foid=23562, input_collation=0,
fcache=fcache at entry=0x4868b90, fcacheCxt=0x4863be0,
needDescForSets=needDescForSets at entry=0 '\000') at execQual.c:1310
#14 0x000000000055b0ea in ExecMakeTableFunctionResult (funcexpr=0x4868b90,
econtext=0x4867b68, expectedDesc=0x4868720, randomAccess=0 '\000') at
execQual.c:2091
#15 0x000000000056ed97 in FunctionNext (node=0x4867a50) at
nodeFunctionscan.c:64
#16 0x000000000055cfa6 in ExecScanFetch (recheckMtd=0x56ed20
<FunctionRecheck>, accessMtd=0x56ed30 <FunctionNext>, node=0x4867a50) at
execScan.c:82
#17 ExecScan (node=node at entry=0x4867a50,
accessMtd=accessMtd at entry=0x56ed30 <FunctionNext>,
recheckMtd=recheckMtd at entry=0x56ed20 <FunctionRecheck>) at execScan.c:132
#18 0x000000000056edc3 in ExecFunctionScan (node=node at entry=0x4867a50) at
nodeFunctionscan.c:107
#19 0x0000000000555898 in ExecProcNode (node=node at entry=0x4867a50) at
execProcnode.c:426
#20 0x0000000000552a0c in ExecutePlan (dest=0x48b51d0,
direction=<optimized out>, numberTuples=0, sendTuples=1 '\001',
operation=CMD_SELECT, planstate=0x4867a50, estate=0x4867938) at
execMain.c:1470
#21 standard_ExecutorRun (queryDesc=0x4843618, direction=<optimized out>,
count=0) at execMain.c:306
#22 0x00000000006441a6 in PortalRunSelect (portal=portal at entry=0x4855878,
forward=forward at entry=1 '\001', count=count at entry=0,
dest=dest at entry=0x4855878) at pquery.c:946
#23 0x0000000000645876 in PortalRun (portal=0x23ceea0,
portal at entry=0x4855878, count=0, count at entry=2147483647,
isTopLevel=isTopLevel at entry=0 '\000', dest=0x4855878,
dest at entry=0x48b51d0, altdest=altdest
completionTag at entry=0x40000000020 <Address 0x40000000020 out of
bounds>) at pquery.c:790
#24 0x0000000000643146 in exec_simple_query (query_string=0x7fefd8e3fc0
<msvcrt!__iob_func> "H\215\005\271ê\a") at postgres.c:1048
#25 PostgresMain (argc=<optimized out>, argv=argv at entry=0x39aa68,
dbname=0x17 <Address 0x17 out of bounds>, username=<optimized out>) at
postgres.c:3985
#26 0x00000000005f6b41 in BackendRun (port=0x23cf410) at postmaster.c:3999
#27 SubPostmasterMain (argc=argc at entry=3, argv=argv at entry=0x2f7de0) at
postmaster.c:4504
#28 0x000000000075fb29 in main (argc=3, argv=0x2f7de0) at main.c:173
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2726#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list