[GRASS-dev] [GRASS GIS] #3593: Error in v.stream.order add-on, segmentation fault

GRASS GIS trac at osgeo.org
Sun Sep 16 09:35:18 PDT 2018


#3593: Error in v.stream.order add-on, segmentation fault
--------------------------+---------------------------------
  Reporter:  jradinger    |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Addons       |    Version:  svn-releasebranch74
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by mmetz):

 Replying to [comment:4 neteler]:
 > Replying to [comment:3 jradinger]:
 > > How can I find out that step/line? Do I need to run the script
 manually or can that be obtained by a specific debug level?
 >
 > The easiest way is to use pdb, see
 >
 >
 https://grasswiki.osgeo.org/wiki/GRASS_Debugging#Python_debugging_with_pdb

 You can also try valgrind:
 {{{
 CMD="v.stream.order input=streams points=streams_outlets
 output=streams_order threshold=25 order=strahler,shreve --o"
 valgrind --tool=memcheck --trace-children=yes --track-origins=yes --log-
 file=val.out.%p $CMD
 }}}
 This will create a number of val.out.* files which you could zip/tar.gz
 and attach to this ticket. No segfault and nothing suspicious in the
 valgrind output on my system.

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



More information about the grass-dev mailing list