Re: Yet another fast GiST build
От | Pavel Borisov |
---|---|
Тема | Re: Yet another fast GiST build |
Дата | |
Msg-id | CALT9ZEHoDE_gteWRuCNpHee26fpr0SRh8nmYuicWUXc4DufqEw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Yet another fast GiST build (Heikki Linnakangas <hlinnaka@iki.fi>) |
Ответы |
Re: Yet another fast GiST build
|
Список | pgsql-hackers |
I've been making tests with memory sanitizer and got one another error in regression test create_index:
CREATE INDEX gpointind ON point_tbl USING gist (f1);
server closed the connection unexpectedly
with logfile:
gistproc.c:1714:28: runtime error: 1e+300 is outside the range of representable values of type 'float'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior gistproc.c:1714:28
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior gistproc.c:1714:28
gistproc.c:
1714 z = point_zorder_internal(p->x, p->y);
Consider this a minor issue but unrelated to the other issues discussed. It is reproduced on the last master commit 0a3c864c32751fd29d021929cf70af421fd27370 after all changes into Gist committed.
cflags="-DUSE_VALGRIND -Og -O0 -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment -fstack-protector"
В списке pgsql-hackers по дате отправления: