Couchbase 2.0 systematic crash with a specific reduce function : beam.smp general protection error:0 in libstdc++.so.6.0.17
When using the following reduce/rereduce function on any view, any bucket, containing any data (bucket populated with at least one item), on RedHat and/or OSX (and I guess any other OS), the couchbase server crashes each time :
var aid = k.shift();
The following error appears in dmesg when the crash happens :
beam.smp general protection ip:7f6aa2943c60 sp:7f6ac3a0c5b8 error:0 in libstdc++.so.6.0.17[7f6aa28e7000+eb000]
I can upload any core file or log, but the problem can be reproduced (on RedHat and OSX at least) with the beer-sample bucket and any map function followed by the previously mentioned reduce function
We are (seriously) evaluating couchbase for production, but we can't afford that a random view (even stupid, but valid) makes a cluster-wide crash;
This is the kind of issue that would (sadly) lead us to a noGo.