[yast-devel] running valgrind
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 :) 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@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Mon, Mar 17, 2008 at 02:12:03PM +0100, Stephan Kulow wrote:
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 :)
Yes ;-) Keywords: hint, bugzilla, yast2-core, testcase, please. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
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@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Am Mittwoch, 19. März 2008 schrieb Stanislav Visnovsky:
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?
I have only seen it for BooleanRep - while starting live installer btw. Greetings, Stephan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (3)
-
Martin Vidner
-
Stanislav Visnovsky
-
Stephan Kulow