SQLite Forum

Assertion failure in do_meta_command function (2)
Login

Assertion failure in do_meta_command function (2)

(1) By Song Liu (songliu) on 2023-04-27 23:35:28 [source]

I found an assertion failure while SQLite (latest, 4ba2a651120391d7) executes the following queries.

.limit E 0
.sha3

Here are the outputs:

sqlite3-asan: shell.c:25705: do_meta_command: Assertion `lrc==SQLITE_NOMEM' failed.

We discussed this problem (forum post: 3374b58840), here is the patch 13f2638622871db9.

My compilation flags:

export CFLAGS="-g -DSQLITE_DEBUG
            -DSQLITE_ENABLE_TREETRACE
            -DSQLITE_ENABLE_WHERETRACE
            -DSQLITE_ENABLE_CURSOR_HINTS
            -DSQLITE_COUNTOFVIEW_OPTIMIZATION
            -DSQLITE_ENABLE_STAT4"
./configure --enable-all --enable-debug --disable-shared && make

(2) By Larry Brasfield (larrybr) on 2023-04-28 00:32:11 in reply to 1 [link] [source]

This is a slightly different problem than before. It is addressed by this check-in.

(3) By Song Liu (songliu) on 2023-04-28 00:57:43 in reply to 2 [link] [source]

Thanks for your efforts!