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

Fuzzbench silently stops measuring runs when SQLite database is "full" #2070

Open
addisoncrump opened this issue Jan 30, 2025 · 0 comments
Open

Comments

@addisoncrump
Copy link
Contributor

When the SQLite database is on a disk which is approaching being filled, it will cause Fuzzbench's dispatcher to emit the following error:

Process Process-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1880, in _execute_context
    self.dialect.do_executemany(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 733, in do_executemany
    cursor.executemany(statement, parameters)
sqlite3.OperationalError: database or disk is full

However, after this point, the runs continue. In some cases, it seems that SQLite's detection of the fullness of the filesystem is overly cautious (e.g., this occurred at 91% usage... of a 3TB drive), and also that Docker seems to interfere with the fullness detection in some way.

regardless, this is a truly hard error that should cause Fuzzbench to terminate all runs early. As of now, it silently stops measurement but the runs keep going, which made this error very difficult to find.

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