As far as I understand, this fix will take the problem away only because SumCtx is bigger now. But the problem with sqlite3_aggregate_context will remain: the pointer returned will not be aligned properly if the size of the context is less or equal 32 bytes. Am I correct?
On 3/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > "Alexei Alexandrov" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I don't know whether it's been already reported or not, so anyway. > > There are places in SQLite where unaligned access exception is > > generated on Itanium. The unaligned access means that someone tries to > > read or write memory crossing 8-bytes boundary. Usually this occur as > > a result of pointers casting. > > > > I investigated it a little bit and found that the reason is this line > > in func.c file: > > > > p->sum += sqlite3_value_int64(argv[0]); > > > > This was fixed by check-in [3084] which occurred a few > hours after 3.3.4 was released (2006-Feb-11). > http://www.sqlite.org/cvstrac/chngview?cn=3084 > -- > D. Richard Hipp <[EMAIL PROTECTED]> > > -- Alexei Alexandrov