[GRASS-dev] [GRASS GIS] #2583: v.net: crash on Windows
GRASS GIS
trac at osgeo.org
Sun Feb 15 01:53:34 PST 2015
#2583: v.net: crash on Windows
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.0.0
Component: LibVector | Version: svn-releasebranch70
Keywords: v.net | Platform: MSWindows 8
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by marisn):
On ~AMD64 Linux I don't see any crash but Valgrind is complaining about
use of uninitialized values. Seems that there is a problem when vector is
not a 3D one. Don't know it could be the source of a crash in the Windows
version.
Still in the light of recent Martin comments it could be the case.
Markus - leak-check doesn't matter unless we are optimizing code. Lost
memory is just wasted memory - it doesn't harm (except consuming few bytes
of RAM).
{{{
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x5FBA939: dig_line_box (box.c:51)
==10082== by 0x4E74AE2: V2__add_line_to_topo_nat (write_nat.c:895)
==10082== by 0x4E752A4: V2_rewrite_line_nat (write_nat.c:228)
==10082== by 0x4E51082: Vect_rewrite_line (write.c:231)
==10082== by 0x405979: connect_arcs (connect.c:87)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x4E63D63: Vect_box_extend (box.c:126)
==10082== by 0x4E74B47: V2__add_line_to_topo_nat (write_nat.c:908)
==10082== by 0x4E752A4: V2_rewrite_line_nat (write_nat.c:228)
==10082== by 0x4E51082: Vect_rewrite_line (write.c:231)
==10082== by 0x405979: connect_arcs (connect.c:87)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x5FBA939: dig_line_box (box.c:51)
==10082== by 0x4E74AE2: V2__add_line_to_topo_nat (write_nat.c:895)
==10082== by 0x4E75161: V2_write_line_nat (write_nat.c:80)
==10082== by 0x4E50FA3: Vect_write_line (write.c:189)
==10082== by 0x405856: connect_arcs (connect.c:99)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x5FBA944: dig_line_box (box.c:53)
==10082== by 0x4E74AE2: V2__add_line_to_topo_nat (write_nat.c:895)
==10082== by 0x4E75161: V2_write_line_nat (write_nat.c:80)
==10082== by 0x4E50FA3: Vect_write_line (write.c:189)
==10082== by 0x405856: connect_arcs (connect.c:99)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x4E63D63: Vect_box_extend (box.c:126)
==10082== by 0x4E74B47: V2__add_line_to_topo_nat (write_nat.c:908)
==10082== by 0x4E75161: V2_write_line_nat (write_nat.c:80)
==10082== by 0x4E50FA3: Vect_write_line (write.c:189)
==10082== by 0x405856: connect_arcs (connect.c:99)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x5FBA8D8: dig_line_box (box.c:51)
==10082== by 0x4E74AE2: V2__add_line_to_topo_nat (write_nat.c:895)
==10082== by 0x4E75161: V2_write_line_nat (write_nat.c:80)
==10082== by 0x4E50FA3: Vect_write_line (write.c:189)
==10082== by 0x405A1B: connect_arcs (connect.c:122)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x5FBA8D8: dig_line_box (box.c:51)
==10082== by 0x4E74AE2: V2__add_line_to_topo_nat (write_nat.c:895)
==10082== by 0x4E752A4: V2_rewrite_line_nat (write_nat.c:228)
==10082== by 0x4E51082: Vect_rewrite_line (write.c:231)
==10082== by 0x405979: connect_arcs (connect.c:87)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x4E68F68: Vect_line_prune (line.c:290)
==10082== by 0x40582E: connect_arcs (connect.c:96)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x4E68F6A: Vect_line_prune (line.c:290)
==10082== by 0x40582E: connect_arcs (connect.c:96)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x4E68F68: Vect_line_prune (line.c:290)
==10082== by 0x40579A: connect_arcs (connect.c:85)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
==10082==
==10082== Conditional jump or move depends on uninitialised value(s)
==10082== at 0x4E68F6A: Vect_line_prune (line.c:290)
==10082== by 0x40579A: connect_arcs (connect.c:85)
==10082== by 0x403164: main (main.c:146)
==10082== Uninitialised value was created by a stack allocation
==10082== at 0x405550: connect_arcs (connect.c:23)
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2583#comment:20>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list