From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org |
Subject: | unitialized data in populate_record_worker |
Date: | 2014-02-11 18:39:31 |
Message-ID: | 20140211183931.GK15246@awork2.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
while testing a patch I ran valgrind over a recent checkout, and it spit
out the following:
==14792== Conditional jump or move depends on uninitialised value(s)
==14792== at 0x7F8A30: populate_record_worker (jsonfuncs.c:1459)
==14792== by 0x7F8451: json_to_record (jsonfuncs.c:1280)
==14792== by 0x632EF2: ExecMakeTableFunctionResult (execQual.c:2164)
==14792== by 0x65387B: FunctionNext (nodeFunctionscan.c:94)
==14792== by 0x63A209: ExecScanFetch (execScan.c:82)
==14792== by 0x63A278: ExecScan (execScan.c:132)
==14792== by 0x653BD0: ExecFunctionScan (nodeFunctionscan.c:266)
==14792== by 0x62F2B6: ExecProcNode (execProcnode.c:426)
==14792== by 0x62D070: ExecutePlan (execMain.c:1474)
==14792== by 0x62B1CE: standard_ExecutorRun (execMain.c:308)
==14792== by 0x62B045: ExecutorRun (execMain.c:256)
==14792== by 0x7850B6: PortalRunSelect (pquery.c:946)
which looks accurate, my_extra->columns doesn't look initialized.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2014-02-11 18:41:46 | Re: [PERFORM] encouraging index-only scans |
Previous Message | Andres Freund | 2014-02-11 18:31:03 | Re: [PERFORM] encouraging index-only scans |