Hi,
new coredumps occur since 0a5b7b2af54449bbe5c264b06fc651d1972eb0ad with the attached files; could you please check? With d62242da27e0b8846bfb73891a5f7a2e7b462310 they did not occur.
Checking /home/user/Desktop/21-10-14_1.cpp ... cppcheck: lib/infer.cpp:133: static Interval Interval::fromValues(const std::__debug::list<ValueFlow::Value>&, Predicate) [with Predicate = Interval::fromValues(const std::__debug::list<ValueFlow::Value>&)::<lambda(const ValueFlow::Value&)>]: Assertion `!maxValue->isKnown()' failed. Aborted (core dumped) Checking /home/user/Desktop/21-10-14_2.cpp ... cppcheck: lib/infer.cpp:133: static Interval Interval::fromValues(const std::__debug::list<ValueFlow::Value>&, Predicate) [with Predicate = Interval::fromValues(const std::__debug::list<ValueFlow::Value>&)::<lambda(const ValueFlow::Value&)>]: Assertion `!maxValue->isKnown()' failed. Aborted (core dumped)
Thanks, Martin
Can anybody reproduce this?
Seems to work for me on Windows with https://github.com/danmar/cppcheck/commit/d2d53e5043363cdad7403f0d21277b8039f04bdc
With this commit, I can still reproduce on Linux.
Hmm, I also get the assert failure in the debugger. Ticket is here: https://trac.cppcheck.net/ticket/10562
Log in to post a comment.
Hi,
new coredumps occur since 0a5b7b2af54449bbe5c264b06fc651d1972eb0ad with the attached files; could you please check?
With d62242da27e0b8846bfb73891a5f7a2e7b462310 they did not occur.
Thanks,
Martin
Can anybody reproduce this?
Seems to work for me on Windows with https://github.com/danmar/cppcheck/commit/d2d53e5043363cdad7403f0d21277b8039f04bdc
With this commit, I can still reproduce on Linux.
Hmm, I also get the assert failure in the debugger. Ticket is here: https://trac.cppcheck.net/ticket/10562