monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] more on the segv


From: Tom Tromey
Subject: [Monotone-devel] more on the segv
Date: 22 Sep 2003 20:53:45 -0600

Ok, I think the cause of the segv is this code in diff_patch.cc:

          while (lines1[a] != *i)
              cons.delete_at(a++);
          while (lines2[b] != *i)   // this line is in the backtrace
            cons.insert_at(b++);

See this:

(gdb) p lines2._M_finish - lines2._M_start
$7 = 2116
(gdb) p b
$8 = 2117

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]