[postgis-tickets] [PostGIS] #3429: upgrade from 2.1.3 to 2.3.0dev enters infinite loop

PostGIS trac at osgeo.org
Thu Jan 14 07:26:20 PST 2016


#3429: upgrade from 2.1.3 to 2.3.0dev enters infinite loop
-----------------------------------+---------------------------
 Reporter:  strk                   |      Owner:  strk
     Type:  defect                 |     Status:  new
 Priority:  critical               |  Milestone:  PostGIS 2.3.0
Component:  build/upgrade/install  |    Version:  2.2.x
 Keywords:                         |
-----------------------------------+---------------------------
 I still have to try at reproducing this but an

 {{{  ALTER EXTENSION postgis UPDATE }}}

 resulted into an infinite loop for me.

 Attaching the postgres process with gdb this is the stacktrace:

 {{{
 #0  init_rt_allocator (size=3488) at rt_api.c:880
 #1  0x00007f2cf751d5aa in rt_raster_gdal_drivers
 (drv_count=drv_count at entry=0x7fffbbdd273c, cancc=cancc at entry=0 '\000') at
 rt_api.c:8975
 #2  0x00007f2cf74f2233 in rtpg_assignHookGDALEnabledDrivers () at
 rt_pg.c:172
 #3  _PG_init () at rt_pg.c:291
 #4  0x000000000075b8a2 in internal_load_library
 (libname=libname at entry=0x25b7f68
 "/home/postgresql-9.3.4/lib/rtpostgis-2.1.so") at dfmgr.c:284
 #5  0x000000000075c2b3 in load_external_function
 (filename=filename at entry=0x25b7f30 "$libdir/rtpostgis-2.1",
     funcname=funcname at entry=0x25b7ef8 "RASTER_lib_version",
 signalNotFound=signalNotFound at entry=1 '\001',
     filehandle=filehandle at entry=0x7fffbbdd28d8) at dfmgr.c:113
 }}}

 The query I was running:
 {{{
 psql -XAtc "ALTER EXTENSION postgis UPDATE; SELECT
 postgis_full_version();"
 }}}

 The database was initialized with postgis '2.1.3'.
 The target library is "2.3.0dev r14582"

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3429>
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