Boost C++ Libraries: Ticket #11475: qi real parser- valgrind error https://svn.boost.org/trac10/ticket/11475 <p> I tested boost 1.59 rc1 today and got a regression in my software. my csv parser reported 4 wrong values (of approximately 200) </p> <p> i reduced the problem somewhat to </p> <pre class="wiki">#include &lt;boost/spirit/include/qi.hpp&gt; #include &lt;vector&gt; #include &lt;string&gt; #include &lt;iostream&gt; using namespace boost::spirit::qi; int main(){ std::cout&lt;&lt;BOOST_LIB_VERSION&lt;&lt;std::endl; std::string str="1.0,119,80,35,0,29.0,0.263,29,1"; std::vector&lt;double&gt; fileContents; phrase_parse( str.begin(),str.end(), double_ % ',', space , fileContents ); for(std::size_t j = 0; j != 9; ++j) std::cout&lt;&lt;fileContents[j]&lt;&lt;" "&lt;&lt;std::flush; } </pre><p> problems vanish in debug mode, g++ finds a warning and valgrind finds a conditioned jump based on unitialised memory. see attached the outputs for comparison </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11475 Trac 1.4.3 oswin.krause@… Tue, 14 Jul 2015 13:00:20 GMT <link>https://svn.boost.org/trac10/ticket/11475#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11475#comment:1</guid> <description> <p> Sorry for the duplicate ticket. I have got troubles uploading the files, Track rejects it as spam as it is including blacklisted patterns...help? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Tue, 14 Jul 2015 22:47:18 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11475#comment:2 https://svn.boost.org/trac10/ticket/11475#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> This is fixed now: <a class="ext-link" href="https://github.com/boostorg/spirit/pull/141"><span class="icon">​</span>https://github.com/boostorg/spirit/pull/141</a>. I'll close this ticket. Please reopen if you see the problem still. </p> Ticket