Bug #532: backend crashes due to segmentation fault

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #532: backend crashes due to segmentation fault
Дата
Msg-id 200112081642.fB8Gglc21526@postgresql.org
обсуждение исходный текст
Ответы Re: Bug #532: backend crashes due to segmentation fault  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Bug #532: backend crashes due to segmentation fault  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
yaniv hamo (hamo@cs.technion.ac.il) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
backend crashes due to segmentation fault

Long Description

  After 3 hours of trying to figure out why my backend cannot stand
on its feet for more than 20 seconds, I had to go into the code,
there i saw, in line 183 of database.c the following line:

        for (i = 0; i <= max; i++)

Running from 0 to max INCLUSIVE, caused the segmentation fault.
I fixed it to    for (i = 0; i < max; i++)
and it works.
i have PostgreSQL v 7.0.2 , maybe you fixed it in later versions.
Have a nice day,
Yaniv


Sample Code


No file was uploaded with this report

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #531: libpq: Operations following PQfinish() work.
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #533: BLOB (lo type) objects could not be restored