[Bug 341202] Re: Firefox crashes on sqlite3 memcpy segfault

Michał Wróbel xmxwx at o2.pl
Sun Sep 6 13:35:47 UTC 2009


I have encountered this bug on Ubuntu 9.04: firefox-3.0.13+nobinonly-
0ubuntu0.9.04.1, sqlite-3.6.10-1ubuntu0.2.

with libsqlite-dbg package installed, backtrace of the coredump gives
the following:

(gdb) bt
#0  0xb7fb5430 in __kernel_vsyscall ()
#1  0xb7f984b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb71b4145 in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#3  <signal handler called>
#4  0xb7d788aa in memcpy () from /lib/tls/i686/cmov/libc.so.6
#5  0xb6fd3cbd in fillInCell (pPage=<value optimized out>, pCell=0xa7cbf88 "", pKey=0x0, nKey=611190, pData=0x0, nData=0, 
    nZero=0, pnSize=0xb23f65d0) at /usr/include/bits/string3.h:52
#6  0xb6fd5e0e in balance_nonroot (pCur=0x9c19294) at sqlite3.c:41705
#7  0xb6fd4640 in balance (pCur=0x9c19294, isInsert=244) at sqlite3.c:42013
#8  0xb6fdd26a in sqlite3BtreeInsert (pCur=0x9c19294, pKey=0xa37ad80, nKey=10, pData=0xb7014e74, nData=0, nZero=0, 
    appendBias=0) at sqlite3.c:42177
#9  0xb6fe9c19 in sqlite3VdbeExec (p=0x9dd41a8) at sqlite3.c:52819
#10 0xb6ff03b0 in sqlite3_step (pStmt=0x9dd41a8) at sqlite3.c:47849
#11 0xb7857610 in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#12 0xb7856f19 in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#13 0xb775916c in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#14 0xb776057d in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#15 0xb7761a2e in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#16 0xb7761b4e in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#17 0xb7974af1 in NS_InvokeByIndex_P () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#18 0xb796ce6d in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#19 0xb7968c50 in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#20 0xb79394dc in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#21 0xb79693b7 in ?? () from /usr/lib/xulrunner-1.9.0.13/libxul.so
#22 0xb7c4b151 in ?? () from /usr/lib/libnspr4.so
#23 0xb7f904ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0xb7de349e in clone () from /lib/tls/i686/cmov/libc.so.6

Every time firefox crashed, the backtrace was identical. Reinstalling
firefox, xulrunner and sqlite, rebuilding sqlite from sources (dpkg-
buildpackage) didn't help.

Since having downloaded, built and installed the newest sqlite release
(3.6.17), the bug does not happen anymore.

I recommend to upgrade the official Ubuntu packages, because it seems
that sqlite team fixed a lot of strange bugs, especially related to
operation with corrupted databases.

-- 
Firefox crashes on sqlite3 memcpy segfault
https://bugs.launchpad.net/bugs/341202
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list