Just tried with the Dec 2011 SP2 release of MonetDB and the crash has been resolved and all of the unit tests pass. Once I get my head back into all this (having been away some time) Ill get a patch together.

Hash test results

------------------------

Test: Term-01

Test: Term-02 - plain string

Test: Term-03

Test: Term-04

Test: Term-05 - unknown type

Test: Term-06

Test: Term-07

Test: Term-08

Test: Term-09

Test: Term-10

Test: Term-11

Test: Term-12

Test: Vars-1

Test: Vars-2

Test: Vars-3

Test: Vars-4

Test: Vars-5

Test: Unicode-1

Test: Unicode-2

Test: Unicode-3

Test: Unicode-4

Test: Unicode-5

Test: Basic - Empty pattern, all variables

Test: Basic - Empty pattern -name variable

Test: Basic - 1 - Single triple pattern

Test: Basic - 2 - Two triple patterns, common subject pair, object-subject path

Test: Basic - 3 - Three triple patterns, common subject

Test: Triple - 1

Test: Triple - 2

Test: Triple - 3

Test: Triple - 4

Test: Optional - 1

Test: Optional - 2

Test: Optional - 3

Test: Optional - 4

Test: Coalesce - 1

Test: Coalesce - 2

Test: Coalesce - 3

Test: Partially optimized - 1

Test: Partially optimized - 2

Test: Partially optimized - 3

Test: Partially optimized - 4

Test: Regex-1

Test: Regex-2

Test: Regex-3

Test: Regex-opt-1

Test: Regex-opt-2

Test: Regex-opt-3

Test: Regex-opt-4

Test: Equals-1

Test: Equals-2

Test: Nested Optionals - 1

Test: Nested Optionals - 2

Test: Optional-filter - 1

Test: Filter-nested - 1

Test: Filter-nested - 2

Test: Structure - 1

Test: Structure - 2

Test: Structure - 3

Test: Structure - 4

Test: Structure - 5

Test: Structure - 6

Test: Structure - 10

Test: Quads-1

Test: Quads-2

Test: Quads-2a

Test: Merge-1

Test: Merge-2

Test: Merge-3

Test: Merge-4

Test: Merge-5

Test: Merge-6

Test: Merge-A

Test: Merge-B

Test: Slice 1

Test: Slice 2

Test: Slice 3

Test: Slice 4

Test: Slice 5

Test: Slice 6

Test: Distinct 1

Test: Distinct 2

Tests = 82 : Successes = 82 : Errors = 0 : Failures = 0

Index Test Results

----------------------------

Test: Term-01

Test: Term-02 - plain string

Test: Term-03

Test: Term-04

Test: Term-05 - unknown type

Test: Term-06

Test: Term-07

Test: Term-08

Test: Term-09

Test: Term-10

Test: Term-11

Test: Term-12

Test: Vars-1

Test: Vars-2

Test: Vars-3

Test: Vars-4

Test: Vars-5

Test: Unicode-1

Test: Unicode-2

Test: Unicode-3

Test: Unicode-4

Test: Unicode-5

Test: Basic - Empty pattern, all variables

Test: Basic - Empty pattern -name variable

Test: Basic - 1 - Single triple pattern

Test: Basic - 2 - Two triple patterns, common subject pair, object-subject path

Test: Basic - 3 - Three triple patterns, common subject

Test: Triple - 1

Test: Triple - 2

Test: Triple - 3

Test: Triple - 4

Test: Optional - 1

Test: Optional - 2

Test: Optional - 3

Test: Optional - 4

Test: Coalesce - 1

Test: Coalesce - 2

Test: Coalesce - 3

Test: Partially optimized - 1

Test: Partially optimized - 2

Test: Partially optimized - 3

Test: Partially optimized - 4

Test: Regex-1

Test: Regex-2

Test: Regex-3

Test: Regex-opt-1

Test: Regex-opt-2

Test: Regex-opt-3

Test: Regex-opt-4

Test: Equals-1

Test: Equals-2

Test: Nested Optionals - 1

Test: Nested Optionals - 2

Test: Optional-filter - 1

Test: Filter-nested - 1

Test: Filter-nested - 2

Test: Structure - 1

Test: Structure - 2

Test: Structure - 3

Test: Structure - 4

Test: Structure - 5

Test: Structure - 6

Test: Structure - 10

Test: Quads-1

Test: Quads-2

Test: Quads-2a

Test: Merge-1

Test: Merge-2

Test: Merge-3

Test: Merge-4

Test: Merge-5

Test: Merge-6

Test: Merge-A

Test: Merge-B

Test: Slice 1

Test: Slice 2

Test: Slice 3

Test: Slice 4

Test: Slice 5

Test: Slice 6

Test: Distinct 1

Test: Distinct 2

Tests = 82 : Successes = 82 : Errors = 0 : Failures = 0

Add support for normalized storage on MonetDB. Only tested so far as SDBConfig creates the schema without error. More work needed....