[GRASS-dev] [GRASS GIS] #3213: v.net.iso - Segmentation fault

GRASS GIS trac at osgeo.org
Mon Nov 28 00:42:55 PST 2016


#3213: v.net.iso - Segmentation fault
--------------------------+---------------------------------
  Reporter:  sebastic     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  major        |  Milestone:  7.2.0
 Component:  LibVector    |    Version:  svn-releasebranch72
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+---------------------------------
Changes (by mmetz):

 * priority:  normal => major
 * component:  Vector => LibVector


Comment:

 Adding the full gdb backtrace for reference:

 {{{
 (gdb) bt full
 #0  tavl_probe (tree=tree at entry=0x55555599b6c0, item=item at entry=0x55555
 599f7b0)
     at tavl.c:146
         y = 0x0
         z = 0x55555599b6c0
         p = 0x0
         q = <optimized out>
         n = 0x55555599f7d0
         w = <optimized out>
         dir = <optimized out>
         da =
 "\023\000\000\000\000\000\000\000\000\vb\367\377\177\000\000\300\266\23
 1UUU\000\000\030\000\000\000\000\000\000"
         k = 0
         __PRETTY_FUNCTION__ = "tavl_probe"
 }}}

 The problem is that y = NULL. The test in tavl.c:139 should have been
 positive (new empty tree, the root must be set to the new node).

 With regard to lib/vector/dglib, the source code of the Debian package
 seems to be identical to svn source code. Therefore, as long as manual
 compilation from source works, it seems that this is a packaging error.
 FWIW, I have updated tavl.c in trunk r69935 (newer version, more safety
 checks).

 For debugging purposes, is there any way to reproduce compilation of the
 Debian package? It would be really nice to have a working Debian package.
 Increasing priority.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3213#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list