[postgis-tickets] [PostGIS] #4747: Re: [PostGIS] #4745: Possible problem with new version 2.5.5
PostGIS
trac at osgeo.org
Sat Aug 22 10:25:53 PDT 2020
#4747: Re: [PostGIS] #4745: Possible problem with new version 2.5.5
----------------------+---------------------------
Reporter: ezimanyi | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.1.0
Component: postgis | Version: 2.5.x
Keywords: |
----------------------+---------------------------
Dear all
Since none of the functions
{{{
void postgis_initialize_cache(FunctionCallInfo fcinfo)
const char *postgis_spatial_ref_sys()
}}}
defined in the file lwgeom_pg.c are exported, could you please instruct
how to solve this issue when using call_function2 for calling the PostGIS
external function transform(PG_FUNCTION_ARGS)?
If this help, here is a trace to follow the function calls
{{{
Program received signal SIGSEGV, Segmentation fault.
__strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
65 ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or
directory.
(gdb) bt
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
#1 0x0000556088b94ef2 in dopr (target=target at entry=0x7ffe815b9e50,
format=0x7fb348b5b036 " WHERE srid = %d LIMIT 1",
args=0x7ffe815b9ea0) at snprintf.c:443
#2 0x0000556088b95d6f in pg_vsnprintf (str=<optimized out>,
count=<optimized out>, fmt=<optimized out>,
args=args at entry=0x7ffe815b9ea0) at snprintf.c:195
#3 0x0000556088b95e43 in pg_snprintf (
str=str at entry=0x7ffe815b9f80 "SELECT proj4text, auth_name, auth_srid,
srtext FROM `U", count=count at entry=255,
fmt=fmt at entry=0x7fb348b5b000 "SELECT proj4text, auth_name, auth_srid,
srtext FROM %s WHERE srid = %d LIMIT 1")
at snprintf.c:208
#4 0x00007fb348b0a775 in GetProj4StringSPI (srid=srid at entry=5676) at
lwgeom_transform.c:345
#5 0x00007fb348b0a96f in GetProj4String (srid=5676) at
lwgeom_transform.c:397
#6 AddToPROJ4SRSCache (other_srid=4326, srid=5676,
PROJ4Cache=0x556089657398) at lwgeom_transform.c:496
#7 AddToPROJ4Cache (cache=cache at entry=0x556089657398,
srid=srid at entry=5676, other_srid=other_srid at entry=4326)
at lwgeom_transform.c:476
#8 0x00007fb348b0affe in GetProjectionsUsingFCInfo
(fcinfo=fcinfo at entry=0x7ffe815ba270, srid1=5676,
srid2=srid2 at entry=4326, pj1=pj1 at entry=0x7ffe815ba1c8,
pj2=pj2 at entry=0x7ffe815ba1d0) at lwgeom_transform.c:683
#9 0x00007fb348af95e9 in transform (fcinfo=0x7ffe815ba270) at
lwgeom_transform.c:77
#10 0x00007fb33cf5356d in call_function2 (func=0x7fb348af9580 <transform>,
arg1=93873110335448, arg2=4326)
at /home/esteban/src/MobilityDB/src/temporal_util.c:253
}}}
Many thanks for your help.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4747>
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