You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Valgrind execution on unit-tests-iidm is not clear:
slaigre@WD0573:/mnt/e/Projet_SRO/rte/powsybl-iidm4cpp/build-linux$ valgrind ./test/iidm/unit-tests-iidm -- --resources=../test/resources/
==13969== Memcheck, a memory error detector
==13969== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==13969== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==13969== Command: ./test/iidm/unit-tests-iidm -- --resources=../test/resources/
==13969==
Running 221 test cases...
==13969== Use of uninitialised value of size 8
==13969== at 0x5ED810B: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==13969== by 0x5ED87AD: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<unsigned long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, unsigned long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==13969== by 0x5EE700E: std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==13969== by 0x2550FC: void boost::io::detail::put_last<char, std::char_traits<char>, unsigned long>(std::basic_ostream<char, std::char_traits<char> >&, unsigned long const&) (feed_args.hpp:99)
==13969== by 0x253F58: void boost::io::detail::call_put_last<char, std::char_traits<char>, unsigned long const>(std::basic_ostream<char, std::char_traits<char> >&, void const*) (feed_args.hpp:126)
==13969== by 0x256E5F: void boost::io::detail::put_last<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) (feed_args.hpp:149)
==13969== by 0x2555C7: void boost::io::detail::put<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::io::detail::put_holder<char, std::char_traits<char> > const&, boost::io::detail::format_item<char, std::char_traits<char>, std::allocator<char> > const&, boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::string_type&, boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::internal_streambuf_t&, std::locale*) (feed_args.hpp:197)
==13969== by 0x2542DA: void boost::io::detail::distribute<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) (feed_args.hpp:291)
==13969== by 0x253185: boost::basic_format<char, std::char_traits<char>, std::allocator<char> >& boost::io::detail::feed_impl<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) (feed_args.hpp:301)
==13969== by 0x251910: boost::basic_format<char, std::char_traits<char>, std::allocator<char> >& boost::io::detail::feed<char, std::char_traits<char>, std::allocator<char>, unsigned long const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, unsigned long const&) (feed_args.hpp:313)
==13969== by 0x24F348: boost::basic_format<char, std::char_traits<char>, std::allocator<char> >& boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::operator%<unsigned long>(unsigned long const&) (format_class.hpp:64)
==13969== by 0x24DADF: void stdcxx::format<unsigned long>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, unsigned long const&) (format.hxx:30)
==13969==
==13969== Conditional jump or move depends on uninitialised value(s)
==13969== at 0x5ED811D: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==13969== by 0x5ED87AD: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<unsigned long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, unsigned long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==13969== by 0x5EE700E: std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==13969== by 0x2550FC: void boost::io::detail::put_last<char, std::char_traits<char>, unsigned long>(std::basic_ostream<char, std::char_traits<char> >&, unsigned long const&) (feed_args.hpp:99)
==13969== by 0x253F58: void boost::io::detail::call_put_last<char, std::char_traits<char>, unsigned long const>(std::basic_ostream<char, std::char_traits<char> >&, void const*) (feed_args.hpp:126)
==13969== by 0x256E5F: void boost::io::detail::put_last<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) (feed_args.hpp:149)
==13969== by 0x2555C7: void boost::io::detail::put<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::io::detail::put_holder<char, std::char_traits<char> > const&, boost::io::detail::format_item<char, std::char_traits<char>, std::allocator<char> > const&, boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::string_type&, boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::internal_streambuf_t&, std::locale*) (feed_args.hpp:197)
==13969== by 0x2542DA: void boost::io::detail::distribute<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) (feed_args.hpp:291)
==13969== by 0x253185: boost::basic_format<char, std::char_traits<char>, std::allocator<char> >& boost::io::detail::feed_impl<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) (feed_args.hpp:301)
==13969== by 0x251910: boost::basic_format<char, std::char_traits<char>, std::allocator<char> >& boost::io::detail::feed<char, std::char_traits<char>, std::allocator<char>, unsigned long const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, unsigned long const&) (feed_args.hpp:313)
==13969== by 0x24F348: boost::basic_format<char, std::char_traits<char>, std::allocator<char> >& boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::operator%<unsigned long>(unsigned long const&) (format_class.hpp:64)
==13969== by 0x24DADF: void stdcxx::format<unsigned long>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, unsigned long const&) (format.hxx:30)
==13969==
This has to be fixed.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Quality improvement
Please tell us about your environment:
PowSyBl Version: ...
OS Version: ...
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)
(if a question doesn't apply, you can delete it)
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Valgrind execution on unit-tests-iidm is not clear:
This has to be fixed.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Quality improvement
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)
(if a question doesn't apply, you can delete it)
The text was updated successfully, but these errors were encountered: