Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
Re: [yast-devel] running valgrind
  • From: Stanislav Visnovsky <visnov@xxxxxxx>
  • Date: Tue, 18 Mar 2008 23:31:27 -0600
  • Message-id: <200803182331.27286.visnov@xxxxxxx>
Dňa Monday 17 March 2008 07:12:03 Stephan Kulow ste napísal:
Hi,

This passed by when I was looking for something else using valgrind.
As I know valgrind has bugs too, I wonder if someone thinks it's
valgrind or yast who is buggy :)

Interesting question. Do you see this for YCPBooleanRep only, or also for
other types?

Stano


Greetings, Stephan

==29918==
==29918== Invalid read of size 1
==29918== at 0x423E147: YCPBooleanRep::value() const (YCPBoolean.cc:39)
==29918== by 0x40F208F: YEUnary::evaluate(bool) (YExpression.cc:1284)
==29918== by 0x41145AC: YSIf::evaluate(bool) (YStatement.cc:1040)
==29918== by 0x41231B6: YBlock::evaluate(bool) (YBlock.cc:604)
==29918== by 0x40F1918: Y2YCPFunction::evaluateCall()
(YExpression.cc:3363) ==29918== by 0x40F3D91: YEFunction::evaluate(bool)
(YExpression.cc:3126) ==29918== by 0x4101819:
YSExpression::evaluate(bool) (YStatement.cc:269) ==29918== by 0x41231B6:
YBlock::evaluate(bool) (YBlock.cc:604)
==29918== by 0x40F1918: Y2YCPFunction::evaluateCall()
(YExpression.cc:3363) ==29918== by 0x40F3D91: YEFunction::evaluate(bool)
(YExpression.cc:3126) ==29918== by 0x4101819:
YSExpression::evaluate(bool) (YStatement.cc:269) ==29918== by 0x41231B6:
YBlock::evaluate(bool) (YBlock.cc:604)
==29918== Address 0x6c742c8 is 0 bytes after a block of size 8 alloc'd
==29918== at 0x402476E: operator new(unsigned)
(in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==29918== by 0x4102D9D: YSReturn::evaluate(bool) (YCPCode.h:237)
==29918== by 0x41146C5: YSIf::evaluate(bool) (YStatement.cc:1061)
==29918== by 0x41231B6: YBlock::evaluate(bool) (YBlock.cc:604)
==29918== by 0x40F1918: Y2YCPFunction::evaluateCall()
(YExpression.cc:3363) ==29918== by 0x40F3D91: YEFunction::evaluate(bool)
(YExpression.cc:3126) ==29918== by 0x40F2072: YEUnary::evaluate(bool)
(YExpression.cc:1264) ==29918== by 0x41145AC: YSIf::evaluate(bool)
(YStatement.cc:1040) ==29918== by 0x41231B6: YBlock::evaluate(bool)
(YBlock.cc:604)
==29918== by 0x40F1918: Y2YCPFunction::evaluateCall()
(YExpression.cc:3363) ==29918== by 0x40F3D91: YEFunction::evaluate(bool)
(YExpression.cc:3126) ==29918== by 0x4101819:
YSExpression::evaluate(bool) (YStatement.cc:269)


--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References