Обсуждение: Should this scare me?

Поиск
Список
Период
Сортировка

Should this scare me?

От
"Ian Harding"
Дата:
psql in free(): warning: modified (chunk-) pointer.

I am used to psql dumping core from time to time, although since upgrading to 7.3.1 it has not happened.

Then this.  Is it anything to fear?

NetBSD devil.tpchd.org 1.5.2 NetBSD 1.5.2 (planning) #0: Mon Jul 29 12:37:56 PDT 2002
iharding@devil:/usr/src/sys/arch/i386/compile/planningi386 

 PostgreSQL 7.3.1 on i386--netbsdelf, compiled by GCC egcs-1.1.2



Re: Should this scare me?

От
Tom Lane
Дата:
"Ian Harding" <ianh@tpchd.org> writes:
> psql in free(): warning: modified (chunk-) pointer.
> I am used to psql dumping core from time to time, although since upgrading to 7.3.1 it has not happened.
> Then this.  Is it anything to fear?

It sure sounds like free() has detected something clobbering memory it
shouldn't --- at a guess, something overrunning a malloc'd buffer by a
few bytes.  I'd recommend trying to trace the cause if you can.  Is it
readily reproducible?

            regards, tom lane

Re: Should this scare me?

От
"Ian Harding"
Дата:
It just happened for the first time yesterday... I will let you know if a pattern emerges...  How would I trace it?

Ian Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
iharding@tpchd.org
(253) 798-3549

"If any man can convince me and bring home to me that I do not think or act aright, gladly will I change; for I search
aftertruth, by which man never yet was harmed. But he is harmed who abideth on still in his deception and ignorance" 

              -- Marcus Aurelius

>>> Tom Lane <tgl@sss.pgh.pa.us> 02/19/03 07:59PM >>>
"Ian Harding" <ianh@tpchd.org> writes:
> psql in free(): warning: modified (chunk-) pointer.
> I am used to psql dumping core from time to time, although since upgrading to 7.3.1 it has not happened.
> Then this.  Is it anything to fear?

It sure sounds like free() has detected something clobbering memory it
shouldn't --- at a guess, something overrunning a malloc'd buffer by a
few bytes.  I'd recommend trying to trace the cause if you can.  Is it
readily reproducible?

            regards, tom lane