Program received signal SIGSEGV, Segmentation fault.
0x00002b71ce0c034a in segment_pagein (SEG=0x7fffdcb00080, n=0) at
pagein.c:46
46 if (n == SEG->scb[SEG->cur].n)
(gdb) bt #0 0x00002b71ce0c034a in segment_pagein (SEG=0x7fffdcb00080, n=0)
at pagein.c:46 #1 0x00002b71ce0c05cd in segment_put (SEG=0x7fffdcb00080,
buf=0x7fffdcafe9a4,
row=<value optimized out>, col=<value optimized out>) at put.c:48 #2 0x0000000000401c8e in delete (PT_TO_DELETE=0x5e07a0, head=0x507790,
seg_out_p=0x0, row_viewpt=0, col_viewpt=-592451212) at delete.c:32 #3 0x000000000040304f in hidden_point_elimination (head=0x507790,
viewpt_elev=1329, seg_in_p=0x7fffdcb000c0,
seg_out_p=0x7fffdcb00080,
seg_patt_p=0x7fffdcb00040, quadrant=1, sign_on_y=1, sign_on_x=1,
row_viewpt=83, col_viewpt=445, patt_flag=0) at pts_elim.c:189 #4 0x000000000040243f in main (argc=<value optimized out>,
argv=<value optimized out>) at main.c:322
Program received signal SIGSEGV, Segmentation fault.
0x00002b71ce0c034a in segment_pagein (SEG=0x7fffdcb00080, n=0) at
pagein.c:46
46 if (n == SEG->scb[SEG->cur].n)
(gdb) bt #0 0x00002b71ce0c034a in segment_pagein (SEG=0x7fffdcb00080, n=0)
at pagein.c:46 #1 0x00002b71ce0c05cd in segment_put (SEG=0x7fffdcb00080,
buf=0x7fffdcafe9a4,
row=<value optimized out>, col=<value optimized out>) at put.c:48 #2 0x0000000000401c8e in delete (PT_TO_DELETE=0x5e07a0, head=0x507790,
seg_out_p=0x0, row_viewpt=0, col_viewpt=-592451212) at delete.c:32 #3 0x000000000040304f in hidden_point_elimination (head=0x507790,
viewpt_elev=1329, seg_in_p=0x7fffdcb000c0,
seg_out_p=0x7fffdcb00080,
seg_patt_p=0x7fffdcb00040, quadrant=1, sign_on_y=1, sign_on_x=1,
row_viewpt=83, col_viewpt=445, patt_flag=0) at pts_elim.c:189 #4 0x000000000040243f in main (argc=<value optimized out>,
argv=<value optimized out>) at main.c:322
Program received signal SIGSEGV, Segmentation fault.
0x00002b71ce0c034a in segment_pagein (SEG=0x7fffdcb00080, n=0) at
pagein.c:46
46 if (n == SEG->scb[SEG->cur].n)
(gdb) bt #0 0x00002b71ce0c034a in segment_pagein (SEG=0x7fffdcb00080, n=0)
at pagein.c:46 #1 0x00002b71ce0c05cd in segment_put (SEG=0x7fffdcb00080,
buf=0x7fffdcafe9a4,
row=<value optimized out>, col=<value optimized out>) at put.c:48 #2 0x0000000000401c8e in delete (PT_TO_DELETE=0x5e07a0, head=0x507790,
seg_out_p=0x0, row_viewpt=0, col_viewpt=-592451212) at delete.c:32 #3 0x000000000040304f in hidden_point_elimination (head=0x507790,
viewpt_elev=1329, seg_in_p=0x7fffdcb000c0,
seg_out_p=0x7fffdcb00080,
seg_patt_p=0x7fffdcb00040, quadrant=1, sign_on_y=1, sign_on_x=1,
row_viewpt=83, col_viewpt=445, patt_flag=0) at pts_elim.c:189 #4 0x000000000040243f in main (argc=<value optimized out>,
argv=<value optimized out>) at main.c:322
FWIW I don't think a percent memory option was useful for r.los anyway, so no
loss. The current method gets so slow by the time that the region is > 500x500,
that by the time system memory was a problem it would take centuries to finish.
So what was the actual fix?
I suppose the segmented memory management was dropped?
Benjamin
Hamish wrote:
Markus Neteler wrote:
Fixed in CVS.
FWIW I don't think a percent memory option was useful for r.los anyway, so no
loss. The current method gets so slow by the time that the region is > 500x500,
that by the time system memory was a problem it would take centuries to finish.
--
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany