You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vendor/sqlite3/sqlite3.c:111455:20: runtime error: index 2 out of bounds for type 'ExprList_item [1]'
#0 0x7f88b04dd803 in sqlite3ExprListAppend vendor/sqlite3/sqlite3.c:111455
We have been here before: it is found by -fsanitize=strict-bounds in GCC.
This comes from
structExprList {
intnExpr; /* Number of expressions on the list */intnAlloc; /* Number of a[] slots allocated */structExprList_item { /* For each expression in the list */Expr*pExpr; /* The parse tree for this expression */char*zEName; /* Token associated with this expression */struct {
u8sortFlags; /* Mask of KEYINFO_ORDER_* flags */unsignedeEName :2; /* Meaning of zEName */unsigneddone :1; /* Indicates when processing is finished */unsignedreusable :1; /* Constant expression is reusable */unsignedbSorterRef :1; /* Defer evaluation until after sorting */unsignedbNulls :1; /* True if explicit "NULLS FIRST/LAST" */unsignedbUsed :1; /* This column used in a SF_NestedFrom subquery */unsignedbUsingTerm:1; /* Term from the USING clause of a NestedFrom */unsignedbNoExpand: 1; /* Term is an auxiliary in NestedFrom and should ** not be expanded by "*" in parent queries */
} fg;
union {
struct { /* Used by any ExprList other than Parse.pConsExpr */u16iOrderByCol; /* For ORDER BY, column number in result set */u16iAlias; /* Index into Parse.aAlias[] for zName */
} x;
intiConstExprReg; /* Register in which Expr value is cached. Used only ** by Parse.pConstExpr */
} u;
} a[1]; /* One slot for each expression in the list */
};
That is pre-C99 code, and should be a[].
similarly,
u32 aType[1]; /* Type values record decode. MUST BE LAST */
CollSeq *aColl[1]; /* Collating sequence for each term of the key */
should be []
Temporarily we have installed RSQLite without using strict-bounds.
From CRAN:
We are seeing UBSAN errors in CRAN packages
CAESAR.Suite Cyclops GRIN2 LowWAFOMNX MOCHA Mega2R PAMmisc PANACEA
RecordLinkage SSN2 WGCNA bigsnpr dexter dexterMST epoxy glue idem
netgsa prqlr qtl2 rliger sf snplist storr stream survey taxonomizr winch
most at
vendor/sqlite3/sqlite3.c:111455:20: runtime error: index 2 out of bounds for type 'ExprList_item [1]'
#0 0x7f88b04dd803 in sqlite3ExprListAppend vendor/sqlite3/sqlite3.c:111455
We have been here before: it is found by
-fsanitize=strict-bounds
in GCC.This comes from
That is pre-C99 code, and should be
a[]
.similarly,
should be
[]
Temporarily we have installed RSQLite without using strict-bounds.
Packages GRIN2 Mega2R ProFAST dexter dexterMST rliger
show another issue
vendor/sqlite3/sqlite3.c:79337:14: runtime error: load of address 0x7f2fb0869240 with insufficient space for an object of type 'struct MemPage *'
at
balance_nonroot vendor/sqlite3/sqlite3.c:79337
Please investigate and if necessary report upstream.
The text was updated successfully, but these errors were encountered: