Re: Floating point exception in initdb

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Floating point exception in initdb
Дата
Msg-id 23307.1269906322@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Floating point exception in initdb  ("Vikram Patil" <vpatil@actuate.com>)
Ответы Re: Floating point exception in initdb  ("Vikram Patil" <vpatil@actuate.com>)
Список pgsql-general
"Vikram Patil" <vpatil@actuate.com> writes:
>     I am getting an floating exception while running initdb from custom
> built postgresql . I am using suse linux for installing postgresql.

> initDB.sh: line 14: 20285 Floating point exception$pgsql_home/bin/initdb
> -A password -U postgres --pwfile="pwFile" -E UTF8 -D postgresql/data
> /log/initDB.log

Hm, dunno what's causing that ...

> Work around gcc bug that causes "floating-point exception" instead of
> "division by zero" on some platforms (Tom)

... but I'm quite sure that patch won't fix it for you, because it was
in code that wouldn't get executed during initdb.

What compiler are you using, for what hardware?  Did you use any
nondefault configure or compiler switches?  Have you modified the
Postgres sources at all?  Which step of initdb gets the failure?
Try running that step under gdb so you can get a stack trace pointing
at the failure location.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: "Vikram Patil"
Дата:
Сообщение: Floating point exception in initdb
Следующее
От: "Vikram Patil"
Дата:
Сообщение: Re: Floating point exception in initdb