Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mfragkoulis opened this issue Dec 23, 2013 · 0 comments
Assignees

Comments

@mfragkoulis
Copy link
Owner

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.

@ghost ghost assigned mfragkoulis Dec 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant