Is this reproducible?

Can you share with us the schema of the database file that was
connected when this error occurred?

On 10/31/16, mark <no...@null.net> wrote:
> Operating system:  OpenBSD 6.0
> DBD::SQLite:       1.51_06
> sqlite:            3.15.0
>
> Program received signal SIGSEGV, Segmentation fault.
> sqlite3Step (p=0xb1480c37e08) at sqlite3.c:82102
> 82102   pCrsr = pC->uc.pCursor;
>
> (gdb) list
> 82097
> 82098     assert( pOp->p1>=0 && pOp->p1<p->nCursor );
> 82099     pC = p->apCsr[pOp->p1];
> 82100     assert( pC!=0 );
> 82101     assert( pC->eCurType==CURTYPE_BTREE );
> 82102     pCrsr = pC->uc.pCursor;
> 82103     res = 0;
> 82104     assert( pCrsr!=0 );
> 82105     rc = sqlite3BtreeLast(pCrsr, &res);
> 82106     pC->nullRow = (u8)res;
>
> (gdb) backtrace
> #0  sqlite3Step (p=0xb1480c37e08) at sqlite3.c:82102
> #1  0x00000b12443083c2 in sqlite3_step (pStmt=0xb1480c37e08) at
> sqlite3.c:75763
> #2  0x00000b12442a4499 in sqlite_st_execute (sth=0xb1517a8c860,
>     imp_sth=0xb14c73a6c00) at dbdimp.c:1038
> #3  0x00000b1244297733 in XS_DBD__SQLite__st_execute (cv=) at SQLite.xsi:614
> #4  0x00000b124435287e in XS_DBI_dispatch (cv=0xb14fd2eaec8) at DBI.xs:3781
> #5  0x00000b12443e8ab3 in Perl_pp_entersub () at pp_hot.c:2794
> #6  0x00000b12443e1b0d in Perl_runops_standard () at run.c:42
> #7  0x00000b1244384922 in perl_run (my_perl=) at perl.c:2460
> #8  0x00000b1244242a5d in main (argc=5, argv=0x7f7ffffce088) at
> bundle.c:15984
>
> (gdb) print *p
> $1 = {db = 0xb145e66b008, pPrev = 0x0, pNext = 0x0, pParse = 0x7f7ffffcd610,
>   nVar = 1, nzVar = 0, magic = 770837923, nMem = 190, nCursor = 45,
>   cacheCtr = 1, pc = 0, rc = 0, nChange = 0, iStatement = 1, iCurrentTime =
> 0,
>   nFkConstraint = 0, nStmtDefCons = 1, nStmtDefImmCons = 0,
>   aOp = 0xb146d74d008, aMem = 0xb148a5c8070, apArg = 0xb14bcaac698,
>   aColName = 0x0, pResultSet = 0x0, zErrMsg = 0x0, apCsr = 0xb148a5caa00,
>   aVar = 0xb14bcaac698, azVar = 0x0, startTime = 0, nOp = 508, nResColumn =
> 0,
>   errorAction = 2 '\002', minWriteFileFormat = 4 '\004', expired = 0,
>   doingRerun = 0, explain = 0, changeCntOn = 1, runOnlyOnce = 0,
>   usesStmtJournal = 1, readOnly = 0, bIsReader = 1, isPrepareV2 = 1,
>   btreeMask = 1, lockMask = 0, aCounter = {42, 227, 2, 0, 0},
>   zSql = 0xb14b6dc7188 "INSERT INTO\n    func_merge_deltas(\n        merge\n
>    )\nVALUES\n    (\n        ?\n    )\n;", pFree = 0x0, pFrame =
> 0xb148a5c8008,
>   pDelFrame = 0x0, nFrame = 5, expmask = 0, pProgram = 0xb146b8be548,
>   pAuxData = 0x0}
>
> --
> Mark Lawrence
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to