Control: tags -1 +confirmed patch pending upstream
Control: forwarded -1 https://bugzilla.mozilla.org/show_bug.cgi?id=1607902

On Thu, Jan 23, 2020 at 9:03 AM Peter Keel <bugzi...@discordia.ch> wrote:
> Same for thunderbird, same on different debian unstable machines since
> (yesterdays?) upgrade.
 Got several reports on this. :( Seems to be a Firefox / Thunderbird
issue and their upstream know about it for some time now. See the
forwarded URL. I'm going to revert the SQLite3 update until that issue
is resolved - they have a proposed patch[1] at the moment.

> (gdb) run
> Starting program: /usr/bin/firefox
 Without debug symbols it doesn't help. But just for the record, it
would be the following:
Thread 18 "Cookie" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe5cff700 (LWP 59805)]
(anonymous namespace)::DatabasePathFromWALPath
(zWALName=0x7fffeb8603a0
"/home/gcs/.mozilla/firefox/0m5v8o8f.default/cookies.sqlite-wal") at
./storage/TelemetryVFS.cpp:256
256     ./storage/TelemetryVFS.cpp: No such file or directory.
(gdb) bt
#0  (anonymous namespace)::DatabasePathFromWALPath
(zWALName=0x7fffeb8603a0
"/home/gcs/.mozilla/firefox/0m5v8o8f.default/cookies.sqlite-wal") at
./storage/TelemetryVFS.cpp:256
#1  0x00007fffee26c5a0 in (anonymous
namespace)::MaybeEstablishQuotaControl (flags=524294,
pFile=0x7ffff7815bc0, zName=0x7fffeb8603a0
"/home/gcs/.mozilla/firefox/0m5v8o8f.default/cookies.sqlite-wal") at
./build-browser/dist/include/mozilla/TimeStamp.h:452
#2  (anonymous namespace)::xOpen (vfs=<optimized out>,
zName=0x7fffeb8603a0
"/home/gcs/.mozilla/firefox/0m5v8o8f.default/cookies.sqlite-wal",
pFile=0x7ffff7815bc0, flags=524294, pOutFlags=0x7fffe5cfd654) at
./storage/TelemetryVFS.cpp:627
#3  0x00007fffecc96a42 in sqlite3OsOpen (pFlagsOut=0x7fffe5cfd654,
flags=524294, pFile=0x7ffff7815bc0, zPath=0x7fffeb8603a0
"/home/gcs/.mozilla/firefox/0m5v8o8f.default/cookies.sqlite-wal",
pVfs=0x7fffec31fdf0) at sqlite3.c:60577
#4  sqlite3WalOpen (ppWal=0x7fffeb860120, mxWalSize=-1,
bNoShm=<optimized out>, zWalName=<optimized out>,
pDbFd=0x7fffeb860178, pVfs=0x7fffec31fdf0) at sqlite3.c:60577
#5  pagerOpenWal (pPager=pPager@entry=0x7fffeb860000) at sqlite3.c:58991
#6  0x00007fffecc96b8f in sqlite3PagerOpenWal (pbOpen=<optimized out>,
pPager=0x7fffeb860000) at sqlite3.c:59035
#7  sqlite3PagerOpenWal (pPager=0x7fffeb860000, pbOpen=<optimized
out>) at sqlite3.c:59017
#8  0x00007fffeccdc650 in lockBtree (pBt=0x7fffe5e0bd30) at sqlite3.c:67210
#9  sqlite3BtreeBeginTrans (p=0x7fffe5ede1f0, wrflag=wrflag@entry=0,
pSchemaVersion=pSchemaVersion@entry=0x0) at sqlite3.c:1996
#10 0x00007fffecd10851 in sqlite3InitOne (db=0x7fffe755d800,
iDb=iDb@entry=0, pzErrMsg=pzErrMsg@entry=0x7fffe5cfe498,
mFlags=mFlags@entry=0) at sqlite3.c:127147
#11 0x00007fffecd10a1c in sqlite3Init (db=db@entry=0x7fffe755d800,
pzErrMsg=pzErrMsg@entry=0x7fffe5cfe498) at sqlite3.c:127332
#12 0x00007fffecd10a5f in sqlite3ReadSchema
(pParse=pParse@entry=0x7fffe5cfe490) at sqlite3.c:127358
#13 0x00007fffecd1e075 in sqlite3Pragma
(pParse=pParse@entry=0x7fffe5cfe490, pId1=pId1@entry=0x7fffe5cfdad8,
pId2=pId2@entry=0x7fffe5cfdaf0, pValue=pValue@entry=0x7fffe5cfdb20,
minusFlag=minusFlag@entry=1) at sqlite3.c:124785
#14 0x00007fffecd205f7 in yy_reduce (yyLookahead=<optimized out>,
pParse=0x7fffe5cfe490, yyLookaheadToken=..., yyruleno=242,
yypParser=0x7fffe5cfda90) at sqlite3.c:156616
#15 sqlite3Parser (yyminor=..., yymajor=<optimized out>,
yyp=0x7fffe5cfda90) at sqlite3.c:26101
#16 sqlite3RunParser (pParse=0x7fffe5cfe490, zSql=0x7fffe5edcded "",
pzErrMsg=0x7fffe5cfe488) at sqlite3.c:27375
#17 0x00007fffecd25493 in sqlite3Prepare (db=db@entry=0x7fffe755d800,
zSql=zSql@entry=0x7fffe5edcd88 "/*
/build/firefox-Ch5zq6/firefox-72.0.2/storage/mozStorageConnection.cpp
*/ PRAGMA cache_size = -2048", nBytes=nBytes@entry=-1,
prepFlags=prepFlags@entry=128,
    pReprepare=pReprepare@entry=0x0,
ppStmt=ppStmt@entry=0x7fffe5cfe750, pzTail=0x7fffe5cfe748) at
sqlite3.c:127559
#18 0x00007fffecd2582f in sqlite3LockAndPrepare
(pzTail=0x7fffe5cfe748, ppStmt=0x7fffe5cfe750, pOld=0x0,
prepFlags=128, nBytes=-1, zSql=0x7fffe5edcd88 "/*
/build/firefox-Ch5zq6/firefox-72.0.2/storage/mozStorageConnection.cpp
*/ PRAGMA cache_size = -2048",
    db=0x7fffe755d800) at sqlite3.c:127631
#19 sqlite3LockAndPrepare (db=0x7fffe755d800, zSql=0x7fffe5edcd88 "/*
/build/firefox-Ch5zq6/firefox-72.0.2/storage/mozStorageConnection.cpp
*/ PRAGMA cache_size = -2048", nBytes=-1, prepFlags=128, pOld=0x0,
ppStmt=0x7fffe5cfe750, pzTail=0x7fffe5cfe748)
    at sqlite3.c:62070
#20 0x00007fffecd25926 in sqlite3_prepare_v2
(db=db@entry=0x7fffe755d800, zSql=zSql@entry=0x7fffe5edcd88 "/*
/build/firefox-Ch5zq6/firefox-72.0.2/storage/mozStorageConnection.cpp
*/ PRAGMA cache_size = -2048", nBytes=nBytes@entry=-1,
    ppStmt=ppStmt@entry=0x7fffe5cfe750,
pzTail=pzTail@entry=0x7fffe5cfe748) at sqlite3.c:127715
#21 0x00007fffecd0fecc in sqlite3_exec (db=db@entry=0x7fffe755d800,
zSql=zSql@entry=0x7fffe5edcd88 "/*
/build/firefox-Ch5zq6/firefox-72.0.2/storage/mozStorageConnection.cpp
*/ PRAGMA cache_size = -2048", xCallback=xCallback@entry=0x0,
pArg=pArg@entry=0x0,
    pzErrMsg=pzErrMsg@entry=0x0) at sqlite3.c:122038
#22 0x00007fffee2645ff in mozilla::storage::Connection::executeSql
(this=0x7fffec354ae0, aNativeConnection=0x7fffe755d800,
aSqlString=0x7fffe5edcd88 "/*
/build/firefox-Ch5zq6/firefox-72.0.2/storage/mozStorageConnection.cpp
*/ PRAGMA cache_size = -2048")
    at ./storage/mozStorageConnection.cpp:1218
#23 0x00007fffee264b84 in
mozilla::storage::Connection::initializeInternal
(this=this@entry=0x7fffec354ae0) at
./storage/mozStorageConnection.cpp:766
#24 0x00007fffee265473 in mozilla::storage::Connection::initialize
(this=this@entry=0x7fffec354ae0,
aDatabaseFile=aDatabaseFile@entry=0x7fffec379df0) at
./storage/mozStorageConnection.cpp:666
#25 0x00007fffee275a39 in
mozilla::storage::Service::OpenUnsharedDatabase
(this=this@entry=0x7fffeb8042a0, aDatabaseFile=0x7fffec379df0,
_connection=0x7fffeb805668) at ./storage/mozStorageService.cpp:650
#26 0x00007fffedacdd1a in nsCookieService::TryInitDB
(this=0x7fffec351890, aRecreateDB=aRecreateDB@entry=false) at
./build-browser/dist/include/nsCOMPtr.h:831
#27 0x00007fffedacf839 in nsCookieService::<lambda()>::operator()
(__closure=<optimized out>) at
./build-browser/dist/include/mozilla/StaticPtr.h:148
#28 
mozilla::detail::RunnableFunction<nsCookieService::InitDBStates()::<lambda()>
>::Run(void) (this=<optimized out>) at
./build-browser/dist/include/nsThreadUtils.h:564
#29 0x00007fffed9ce693 in nsThread::ProcessNextEvent
(aResult=0x7fffe5cfeda7, aMayWait=<optimized out>,
this=0x7fffe756e660) at ./xpcom/threads/nsThread.cpp:1250
#30 nsThread::ProcessNextEvent (this=0x7fffe756e660,
aMayWait=<optimized out>, aResult=0x7fffe5cfeda7) at
./xpcom/threads/nsThread.cpp:1081
#31 0x00007fffed9d0828 in NS_ProcessNextEvent (aThread=<optimized
out>, aThread@entry=0x7fffe756e660, aMayWait=aMayWait@entry=true) at
./xpcom/threads/nsThreadUtils.cpp:486
#32 0x00007fffedeb923a in
mozilla::ipc::MessagePumpForNonMainThreads::Run (this=0x7fffe5efe640,
aDelegate=0x7fffe5ee1040) at ./ipc/glue/MessagePump.cpp:333
#33 0x00007fffede88675 in MessageLoop::RunInternal
(this=0x7fffe5ee1040) at
./build-browser/dist/include/mozilla/RefPtr.h:305
#34 MessageLoop::RunHandler (this=0x7fffe5ee1040) at
./ipc/chromium/src/base/message_loop.cc:308
#35 MessageLoop::Run (this=this@entry=0x7fffe5ee1040) at
./ipc/chromium/src/base/message_loop.cc:290
#36 0x00007fffed9d0ad1 in nsThread::ThreadFunc (aArg=<optimized out>)
at ./xpcom/threads/nsThread.cpp:458
#37 0x00007ffff7a56e08 in _pt_root (arg=0x7fffe75904c0) at ptthread.c:201
#38 0x00007ffff7f9dfb7 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#39 0x00007ffff7cd62cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Regards,
Laszlo/GCS
[1] https://hg.mozilla.org/try/rev/8d7104bac33729b4da67954b07fb08371df39bd8

Reply via email to