PiCO_QL icon indicating copy to clipboard operation
PiCO_QL copied to clipboard

[Valgrind-mod] [Linux-kernel-mod] SQLite writing to temporary file fails.

Open mfragkoulis opened this issue 11 years ago • 0 comments

At the point SQLite reaches its allocated heap space (could happen for GROUP BY or ORDER BY clauses in big queries),it goes on to write its intermediate result to a temporary file; then happens the crash (grep ListToPMA in SQLite source). So the mapping of write related system calls to ones offered by Valgrind requires fixing. Temporary workaround: configured SQLite to work with 4096 byte pages and allocate 10K of them by default (was 1024 and 2K respectively). Did so with two PRAGMA queries.

mfragkoulis avatar Dec 23 '13 10:12 mfragkoulis