Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-08

Valgrind errors in TReader

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Micha Nelissen

Hi,

I've been valgrind'ing an LCL application, and valgrind reports a lot of errors TReader.ReadProperty:

==13664== 182 errors in context 31 of 34:
==13664== Conditional jump or move depends on uninitialised value(s) ==13664== at 0x8099602: SYSUTILS_STRSCAN$PCHAR$CHAR$$PCHAR (strings.inc:485) ==13664== by 0x808C215: CLASSES_TREADER_$__READPROPERTY$TPERSISTENT (reader.inc:991) ==13664== by 0x808BC6E: CLASSES_TREADER_$__READDATA$TCOMPONENT (reader.inc:833) ==13664== by 0x8083A02: CLASSES_TCOMPONENT_$__READSTATE$TREADER (compon.inc:253) ==13664== by 0x808CE7A: CLASSES_TREADER_$__READROOTCOMPONENT$TCOMPONENT$$TCOMPONENT (reader.inc:1203)

In various places in strings.inc, line 485, 488, 490, 495. Something wrong there? , code does not seem to wrong on first look, but maybe I'm not looking good enough; or it's a problem in the assembly, but dissecting assembly takes quite some time :S

Should I make a bug report (my experience with valgrind is only little, so maybe I've done something wrong?) ?

Micha

Reply by email