Re: Sqlite 3.31.0 breaks firefox and thunderbird

Ferdinand <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <[email protected]>
Thank you for the suggestion, Warren.

Bisect first pointed to commit df51ae19c1aa4c26, but sometime after that this segfault seemed to be fixed, a second bisect blamed commit 2ae77bd233570834:

https://www.sqlite.org/src/info/2ae77bd233570834

I've attached a backtrace from a crash at this commit.

Cheers,
Ferdinand

_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
backtrace (text/plain, 3.1 KB)
#0  0x00007fffef25af20 in  () at /home/fw/nightly-latest/libxul.so
#1  0x00007fffef2539f7 in  () at /home/fw/nightly-latest/libxul.so
#2  0x00007fffea64478a in sqlite3OsOpen
    (pVfs=0x7fffdb83c920, zPath=0x7fffd424dc18 "/home/fw/.mozilla/firefox/s1jb1nj0.ephemeral/storage/permanent/chrome/idb/3870112724rsegmnoittet-es.sqlite-wal", pFile=0x7fffd43e49d0, flags=524294, pFlagsOut=0x7fffd3cdd63c) at sqlite3.c:22915
#3  0x00007fffea6695cd in sqlite3WalOpen
    (pVfs=0x7fffdb83c920, pDbFd=0x7fffd424d980, zWalName=0x7fffd424dc18 "/home/fw/.mozilla/firefox/s1jb1nj0.ephemeral/storage/permanent/chrome/idb/3870112724rsegmnoittet-es.sqlite-wal", bNoShm=0, mxWalSize=-1, ppWal=0x7fffd424d928)
    at sqlite3.c:60512
#4  0x00007fffea667b4f in pagerOpenWal (pPager=0x7fffd424d800) at sqlite3.c:58926
#5  0x00007fffea667cce in sqlite3PagerOpenWal (pPager=0x7fffd424d800, pbOpen=0x7fffd3cdd6d0) at sqlite3.c:58970
#6  0x00007fffea674b3c in lockBtree (pBt=0x7fffd4f7d670) at sqlite3.c:67141
#7  0x00007fffea67555b in sqlite3BtreeBeginTrans (p=0x7fffd425ff10, wrflag=0, pSchemaVersion=0x0) at sqlite3.c:67463
#8  0x00007fffea6f0da8 in sqlite3InitOne (db=0x7fffd42e2c00, iDb=0, pzErrMsg=0x7fffd3cde9f8, mFlags=0)
    at sqlite3.c:127048
#9  0x00007fffea6f137d in sqlite3Init (db=0x7fffd42e2c00, pzErrMsg=0x7fffd3cde9f8) at sqlite3.c:127233
#10 0x00007fffea6f14d5 in sqlite3ReadSchema (pParse=0x7fffd3cde9f0) at sqlite3.c:127259
#11 0x00007fffea6eb165 in sqlite3Pragma
    (pParse=0x7fffd3cde9f0, pId1=0x7fffd3cde038, pId2=0x7fffd3cde050, pValue=0x7fffd3cde080, minusFlag=1)
    at sqlite3.c:124693
#12 0x00007fffea72d1e7 in yy_reduce
    (yypParser=0x7fffd3cddff0, yyruleno=242, yyLookahead=1, yyLookaheadToken=..., pParse=0x7fffd3cde9f0)
    at sqlite3.c:156497
--Type <RET> for more, q to quit, c to continue without paging--
#13 0x00007fffea72e89a in sqlite3Parser (yyp=0x7fffd3cddff0, yymajor=1, yyminor=...) at sqlite3.c:157054
#14 0x00007fffea72fda1 in sqlite3RunParser (pParse=0x7fffd3cde9f0, zSql=0x7fffd5add8d9 "", pzErrMsg=0x7fffd3cdeb98)
    at sqlite3.c:158328
#15 0x00007fffea6f1c44 in sqlite3Prepare
    (db=0x7fffd42e2c00, zSql=0x7fffd5add888 "/* /home/fw/nightly/storage/mozStorageConnection.cpp */ PRAGMA cache_size = -2048", nBytes=-1, prepFlags=128, pReprepare=0x0, ppStmt=0x7fffd3cdecd8, pzTail=0x7fffd3cdece0) at sqlite3.c:127460
#16 0x00007fffea6f1ebf in sqlite3LockAndPrepare
    (db=0x7fffd42e2c00, zSql=0x7fffd5add888 "/* /home/fw/nightly/storage/mozStorageConnection.cpp */ PRAGMA cache_size = -2048", nBytes=-1, prepFlags=128, pOld=0x0, ppStmt=0x7fffd3cdecd8, pzTail=0x7fffd3cdece0) at sqlite3.c:127532
#17 0x00007fffea6f2214 in sqlite3_prepare_v2
    (db=0x7fffd42e2c00, zSql=0x7fffd5add888 "/* /home/fw/nightly/storage/mozStorageConnection.cpp */ PRAGMA cache_size = -2048", nBytes=-1, ppStmt=0x7fffd3cdecd8, pzTail=0x7fffd3cdece0) at sqlite3.c:127616
#18 0x00007fffea6e957f in sqlite3_exec
    (db=0x7fffd42e2c00, zSql=0x7fffd5add888 "/* /home/fw/nightly/storage/mozStorageConnection.cpp */ PRAGMA cache_size = -2048", xCallback=0x0, pArg=0x0, pzErrMsg=0x0) at sqlite3.c:121960
#19 0x00007fffef24d86f in  () at /home/fw/nightly-latest/libxul.so
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.