Boost C++ Libraries: Ticket #5520: read_json causes segfault when called from multiple threads https://svn.boost.org/trac10/ticket/5520 <p> Distro: Debian 5.0.6 Linux host 2.6.26-2-amd64 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1" title="#1: Bugs: boost.build causes ftjam to segfault (closed: Wont Fix)">#1</a> SMP Sun Jun 20 20:16:30 UTC 2010 x86_64 GNU/Linux </p> <p> I'm going to attach a short example to trigger the bug. I can also provide a core dump if needed. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5520 Trac 1.4.3 Laszlo Kustra <kl223hun@…> Thu, 05 May 2011 12:18:57 GMT attachment set https://svn.boost.org/trac10/ticket/5520 https://svn.boost.org/trac10/ticket/5520 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">trigger_bug.cpp</span> </li> </ul> <p> Short example to trigger segfault in read_json. </p> Ticket Sebastian Redl Mon, 16 May 2011 21:45:00 GMT <link>https://svn.boost.org/trac10/ticket/5520#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5520#comment:1</guid> <description> <p> Can you post your compiler version? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Sebastian Redl</dc:creator> <pubDate>Mon, 16 May 2011 21:53:28 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/5520#comment:2 https://svn.boost.org/trac10/ticket/5520#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Sebastian Redl</span> to <span class="trac-author">Joel de Guzman</span> </li> <li><strong>component</strong> <span class="trac-field-old">property_tree</span> → <span class="trac-field-new">spirit</span> </li> </ul> <p> Never mind, could reproduce it. This appears to be a problem in Spirit.Classic. It crashes in boost::spirit::classic::impl::object_with_id_base_supply&lt;unsigned long&gt;::acquire (). </p> <p> Reassigning. </p> Ticket Laszlo Kustra <kl223hun@…> Mon, 16 May 2011 21:57:24 GMT <link>https://svn.boost.org/trac10/ticket/5520#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5520#comment:3</guid> <description> <p> Ok. Anyway, I used gcc 4.3.2 with glibc 2.7. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Mon, 16 May 2011 23:49:21 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5520#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5520#comment:4</guid> <description> <p> This is a known "classic" bug. The best course of action really is to switch to Spirit V2 which does not have these threading issues. Chances are very remote this will ever be fixed in "classic". A JSON parser is easy. It's about time to port to Spirit V2. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Sebastian Redl</dc:creator> <pubDate>Thu, 19 May 2011 16:29:02 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/5520#comment:5 https://svn.boost.org/trac10/ticket/5520#comment:5 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Sebastian Redl</span> </li> <li><strong>component</strong> <span class="trac-field-old">spirit</span> → <span class="trac-field-new">property_tree</span> </li> </ul> <p> OK, taking the bug back then. </p> Ticket thomas.kister@… Mon, 23 Jul 2012 07:25:10 GMT <link>https://svn.boost.org/trac10/ticket/5520#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5520#comment:6</guid> <description> <p> Hello, </p> <p> I just hit this bug on boost 1.49.0 on a Raspbian system, and it looks like no progress was made on boost 1.50.0. Is there any milestone set for porting the parser to Spirit V2? </p> </description> <category>Ticket</category> </item> <item> <author>amur@…</author> <pubDate>Wed, 02 Apr 2014 13:30:02 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5520#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5520#comment:7</guid> <description> <p> Hello, </p> <p> having same bug on other ARM platform. boost 1.55.0 gcc 4.8.1. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>vipul</dc:creator> <pubDate>Fri, 05 Dec 2014 11:43:49 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5520#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5520#comment:8</guid> <description> <p> I am hitting this bug on mac x86_64 with boost 1.54 :( </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Sebastian Redl</dc:creator> <pubDate>Tue, 07 Jul 2015 12:22:31 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5520#comment:9 https://svn.boost.org/trac10/ticket/5520#comment:9 <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> The JSON parser rewrite has landed on master, so this will be fixed in 1.59. </p> Ticket anonymous Tue, 20 Sep 2016 06:35:53 GMT <link>https://svn.boost.org/trac10/ticket/5520#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5520#comment:10</guid> <description> <p> Was this resolved? </p> </description> <category>Ticket</category> </item> </channel> </rss>