Weird SQLite malformed error

Hey guys im getting this weird error and them my terminal just disconnects Error:
workerd/util/symbolizer.c++:101: warning: Not symbolizing stack traces because $LLVM_SYMBOLIZER is not set. To symbolize stack traces, set $LLVM_SYMBOLIZER to the location of the llvm-symbolizer binary. When running tests under bazel, use `--test_env=LLVM_SYMBOLIZER=<path>`.
workerd/jsg/util.c++:274: error: e = workerd/util/sqlite.c++:588: failed: SQLite failed; dbErrorMessage(prepareResult, db) = database disk image is malformed: SQLITE_CORRUPT
stack: 10368b7bb 102c936e3 102c92e4f 102c92c03 10323d5cb 10323d49b 10323d09f 103216ce7 10321681b 102c9247b 102c91f07 102c91db7 102c8f0ab 102c971e7 102c96ce7 1054a8ed7 102ca9e9b 10366c1ac 10366e717 102c90f30 1033a7570 1032bc4a0; sentryErrorContext = jsgInternalError
workerd/jsg/util.c++:274: error: e = workerd/util/sqlite.c++:588: failed: SQLite failed; dbErrorMessage(prepareResult, db) = database disk image is malformed: SQLITE_CORRUPT
stack: 10368b7bb 102c936e3 102c92e4f 102c92c03 10323d5cb 10323d49b 10323d09f 103216ce7 10321681b 102c9247b 102c91f07 102c91db7 102c8f0ab 102c971e7 102c96ce7 1054a8ed7 102ca9e9b 10366c1ac 10366e717 102c90f30 1033a7570 1032bc4a0; sentryErrorContext = jsgInternalError
workerd/jsg/util.c++:274: error: e = workerd/util/sqlite.c++:588: failed: SQLite failed; dbErrorMessage(prepareResult, db) = database disk image is malformed: SQLITE_CORRUPT
stack: 10368b7bb 102c936e3 102c92e4f 102c92c03 10323d5cb 10323d49b 10323d09f 103216ce7 10321681b 102c9247b 102c91f07 102c91db7 102c8f0ab 102c971e7 102c96ce7 1054a8ed7 102ca9e9b 10366c1ac 10366e717 102c90f30 1033a7570 1032bc4a0; sentryErrorContext = jsgInternalError
✓ Compiled in 854ms (1411 modules)
workerd/util/symbolizer.c++:101: warning: Not symbolizing stack traces because $LLVM_SYMBOLIZER is not set. To symbolize stack traces, set $LLVM_SYMBOLIZER to the location of the llvm-symbolizer binary. When running tests under bazel, use `--test_env=LLVM_SYMBOLIZER=<path>`.
workerd/jsg/util.c++:274: error: e = workerd/util/sqlite.c++:588: failed: SQLite failed; dbErrorMessage(prepareResult, db) = database disk image is malformed: SQLITE_CORRUPT
stack: 10368b7bb 102c936e3 102c92e4f 102c92c03 10323d5cb 10323d49b 10323d09f 103216ce7 10321681b 102c9247b 102c91f07 102c91db7 102c8f0ab 102c971e7 102c96ce7 1054a8ed7 102ca9e9b 10366c1ac 10366e717 102c90f30 1033a7570 1032bc4a0; sentryErrorContext = jsgInternalError
workerd/jsg/util.c++:274: error: e = workerd/util/sqlite.c++:588: failed: SQLite failed; dbErrorMessage(prepareResult, db) = database disk image is malformed: SQLITE_CORRUPT
stack: 10368b7bb 102c936e3 102c92e4f 102c92c03 10323d5cb 10323d49b 10323d09f 103216ce7 10321681b 102c9247b 102c91f07 102c91db7 102c8f0ab 102c971e7 102c96ce7 1054a8ed7 102ca9e9b 10366c1ac 10366e717 102c90f30 1033a7570 1032bc4a0; sentryErrorContext = jsgInternalError
workerd/jsg/util.c++:274: error: e = workerd/util/sqlite.c++:588: failed: SQLite failed; dbErrorMessage(prepareResult, db) = database disk image is malformed: SQLITE_CORRUPT
stack: 10368b7bb 102c936e3 102c92e4f 102c92c03 10323d5cb 10323d49b 10323d09f 103216ce7 10321681b 102c9247b 102c91f07 102c91db7 102c8f0ab 102c971e7 102c96ce7 1054a8ed7 102ca9e9b 10366c1ac 10366e717 102c90f30 1033a7570 1032bc4a0; sentryErrorContext = jsgInternalError
✓ Compiled in 854ms (1411 modules)
My techstack is : nextjs drizzle postgres ( neondb ) Screenshot:
No description
2 Replies
LEGION
LEGIONOP7d ago
Note: i tested same db url on another project and its working there so i dont think its db issue
Mario564
Mario5643d ago
Are you using SQLite anywhere? The stack trace references SQLite a lot despite you not mentioning it in your stack

Did you find this page helpful?