Closed
Bug 439113
Opened 17 years ago
Closed 16 years ago
Browser crashes randomly (stacktrace included) [@ allocatePage] [@ sqlite3BtreeInsert]
Categories
(Core :: SQLite and Embedded Database Bindings, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: jeremie, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.14) Gecko/20080612 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.14) Gecko/20080612 Firefox/2.0.0.14
My browser used to crash randomly. If I leave it opened when going to bed, I'm pretty sure it will have crashed on the morning. Likewise, it sometimes crashes during a browsing session, or when it's in the background.
Here is a sample debugging session using gdb(1). Please, feel free to contact me for more informations.
(gdb) bt
#0 0x2e4f0717 in thr_kill () from /lib/libc.so.7
#1 0x294a1f46 in pthread_kill () from /lib/libthr.so.3
#2 0x2949f953 in raise () from /lib/libthr.so.3
#3 0x08066561 in nsProfileLock::FatalSignalHandler (signo=11)
at nsProfileLock.cpp:206
#4 <signal handler called>
#5 allocatePage (pBt=0xae24800, ppPage=0xbecf1928, pPgno=0xbecf1924,
nearby=191, exact=0 '\0') at btree.c:3673
#6 0x337742c6 in balance (pPage=0xd176438, insert=Variable "insert" is not available.
) at btree.c:5152
#7 0x33774be7 in sqlite3BtreeInsert (pCur=0xbb77510, pKey=0xbb88b50, nKey=77,
pData=0x337b3b2c, nData=0) at btree.c:5323
#8 0x337a447d in sqlite3VdbeExec (p=0xa152800) at vdbe.c:3677
#9 0x337a61aa in sqlite3_step (pStmt=0xa152800) at vdbeapi.c:223
#10 0x3376650f in mozStorageStatement::ExecuteStep (this=0xadbd3c0,
_retval=0xbecf1ccc) at mozStorageStatement.cpp:410
#11 0x33765d36 in mozStorageStatement::Execute (this=0xadbd3c0)
at mozStorageStatement.cpp:385
#12 0x3550e5b7 in nsUrlClassifierDBServiceWorker::ProcessUpdateTable (
this=0xaea3910, aLine=@0xbecf1e5c, aTableName=@0xbecf1d90,
aUpdateStatement=0xadbd3c0, aDeleteStatement=0xade2b80)
at nsUrlClassifierDBService.cpp:657
#13 0x3551114d in nsUrlClassifierDBServiceWorker::Update (this=0xaea3910,
chunk=@0xa2a0230) at nsUrlClassifierDBService.cpp:497
#14 0x347cb5d2 in XPTC_InvokeByIndex (that=0xaea3910, methodIndex=6,
paramCount=1, params=0xa233ff0) at xptcinvoke_unixish_x86.cpp:179
#15 0x347a85c7 in EventHandler (self=0xc838820) at nsProxyEvent.cpp:561
#16 0x3479cacb in PL_HandleEvent (self=0xc838820) at plevent.c:688
#17 0x3479f99b in nsEventQueueImpl::HandleEvent (this=0xaea39d0,
aEvent=0xc838820) at nsEventQueue.cpp:515
#18 0x3550fccb in EventLoop (arg=0x0) at nsUrlClassifierDBService.cpp:1175
#19 0x2bb00c2a in _pt_root () from /usr/local/lib/libplds4.so.1
#20 0x2949cfb0 in pthread_getprio () from /lib/libthr.so.3
#21 0x00000000 in ?? ()
"backtrace full" suprisingly shows nothing.
$3 = {pPager = 0x1d81044d, pCursor = 0x67677501, pPage1 = 0x2f2f3a63,
inStmt = 49 '1', readOnly = 50 '2', maxEmbedFrac = 53 '5',
minEmbedFrac = 46 '.', minLeafFrac = 54 '6', pageSizeFixed = 54 '6',
autoVacuum = 46 '.', pageSize = 13876, usableSize = 12846,
maxLocal = 1982806324, minLocal = 1717658224, maxLeaf = 1717972527,
minLeaf = 909455993, pBusyHandler = 0x7961622f, inTransaction = 118 'v',
nRef = 1634217582, nTransaction = 1919250550, pSchema = 0x6f677671,
xFreeSchema = 0x6e70616e, pLock = 0x2f67762e, pNext = 0x76746279}
(gdb) print *pBt->pPage1
Cannot access memory at address 0x2f2f3a63
Reproducible: Always
Steps to Reproduce:
Let my browser run :-).
Actual Results:
Browser crashes.
Updated•17 years ago
|
Component: General → Storage
Product: Firefox → Toolkit
QA Contact: general → storage
Summary: Browser crashes randomly (stacktrace included) → Browser crashes randomly (stacktrace included) [@ allocatePage] [@ sqlite3BtreeInsert]
um, last i checked sqlite wasn't part of ff2, what version of firefox are you actually running. please include output from about:buildconfig
Comment 2•17 years ago
|
||
timeless, sqlite was definitely included in Fx2.
Reporter | ||
Comment 3•17 years ago
|
||
Ok, let aside the comment about sqlite not being in Firefox 2, here is my build configuration nonetheless:
Build platform
target
i386-unknown-freebsd8.0
Build tools
Compiler Version Compiler flags
cc gcc version 4.2.1 20070719 [FreeBSD] -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O2 -pipe -march=pentium-m -O2 -fno-strict-aliasing -O2 -pipe
c++ gcc version 4.2.1 20070719 [FreeBSD] -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -pipe -march=pentium-m -O2 -fno-strict-aliasing -O2 -fshort-wchar -pipe -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -I/usr/local/include
Configure arguments
--prefix=/usr/obj/usr/ports/www/firefox/work/fake --program-transform-name=s/firefox/firefox/ --with-default-mozilla-five-home=/usr/local/lib/firefox --enable-application=browser --enable-system-cairo --enable-official-branding --enable-canvas --with-system-nss --enable-svg --enable-svg-renderer=cairo --enable-crypto --disable-tests --enable-default-toolkit=gtk2 --enable-xft --with-pthreads --x-includes=/usr/local/include --x-libraries=/usr/local/lib --enable-extensions=default --enable-image-decoders=default --enable-necko-protocols=default --with-system-jpeg=/usr/local --with-system-zlib=/usr --with-system-png=/usr/local --with-gssapi=/usr --with-system-nspr --disable-auto-deps --enable-chrome-format=jar --disable-cpp-exceptions --disable-cpp-rtti --disable-glibtest --disable-gtktest --disable-freetypetest --enable-double-buffer --enable-mathml --disable-installer --disable-md --disable-pedantic --disable-bidi --disable-xterm-updates --enable-xinerama --enable-debug --disable-strip --enable-logging
Comment 4•16 years ago
|
||
Without steps to reproduce, this is INCOMPLETE
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Updated•6 months ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•