Re: sqlite-3.31.0 segfaults on fuzzcheck on s390x architectures

Richard Hipp <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <CALwJ=Mzgqp5+jBbKiJZRqqtvULqdWsWy945u0-cSz081dbmr=A@mail.gmail.com>
Please retry using this check-in:
https://www.sqlite.org/src/info/b20503aaf5b6595a

On 1/28/20, Brüns, Stefan <[email protected]> wrote:
> On Dienstag, 28. Januar 2020 18:26:05 CET Brüns, Stefan wrote:
>> On Dienstag, 28. Januar 2020 16:16:01 CET Richard Hipp wrote:
>> > On 1/27/20, Ondrej Dubaj <[email protected]> wrote:
>> > > Hi,
>> > >
>> > > I came across a problem during mate test, where fuzzcheck ends with
>> > > segfault.
>> > > The problem appears to be only on [s390x]. Other architectures are
>> > > working fine.
>> >
>> > Fixed by check-in https://www.sqlite.org/src/info/04885763c4cd00cb
>> >
>> > Thanks for the temporary SSH login!
>>
>> We were seeing the problem also on other ppc64BE:
>>
>> ppc64 (big endian):
>> fuzzdata1.db: 0% 10% 20% 30% 40% 50% 60% 70%./fuzzcheck
>> /home/abuild/rpmbuild/ BUILD/sqlite-src-3310100/test/fuzzdata1.db
>> (sqlid=7726,dbid=1): segfault
>>
>> The issue is cured with the fix, but we still see 3 failing tests with
>> fts4/
>> fts5:
>>
>> ! fts5matchinfo-15.1 expected: [X'02000000']
>> ! fts5matchinfo-15.1 got:      [X'00000002']
>> ! fts5matchinfo-15.2 expected: [X'02000000']
>> ! fts5matchinfo-15.2 got:      [X'00000002']
>> ! fts4aa-6.10 expected:
>> [X'0200000000000000000000000E0000000E00000001000000010000000100000001000000'
>> ] ! fts4aa-6.10 got:
>> [X'0000000200000000000000000000000E0000000E00000001000000010000000100000001'
>> ]
>
> Seems to be an endianess problem, all three affected archs are big endian
> (ppc32, ppc64be, s390x):
>
>> ! fts4aa-6.10 expected:
>> [X'02000000 00000000 00000000 0E000000 0E000000 01000000 01000000 01000000
>>
> 01000000'
>> ] ! fts4aa-6.10 got:
>> [X'00000002 00000000 00000000 0000000E 0000000E 00000001 00000001 00000001
>>
> 00000001'
>> ]
>
> This is 3.31.1, btw.
>
> Kind regards, Stefan
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.