Boost C++ Libraries: Ticket #4850: Regression test failures with ICU 4.4.2 https://svn.boost.org/trac10/ticket/4850 <p> A number of the Regex regression tests fails when compiled and ran against ICU 4.4.2. The tests all pass when it's compiled and ran against ICU 4.4.1. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4850 Trac 1.4.3 Katie Chan Sat, 13 Nov 2010 04:50:02 GMT attachment set https://svn.boost.org/trac10/ticket/4850 https://svn.boost.org/trac10/ticket/4850 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test.log</span> </li> </ul> <p> bjam output on failed tests </p> Ticket John Maddock Sat, 13 Nov 2010 13:17:43 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4850#comment:1 https://svn.boost.org/trac10/ticket/4850#comment:1 <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">worksforme</span> </li> </ul> <p> Hmmm... works for me - tested with ICU-4.4.2 built from source with VC10 and run on Vista (32-bit). </p> <p> Looks like this may be an ICU build/install issue? </p> <p> BTW that exception is thrown when Collator::createInstance fails. </p> <p> Please do reopen if you have more info that shows this to be a regex issue. </p> Ticket Katie Chan Sun, 14 Nov 2010 02:00:11 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/4850#comment:2 https://svn.boost.org/trac10/ticket/4850#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">worksforme</span> </li> </ul> <p> Well, I can't know for sure this is a regex problem and not an ICU problem, but I can tell you how to reproduce it. Namely, if you build both the debug and (then) the release version of ICU, rather than just the debug version. </p> Ticket anonymous Sun, 14 Nov 2010 17:39:59 GMT <link>https://svn.boost.org/trac10/ticket/4850#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4850#comment:3</guid> <description> <p> I've reproducing that - building in both orders starting from a clean install each time - but it still works for me here. </p> <p> Here's some test code using just ICU, that I hope will let you reproduce the issue: </p> <pre class="wiki">#include &lt;unicode/utypes.h&gt; #include &lt;unicode/uchar.h&gt; #include &lt;unicode/coll.h&gt; #include &lt;iostream&gt; #include &lt;iomanip&gt; int main() { U_NAMESPACE_QUALIFIER Locale l; std::cout &lt;&lt; l.getName() &lt;&lt; std::endl; UErrorCode success = U_ZERO_ERROR; U_NAMESPACE_QUALIFIER Collator* pcol = U_NAMESPACE_QUALIFIER Collator::createInstance(l, success); if(U_SUCCESS(success) == 0) { std::cout &lt;&lt; "Collator failed to initialize" &lt;&lt; std::endl; exit(1); } return 0; } </pre><p> What I suspect is happening here is that since the code uses a default locale, that somehow your ICU install does not have whatever locale your machine is using installed in the ICU dll's. </p> <p> Frankly though, if the code behaves differently depending upon what order you build things (or which bits you build), then that has to be an ICU bug? </p> <p> Hopefully though, this'll get us closer to understanding what's going on. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Katie Chan</dc:creator> <pubDate>Tue, 16 Nov 2010 02:12:18 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4850#comment:4 https://svn.boost.org/trac10/ticket/4850#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> I don't know how / why you can't reproduce it seeing I've managed to reproduce the problem consistently whether I'm running Ultimate or Professional and in Win 7 x64, x86, or Win XP x86. </p> <p> I've managed to figure out what the problem is, just not necessarily whether it's a VS bug or an ICU one. While building ICU4C from source, icudt44.dll is the first thing built (at 3KB). However that's not finished as the last project add about 14MB of data into the dll. The combination of VS2010 &amp; ICU4C 4.4.2 does not do that last step if and only if one build both the Debug &amp; Release files into the same output directory (which is the default) resulting in a DLL that's missing about 14MB of data. </p> Ticket anonymous Tue, 16 Nov 2010 08:55:23 GMT <link>https://svn.boost.org/trac10/ticket/4850#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4850#comment:5</guid> <description> <p> Thanks for the update, cheers, John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 13 Dec 2011 21:56:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4850#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4850#comment:6</guid> <description> <p> I've also hit this on OSX. While ICU compiles and runs fine multi-arch, or both 32/64 bit (with -arch i386 -arch x86_64) this seems to break the Collator: <a class="ext-link" href="https://gist.github.com/1474002"><span class="icon">​</span>https://gist.github.com/1474002</a> which leads to invalid character handling in the uregex functions. </p> </description> <category>Ticket</category> </item> </channel> </rss>