Boost C++ Libraries: Ticket #10106: boost shared_ptr.hpp runtime error. https://svn.boost.org/trac10/ticket/10106 <p> I have code that previously ran perfectly on a mac 10.6.8 and currently runs on a ubuntu but when I try to run it on a newly installed 10.6.8 machine, I am getting this runtime error. I'm sure this is with the installation but any help is greatly appreciated. </p> <p> Assertion failed: (px != 0), function operator*, file /usr/local/boost_1_44_0/boost/smart_ptr/shared_ptr.hpp, line 412. Abort trap" </p> <p> With Boost 1.44.0 and icu4c 4.3.4. and Code::Blocks compiler. Running on Mac OS X 10.6.8. </p> <p> We have tried updating to the latest versions of both libraries, however still no dice. However, with Boost 1.55, the runtime error cites a different line (don't quite remember what line number, but it was in the 500s). </p> <p> The program we are trying to run has ran on Boost 1.38 and I've found a couple solutions including one that says there may be a discrepancy between which version of boost the linker and includer are using. However, there's only one version of boost on my computer. The compiler and linker are both set to the directories mentioned when I installed Boost. Could it be that somewhere else, one of those is still looking for Boost 1.38? If so, where? </p> <p> I've also found that it could be due to a pointer being improperly initialized, but I am reluctant to go down that road since it used to work (and still works on previous versions of boost on ubuntu) and since it would require me to rewrite quite a bit of code. </p> <p> Any thoughts as to how to fix the problem? </p> <p> Thanks </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10106 Trac 1.4.3 viboes Sun, 06 Jul 2014 09:57:39 GMT <link>https://svn.boost.org/trac10/ticket/10106#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10106#comment:1</guid> <description> <p> Please, could you give any hints about what your program is doing? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 02 Aug 2014 14:59:44 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/10106#comment:2 https://svn.boost.org/trac10/ticket/10106#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Peter Dimov</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">smart_ptr</span> </li> </ul> Ticket Peter Dimov Sat, 02 Aug 2014 17:14:03 GMT <link>https://svn.boost.org/trac10/ticket/10106#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10106#comment:3</guid> <description> <p> This assertion indicates that your program is trying to dereference a NULL pointer. A stack trace should tell you where this happens and from there, you may be able to figure out why. </p> </description> <category>Ticket</category> </item> </channel> </rss>