[postgis-tickets] [PostGIS] #2985: server crash when analyzing small tables on FreeBSD Ports

PostGIS trac at osgeo.org
Tue Feb 20 09:36:38 PST 2018


#2985: server crash when analyzing small tables on FreeBSD Ports
-----------------------+------------------------------------------
  Reporter:  nkiraly   |      Owner:  pramsey
      Type:  defect    |     Status:  reopened
  Priority:  critical  |  Milestone:  PostGIS Packaging
 Component:  postgis   |    Version:  2.2.x
Resolution:            |   Keywords:  analyze server crash freebsd
-----------------------+------------------------------------------

Comment (by komzpa):

 Now reproduces on my dev environment, Ubuntu 17.10

 POSTGIS="2.5.0dev r16390" [EXTENSION] PGSQL="100" GEOS="3.7.0dev-
 CAPI-1.11.0 0" SFCGAL="1.3.1" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL
 2.2.1, released 2017/06/23" LIBXML="2.9.4" LIBJSON="0.12.1"
 LIBPROTOBUF="1.2.1" RASTER


 {{{
 Thread 1 (Thread 0x7f9975154780 (LWP 12434)):
 #0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
 #1  0x00007f9972708f5d in __GI_abort () at abort.c:90
 #2  0x00007f997275128d in __libc_message (action=action at entry=do_abort,
 fmt=fmt at entry=0x7f9972876a26 "*** %s ***: %s terminated\n") at
 ../sysdeps/posix/libc_fatal.c:181
 #3  0x00007f99727f7811 in __GI___fortify_fail_abort
 (need_backtrace=need_backtrace at entry=false, msg=msg at entry=0x7f9972876a0e
 "stack smashing detected") at fortify_fail.c:33
 #4  0x00007f99727f77d2 in __stack_chk_fail () at stack_chk_fail.c:29
 #5  0x00007f99629fd29f in nd_box_array_distribution
 (nd_boxes=nd_boxes at entry=0x5581ff8f57b8, num_boxes=num_boxes at entry=1,
 extent=extent at entry=0x7ffff9781ee0, ndims=ndims at entry=2,
 distribution=distribution at entry=0x7ffff9781f20)
     at gserialized_estimate.c:843
 #6  0x00007f99629fe3bd in compute_gserialized_stats_mode
 (stats=stats at entry=0x5581ff932098,
 fetchfunc=fetchfunc at entry=0x5581fd5367d0, sample_rows=sample_rows at entry=1,
 total_rows=total_rows at entry=1, mode=mode at entry=2) at
 gserialized_estimate.c:1579
 #7  0x00007f99629fecb0 in compute_gserialized_stats (stats=0x5581ff932098,
 fetchfunc=0x5581fd5367d0, sample_rows=1, total_rows=1) at
 gserialized_estimate.c:1839
 #8  0x00005581fd538b81 in ?? ()
 #9  0x00005581fd53a094 in analyze_rel ()
 #10 0x00005581fd5a496b in vacuum ()
 #11 0x00005581fd5a4d9d in ExecVacuum ()
 #12 0x00005581fd6f4248 in standard_ProcessUtility ()
 #13 0x00005581fd6f0dd5 in ?? ()
 #14 0x00005581fd6f18d7 in ?? ()
 #15 0x00005581fd6f25d8 in PortalRun ()
 #16 0x00005581fd6ee193 in ?? ()
 #17 0x00005581fd6f01c8 in PostgresMain ()
 #18 0x00005581fd429589 in ?? ()
 #19 0x00005581fd677c04 in PostmasterMain ()
 #20 0x00005581fd42ae8f in main ()

 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2985#comment:44>
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