|Subject:||Custom Aggregates and Group By Resulting in BusError or Seg Fault|
It seems like a bug in SQLite's load extension interface (via sqlite_create_aggregate). A bit of poking suggests that the problem manifests in the destructor (under Perl_sv_clean_objs). So far, I have reproduced the bug on linux (5.10.0) and Strawberry perl (5.16.3) running on Win XP (but not ActivePerl). I actually get two different error messages depending on if I save to disk or not. See discussion at:Self-contained example attached.
Message body is not shown because it is too large.