[postgis-tickets] [PostGIS] #2985: server crash when analyzing table with 1 row

PostGIS trac at osgeo.org
Mon Sep 12 11:35:36 PDT 2016


#2985: server crash when analyzing table with 1 row
-----------------------+------------------------------------------
  Reporter:  nkiraly   |      Owner:  pramsey
      Type:  defect    |     Status:  reopened
  Priority:  critical  |  Milestone:  PostGIS 2.2.3
 Component:  postgis   |    Version:  2.1.x
Resolution:            |   Keywords:  analyze server crash freebsd
-----------------------+------------------------------------------

Comment (by ofca):

 Some more details for c wizards ;)
 {{{
 Program received signal SIGBUS, Bus error.
 0x00000000005b5132 in std_fetch_func (stats=0x803271422, rownum=0,
 isNull=0x7fffffffd9a7 "") at analyze.c:1761
 1761    analyze.c: No such file or directory.
 (gdb) bt
 #0  0x00000000005b5132 in std_fetch_func (stats=0x803271422, rownum=0,
 isNull=0x7fffffffd9a7 "") at analyze.c:1761
 #1  0x0000000807034ee3 in ?? () from
 /usr/local/lib/postgresql/postgis-2.2.so
 #2  0x00000000005b1974 in do_analyze_rel (onerel=0x80332b768,
 vacstmt=0x80320ba38, acquirefunc=0x5b09f0 <acquire_sample_rows>,
 relpages=1, inh=0 '\000',
     in_outer_xact=0 '\000', elevel=17) at analyze.c:528
 #3  0x00000000005b0960 in analyze_rel (relid=623595, vacstmt=0x80320ba38,
 in_outer_xact=0 '\000', bstrategy=0x8030eb030) at analyze.c:266
 #4  0x000000000063892b in vacuum (vacstmt=0x80320ba38, relid=0, do_toast=1
 '\001', bstrategy=0x8030eb030, for_wraparound=0 '\000', isTopLevel=1
 '\001')
     at vacuum.c:259
 #5  0x00000000007ad798 in standard_ProcessUtility (parsetree=0x80320ba38,
 queryString=0x80320b030 "vacuum FULL ANALYZE VERBOSE ;", params=0x0,
     isTopLevel=1 '\001', dest=0x80320bd78, completionTag=0x7fffffffe470
 "") at utility.c:1003
 }}}

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