Dear SQLite folks,
Am Sonntag, den 02.12.2012, 22:49 +0100 schrieb Paul Menzel: > using Debian Sid/unstable with self-built Evolution 3.4.4 and > libsqlite3-0 3.7.14.1-1, Evolution crashed with a segmentation fault. > > pool[15522]: segfault at 5 ip b69bafe3 sp 8acf0850 error 6 in > libsqlite3.so.0.8.6[b69a4000+ac000] > > The backtrace from the core dump file is the following. > > Thread 1 (Thread 0x8acf1b70 (LWP 15522)): > #0 0xb69bafe3 in pcache1Fetch (p=0xb8effb00, iKey=35985, > createFlag=2) at sqlite3.c:36093 > h = 1169 > nPinned = <optimized out> > pCache = 0xb8effb00 > pGroup = 0xb8effb30 > pPage = 0xbf8ab0e8 > #1 0xb69b4a25 in sqlite3PcacheFetch (pCache=0xb8eeeb60, > pgno=pgno@entry=35985, createFlag=createFlag@entry=1, ppPage=ppPage@entry= > 0x8acf092c) at sqlite3.c:34905 > pPage = 0x0 > pPgHdr = 0x0 > eCreate = 2 > #2 0xb69e6980 in sqlite3PagerAcquire (pPager=0xb8eeeaa0, > pgno=pgno@entry=35985, ppPage=ppPage@entry=0x8acf092c, > noContent=noContent@entry=0) at sqlite3.c:41989 > rc = <optimized out> > pPg = <optimized out> > #3 0xb69e6b3a in btreeGetPage (pBt=0xb8edef00, pgno=35985, > ppPage=ppPage@entry=0x8acf097c, noContent=noContent@entry=0) at > sqlite3.c:49488 > rc = <optimized out> > pDbPage = 0x140 > #4 0xb69f37f4 in getAndInitPage (pBt=<optimized out>, > pgno=<optimized out>, ppPage=0x8acf097c) at sqlite3.c:49541 > rc = <optimized out> > #5 0xb69f3866 in moveToChild (pCur=0x92140d50, newPgno=<optimized > out>) at sqlite3.c:52106 > rc = <optimized out> > i = 1 > pNewPage = <optimized out> > pBt = <optimized out> > #6 0xb69f39ad in moveToLeftmost (pCur=0x92140d50) at sqlite3.c:52284 > rc = <optimized out> > pPage = <optimized out> > #7 0xb6a2dc8d in sqlite3VdbeExec (p=p@entry=0x921512b0) at > sqlite3.c:68025 > pc = <optimized out> > aOp = 0x92361a08 > pOp = 0x92361b98 > rc = <optimized out> > db = <optimized out> > resetSchemaOnFault = <optimized out> > encoding = 1 '\001' > checkProgress = 0 > nProgressOps = 0 > aMem = 0x9235b050 > pIn1 = <optimized out> > pIn2 = <optimized out> > pIn3 = <optimized out> > pOut = 0x0 > iCompare = <optimized out> > aPermute = <optimized out> > lastRowid = <optimized out> > u = {aa = {pcDest = -1844179936}, ab = {cnt = -1844179936}, > ac = {pVar = 0x92140c20}, ad = {zMalloc = 0x92140c20 "P\r\024\222", > n = 0, p1 = -1966142271, p2 = 10}, ae = {pMem = > 0x92140c20, i = 0}, af = {nByte = 2450787360}, ag = {flags = -1844179936, > iA = -8444516753228169216, iB = 107374182410, rA = > -1.8091740329328587e-113, rB = -1.3866037848944667e-221}, ah = { > i = -1844179936, pArg = 0x0, ctx = {pFunc = 0x8acf0cc1, > pVdbeFunc = 0xa, s = {db = 0x19, z = 0x92140c20 "P\r\024\222", > r = -1.3868233835305826e-221, u = {i = > -7920691651615126400, nZero = -1844179840, pDef = 0x92140c80, pRowSet = > 0x92140c80, > pFrame = 0x92140c80}, n = 26, flags = 31, type = 0 > '\000', enc = 0 '\000', xDel = 0xb69b7f84 <sqlite3_free+20>, > zMalloc = 0x0}, pMem = 0x1, pColl = 0x1, isError = > -1230693060, skipFlag = 10}, apVal = 0xb6a51d3c, n = -1230809131}, > ai = {iA = 2450787360, uA = 45278497985, iB = > -7920692513059373031, op = 206 '\316'}, aj = {res = -1844179936, > affinity = 0 '\000', flags1 = 0, flags3 = 3265}, ak = {n > = -1844179936, i = 0, p1 = -1966142271, p2 = 10, pKeyInfo = 0x19, > idx = -1844179936, pColl = 0xa88646ce, bRev = > -1844179632}, al = {v1 = -1844179936, v2 = 0}, am = {c = -1844179936}, an = { > payloadSize = 2450787360, payloadSize64 = > -8444516753228169216, p1 = 10, p2 = 25, pC = 0x92140c20, zRec = > 0xa88646ce > "\037\031\002\001\001\001\001\001\001\001\001\002\004\004\201!A3", pCrsr = > 0x92140d50, aType = 0x92140c80, aOffset = > 0x92140ce8, nField = 26, len = 31, i = -1231323260, zData = 0x0, > pDest = 0x1, sMem = {db = 0x1, z = 0xb6a51d3c ",\334\n", > r = -1.8492057199714905e-45, u = {i = > -5288166510061987883, nZero = -1230809131, pDef = 0xb6a357d5, pRowSet = > 0xb6a357d5, > pFrame = 0xb6a357d5}, n = 0, flags = 0, type = 0 > '\000', enc = 0 '\000', xDel = 0xa, zMalloc = 0x0}, zIdx = > 0xa88646eb "!!297611\001\020", zEndHdr = 0xa88646ed > "297611\001\020", offset = 1302605444, szField = 0, szHdr = -1228328569, > avail = 378, t = 3066643705, pReg = 0xb6cf37a3}, ao = > {zAffinity = 0x92140c20 "P\r\024\222", cAff = 0 '\000'}, ap = { > zNewRecord = 0x92140c20 "P\r\024\222", pRec = 0x0, nData > = 45278497985, nHdr = 25, nByte = -6303272775430435808, > nZero = -1844179632, nVarint = -1844179840, serial_type = > 2450787560, pData0 = 0x1a, pLast = 0x1f, nField = -1231323260, > zAffinity = 0x0, file_format = 1, i = 1, len = > -1230693060}, aq = {nEntry = 2450787360, pCrsr = 0x8acf0cc1}, ar = { > p1 = -1844179936, zName = 0x0, nName = -1966142271, pNew > = 0xa, pSavepoint = 0x19, pTmp = 0x92140c20, > iSavepoint = -1467595058, ii = -1844179632}, as = > {desiredAutoCommit = -1844179936, iRollback = 0, turnOnAC = -1966142271}, > at = {pBt = 0x92140c20}, au = {iMeta = -1844179936, iDb = > 0, iCookie = -1966142271}, av = {pDb = 0x92140c20}, aw = { > iMeta = -1844179936, iGen = 0, pBt = 0x8acf0cc1}, ax = > {nField = -1844179936, pKeyInfo = 0x0, p2 = -1966142271, iDb = 10, > wrFlag = 25, pX = 0x92140c20, pCur = 0xa88646ce, pDb = > 0x92140d50}, ay = {pCx = 0x92140c20}, az = {pCx = 0x92140c20}, ba = { > pCx = 0x92140c20}, bb = {res = -1844179936, oc = 0, pC = > 0x8acf0cc1, r = {pKeyInfo = 0xa, nField = 25, flags = 0 '\000', > rowid = -6303272775430435808, aMem = 0x92140d50}, > nField = -1844179840, iKey = 114119937256}, bc = {pC = 0x92140c20}, bd = { > alreadyExists = -1844179936, pC = 0x0, res = -1966142271, > pFree = 0xa <Address 0xa out of bounds>, pIdxKey = 0x19, r = { > pKeyInfo = 0x92140c20, nField = 18126, flags = 134 > '\206', rowid = -7920692098291724976, aMem = 0x92140ce8}, > aTempRec = > "\032\000\000\000\037\000\000\000\204\177\233\266\000\000\000\000\001\000\000\000\001\000\000\000<\035\245\266\n\000\000\000<\035\245\266\325W\243\266\223\250\234\266\000\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000\353F\206\250\355F\206\250\204.\244M\000\000\000\000\207\061ɶz\001\000\000\371Dɶ\243\067϶ > > \000\000\000\060\000\000\000\242<\000\000<\035\245\266P\354\355\270tiՓ\260\022\025\222\233h\233\266h\177\356\270\000\000\000\000\313\fϊ\000\000\000\000\004\rϊ > {\243\266<\035\245"}, be = {ii = 3104, pCx = 0x0, > pCrsr = 0x8acf0cc1, nField = 10, aMx = 0x19, r = > {pKeyInfo = 0x92140c20, nField = 18126, flags = 134 '\206', > rowid = -7920692098291724976, aMem = 0x92140ce8}, R = > 133143986202}, bf = {pC = 0x92140c20, pCrsr = 0x0, res = -1966142271, > iKey = 107374182410}, bg = {v = 2450787360, pC = > 0x8acf0cc1, res = 10, cnt = 25, pMem = 0x92140c20, pFrame = 0xa88646ce}, > bh = {pData = 0x92140c20, pKey = 0x0, iKey = 45278497985, > pC = 0x19, nZero = -1844179936, seekResult = -1467595058, zDb = > 0x92140d50 "\300\356", <incomplete sequence \355\270>, zTbl = > 0x92140c80 "\031", op = -1844179736}, bi = {iKey = 2450787360, pC = > 0x8acf0cc1}, bj = {pC = 0x92140c20, res = 0}, bk = {pC = > 0x92140c20}, bl = {pC = 0x92140c20, pCrsr = 0x0, n = 2328825025, > n64 = 107374182410}, bm = {pC = 0x92140c20, v = > -8444516753228169216, pVtab = 0xa, pModule = 0x19}, bn = {pC = 0x92140c20}, > bo = {pC = 0x92140c20, pCrsr = 0x0, res = -1966142271}, bp > = {pC = 0x92140c20, pCrsr = 0x0, res = -1966142271}, bq = {pC = > 0x92140c20, res = 0}, br = {pC = 0x92140c20, pCrsr = 0x0, nKey = > -1966142271, zKey = 0xa <Address 0xa out of bounds>}, bs = {pC = > 0x92140c20, pCrsr = 0x0, res = -1966142271, r = {pKeyInfo = 0xa, > nField = 25, flags = 0 '\000', rowid = -6303272775430435808, aMem = > 0x92140d50}}, bt = {pCrsr = 0x92140c20, pC = 0x0, rowid = > 45278497985}, bu = {pC = 0x92140c20, res = 0, r = {pKeyInfo = 0x8acf0cc1, > nField = 10, flags = 0 '\000', rowid = > -7920692513059373031, aMem = 0xa88646ce}}, bv = {iMoved = -1844179936, iCnt = > 0, > pVdbe = 0x8acf0cc1, iDb = 10}, bw = {nChange = > -1844179936}, bx = {pgno = -1844179936, flags = 0, pDb = 0x8acf0cc1}, by = { > iDb = -1844179936, zMaster = 0x0, zSql = 0x8acf0cc1 "", > initData = {db = 0xa, pzErrMsg = 0x19, iDb = -1844179936, > rc = -1467595058}}, bz = {nRoot = -1844179936, aRoot = > 0x0, j = -1966142271, nErr = 10, z = > 0x19 <Address 0x19 out of bounds>, pnErr = 0x92140c20}, ca = {val > = 2450787360}, cb = {iSet = -1844179936, exists = 0}, cc = { > nMem = -1844179936, nByte = 0, pRt = 0x8acf0cc1, pMem = > 0xa, pEnd = 0x19, pFrame = 0x92140c20, pProgram = 0xa88646ce, t = > 0x92140d50}, cd = {pFrame = 0x92140c20, pIn = 0x0}, ce = {pIn1 = > 0x92140c20, pFrame = 0x0}, cf = {n = -1844179936, i = 0, pMem = > 0x8acf0cc1, pRec = 0xa, ctx = {pFunc = 0x19, pVdbeFunc = > 0x92140c20, s = {db = 0xa88646ce, z = > 0x92140d50 "\300\356", <incomplete sequence \355\270>, r = > -1.3867135379471143e-221, u = {i = 133143986202, nZero = 26, pDef = 0x1a, > pRowSet = 0x1a, pFrame = 0x1a}, n = -1231323260, > flags = 0, type = 0 '\000', enc = 0 '\000', xDel = 0x1, zMalloc = > 0x1 <Address 0x1 out of bounds>}, pMem = 0xb6a51d3c, pColl = 0xa, > isError = -1230693060, skipFlag = -1230809131}, apVal = 0xb69ca893}, > cg = {pMem = 0x92140c20}, ch = {i = -1844179936, aRes = {0, > -1966142271, 10}, pMem = 0x19}, ci = {pBt = 0x92140c20, pPager = > 0x0, eNew = -1966142271, eOld = 10, zFilename = 0x19 <Address > 0x19 out of bounds>}, cj = {pBt = 0x92140c20}, ck = {pVTab = > 0x92140c20}, cl = {pCur = 0x92140c20, pVtabCursor = 0x0, pVtab = > 0x8acf0cc1, pModule = 0xa}, cm = {nArg = -1844179936, iQuery = 0, > pModule = 0x8acf0cc1, pQuery = 0xa, pArgc = 0x19, > pVtabCursor = 0x92140c20, pVtab = 0xa88646ce, pCur = 0x92140d50, > res = -1844179840, i = -1844179736, apArg = 0x1a}, cn = > {pVtab = 0x92140c20, pModule = 0x0, pDest = 0x8acf0cc1, sContext = { > pFunc = 0xa, pVdbeFunc = 0x19, s = {db = 0x92140c20, z > = > 0xa88646ce > "\037\031\002\001\001\001\001\001\001\001\001\002\004\004\201!A3", r = > -1.3866037848944667e-221, u = {i = 114119937256, > nZero = -1844179736, pDef = 0x92140ce8, pRowSet = > 0x92140ce8, pFrame = 0x92140ce8}, n = 31, flags = 32644, > type = 155 '\233', enc = 182 '\266', xDel = 0, > zMalloc = 0x1 <Address 0x1 out of bounds>}, pMem = 0x1, pColl = 0xb6a51d3c, > isError = 10, skipFlag = -1230693060}}, co = {pVtab = > 0x92140c20, pModule = 0x0, res = -1966142271, pCur = 0xa}, cp = { > pVtab = 0x92140c20, pName = 0x0}, cq = {pVtab = > 0x92140c20, pModule = 0x0, nArg = -1966142271, i = 10, > rowid = -7920692513059373031, apArg = 0xa88646ce, pX = > 0x92140d50}, cr = {zTrace = 0x92140c20 "P\r\024\222", z = 0x0}} > #8 0xb6a0cbfe in sqlite3Step (p=0x921512b0) at sqlite3.c:61771 > db = 0xb8edec50 > rc = <optimized out> > #9 sqlite3_step (pStmt=0x921512b0) at sqlite3.c:61844 > rc2 = 0 > db = 0xb8edec50 > rc = <optimized out> > #10 sqlite3_step (pStmt=0x921512b0) at sqlite3.c:61832 > v = 0x921512b0 > #11 0xb6a1305f in sqlite3_exec (db=db@entry=0xb8edec50, > zSql=zSql@entry= > 0x92e3cc70 "SELECT uid, flags, size, dsent, dreceived, subject, > mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM > 'INBOX' ", xCallback=0xb76273c0 <camel_read_mir_callback>, pArg=0x8acf0f34, > pzErrMsg=0x8acf0e6c) at sqlite3.c:89884 > i = <optimized out> > nCol = 15 > azVals = 0x93d56974 > rc = 100 > zLeftover = 0x92e3ccfa "" > pStmt = 0x921512b0 > azCols = 0x93d56938 > nRetry = 0 > callbackIsInit = 1 > #12 0xb760beb0 in cdb_sql_exec (db=0xb8edec50, stmt=stmt@entry= > 0x92e3cc70 "SELECT uid, flags, size, dsent, dreceived, subject, > mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM > 'INBOX' ", callback=callback@entry=0xb76273c0 <camel_read_mir_callback>, > data=data@entry=0x8acf0f34, error=error@entry=0x0) > at camel-db.c:414 > errmsg = 0x0 > ret = <optimized out> > #13 0xb760e6e8 in camel_db_select (cdb=cdb@entry=0xb8e70b68, > stmt=stmt@entry= > 0x92e3cc70 "SELECT uid, flags, size, dsent, dreceived, subject, > mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM > 'INBOX' ", callback=callback@entry=0xb76273c0 <camel_read_mir_callback>, > data=data@entry=0x8acf0f34, error=error@entry=0x0) > at camel-db.c:988 > ret = -1 > __PRETTY_FUNCTION__ = "camel_db_select" > #14 0xb760f81a in camel_db_read_message_info_records (cdb=0xb8e70b68, > folder_name=folder_name@entry=0xbb7ba228 "INBOX", > p=p@entry=0x8acf0f34, > read_mir_callback=read_mir_callback@entry=0xb76273c0 > <camel_read_mir_callback>, error=error@entry=0x0) > at camel-db.c:1958 > query = > 0x92e3cc70 "SELECT uid, flags, size, dsent, dreceived, subject, > mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM > 'INBOX' " > ret = <optimized out> > #15 0xb762493a in cfs_reload_from_db (summary=0xbf3965c0, > error=<optimized out>) at camel-folder-summary.c:2187 > cdb = <optimized out> > parent_store = 0xb8314bc0 > ret = 0 > data = {columns_hash = 0xa6ad2880, summary = 0xbf3965c0, add > = 0} > session = 0xb8326890 > folder_name = 0xbb7ba228 "INBOX" > #16 camel_folder_summary_prepare_fetch_all (summary=0xbf3965c0, > error=0x0, error@entry=0x32e0) at camel-folder-summary.c:2246 > loaded = <optimized out> > known = <optimized out> > __PRETTY_FUNCTION__ = "camel_folder_summary_prepare_fetch_all" > #17 0xa9b63670 in imap_rescan (folder=folder@entry=0xbf3976c8, > exists=13024, cancellable=cancellable@entry=0x9a7fd4c0, error=error@entry= > 0x8acf1054) at camel-imap-folder.c:1219 > parent_store = <optimized out> > imap_folder = 0xbf3976c8 > store = 0xb8314bc0 > new = 0xa9fa3b00 > resp = 0x9495f9a8 "" > uid = <optimized out> > type = CAMEL_IMAP_RESPONSE_TAGGED > i = <optimized out> > j = <optimized out> > seq = 13024 > summary_got = 13024 > del = 0 > summary_len = 13024 > info = <optimized out> > iinfo = <optimized out> > removed = 0x9fad4a80 > ok = <optimized out> > changes = 0x0 > success = <optimized out> > known_uids = 0x9e315d90 > __PRETTY_FUNCTION__ = "imap_rescan" > #18 0xa9b64858 in imap_refresh_info_sync (folder=0xbf3976c8, > cancellable=0x9a7fd4c0, error=0x8acf110c) at camel-imap-folder.c:983 > parent_store = 0xb8314bc0 > imap_store = 0xb8314bc0 > imap_folder = 0x32e0 > response = <optimized out> > si = <optimized out> > full_name = 0x1 <Address 0x1 out of bounds> > check_rescan = 1 > local_error = 0x0 > #19 0xb762ff73 in camel_folder_refresh_info_sync > (folder=folder@entry=0xbf3976c8, cancellable=cancellable@entry=0x9a7fd4c0, > error=error@entry=0x8acf110c) at camel-folder.c:3927 > class = 0xbf705708 > success = <optimized out> > __PRETTY_FUNCTION__ = "camel_folder_refresh_info_sync" > #20 0xb17197a4 in refresh_folders_exec (m=0x9ab2d428, > cancellable=0x9a7fd4c0, error=0x9ab2d43c) at mail-send-recv.c:1056 > folder = 0xbf3976c8 > i = <optimized out> > local_error = 0x0 > handler_id = 139027 > #21 0xb7778ecd in mail_msg_proxy (msg=0x9ab2d428) at mail-mt.c:423 > cancellable = 0x9a7fd4c0 > #22 0xb6d12888 in g_thread_pool_thread_proxy (data=0xa6a9dd48) > at > /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gthreadpool.c:309 > task = 0x9ab2d428 > pool = 0xa6a9dd48 > #23 0xb6d11eb3 in g_thread_proxy (data=0x9a1fc0c0) > at > /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gthread.c:801 > thread = 0x9a1fc0c0 > #24 0xb6c90c39 in start_thread (arg=0x8acf1b70) at > pthread_create.c:304 > __res = <optimized out> > __ignore1 = <optimized out> > __ignore2 = <optimized out> > pd = 0x8acf1b70 > now = <optimized out> > unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1228271628, 0, > 4001536, -1966140728, 2098041204, 1899381516}, mask_was_saved = 0}}, > priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, > cleanup = 0x0, canceltype = 0}}} > not_first_call = <optimized out> > freesize = <optimized out> > __PRETTY_FUNCTION__ = "start_thread" > #25 0xb6bfd78e in clone () at > ../sysdeps/unix/sysv/linux/i386/clone.S:130 > No locals. > > Can you spot anything suspicious why it crashed and can a check be built > into the library to exit gracefully? Could this please be added to the bug tracker? Unfortunately this backtrace is all I have got. Thanks, Paul
signature.asc
Description: This is a digitally signed message part
_______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users