Menu

Src (SVN)-old Commit Log


Commit Date  
[r7661] by tswift

Changes to fix problems with expanding VarEnumerator array, the array
that handles variable aliasing when tabling terms. When expanding
this array, we had been doing a realloc. However, expansion may occur
midway through copying a term into a table. If this happens there is
the possibility that the part of the term that is not yet copied could
point into the *old* VarEnumerator array. If this happens with a
realloc, we get a dangling pointer, which was the cause of a core dump
on some flora programs.

My fix was 1) to replace the realloc with a malloc and 2) to grow the
array more aggressively, by powers of 2. This leads to a small memory
leak in certain cases, but the leak is bounded by the current size of
the VarEnumerator array, and so will be insignificant.

2012-11-16 21:50:18 Tree
[r7660] by tswift

Expandable depth stack working for MT engine.

2012-11-15 23:01:01 Tree
[r7659] by tswift

Expandable depth stack for bounded rationality

2012-11-15 22:23:20 Tree
[r7658] by dwarren

Fixed bug I introduced when changing types for Integer.
Now throws intended error message.

2012-11-08 19:08:25 Tree
[r7657] by dwarren

Minor changes in translating DL rules.

2012-11-06 17:15:55 Tree
[r7656] by dwarren

Minor indexing change

2012-11-06 17:14:34 Tree
[r7655] by dwarren

A few accumulated minor changes.

2012-11-06 17:13:56 Tree
[r7654] by dwarren

Support renaming of rid's to crid's (and vice versa)

2012-11-06 17:13:22 Tree
[r7653] by dwarren

Fixed bug when hash computation overflows int. Happened when increasing
depth of star index lookahead.

2012-11-02 19:57:23 Tree
[r7652] by dwarren

Make print_pterm tail-recursive, so fewer C runstack overflows.
(Counts number of close-parens to print on exit, so can be tail-recursive.)

2012-11-01 15:53:04 Tree
Older >
Monday.com Logo