line stack logical problems
a normal run terminates with
DISASTER number of lines in LineSave.nsum changed between pass 0 and 1 - this is impossible
DISASTER LineSave.nsum is 853755 and nLineSave is 853260
five lines were added to the stack. There was no memory for these extra lines so we get the following with valrind on cloud9:
==6029==
==6029== Invalid read of size 8
==6029== at 0x56A1B2: SumLineAdd (lines.h:255)
==6029== by 0x56A1B2: lincom (lines_service.cpp:333)
==6029== by 0x56A1B2: lindst1 (lines_service.cpp:583)
==6029== by 0x56A1B2: lindst (lines_service.cpp:649)
==6029== by 0x56A1B2: lindst(double, float, char const*, long, char, bool, char const*) (lines_service.cpp:626)
==6029== by 0x56FB5C: lines() (prt_lines.cpp:433)
==6029== by 0x5E4004: cloudy() (cloudy.cpp:239)
==6029== by 0x4D61C9: cdDrive() (cddrive.cpp:149)
==6029== by 0x44C1D4: cdMain(int, char const**) (maincl.cpp:493)
==6029== by 0x43E009: main (maincl.cpp:116)
==6029== Address 0x620e1830 is 136,521,712 bytes inside a block of size 136,523,680 in arena "client"
==6029==