<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://theeyetribe.com/forum/feed.php?f=25&amp;t=358" />

<title>The Eye Tribe</title>
<subtitle>Developer Forum</subtitle>
<link href="http://theeyetribe.com/forum/index.php" />
<updated>2015-04-27T10:15:16+02:00</updated>

<author><name><![CDATA[The Eye Tribe]]></name></author>
<id>http://theeyetribe.com/forum/feed.php?f=25&amp;t=358</id>
<entry>
<author><name><![CDATA[zarachbaal]]></name></author>
<updated>2015-04-27T10:15:16+02:00</updated>
<published>2015-04-27T10:15:16+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1992#p1992</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1992#p1992"/>
<title type="html"><![CDATA[Re: Boost Throws an exception on termination of the program]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1992#p1992"><![CDATA[
Hi, <br />I'm having the same problems.<br />I work on Visual Studio 2008, it compiles well but when I run my project, ot crashes because of an unhandled exception :<br /><br /><blockquote class="uncited"><div><br />terminate called after throwing an instance of 'boost::exception_detail::clone_i<br />mpl&lt;boost::exception_detail::error_info_injector&lt;boost::system::system_error&gt; &gt;'<br /></div></blockquote><br /><br />The line the run stops at is in file &quot;gazeapi.cpp&quot; :<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>void start()<br />{<br />    stop();<br />    m_thread = boost::thread( boost::bind( &amp;Heartbeater::run, this))<br />}</code></dd></dl><br /><br />I would like to know when will this problem be fixed ?<br />And if there is any way to make the sample run well ?<br /><br />Regards,<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=8174">skatazarachbaal</a> — 27 Apr 2015, 10:15</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Martin]]></name></author>
<updated>2014-11-07T00:56:28+02:00</updated>
<published>2014-11-07T00:56:28+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1494#p1494</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1494#p1494"/>
<title type="html"><![CDATA[Re: Boost Throws an exception on termination of the program]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1494#p1494"><![CDATA[
We are working on the disconnect issue with the C++ lib and hope to have a fix out soon.<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=117">skataMartin</a> — 07 Nov 2014, 00:56</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[greg@collectivesoftware.com]]></name></author>
<updated>2014-10-30T17:30:32+02:00</updated>
<published>2014-10-30T17:30:32+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1477#p1477</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1477#p1477"/>
<title type="html"><![CDATA[Re: Boost Throws an exception on termination of the program]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1477#p1477"><![CDATA[
I added some code to the Socket::disconnect function to catch this exception:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>    void Socket::disconnect()<br />    {<br />        if (m_socket.is_open())<br />        {<br />         try<br />         {<br />            //gjb why was this commented out?<br />            m_socket.shutdown(boost::asio::socket_base::shutdown_type::shutdown_both);<br />            m_socket.close();<br />         }<br />         catch(boost::system::system_error e)<br />         {<br />            fprintf(stderr, &quot;socket close caught error %d\n&quot;, e.code());<br />         }<br />         catch(std::exception e)<br />         {<br />            fprintf(stderr, &quot;socket close caught NON BOOST error %s\n&quot;, e.what());<br />         }<br />         catch(...)<br />         {<br />            fprintf(stderr, &quot;socket close caught some unknown kind of exception\n&quot;);<br />         }<br />        }<br /><br />        m_io_service.stop(); // stops io_service and exits thread<br />    }<br /><br /></code></dd></dl><p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=3018">skatagreg@collectivesoftware.com</a> — 30 Oct 2014, 17:30</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rob@bunnyfoot.com]]></name></author>
<updated>2014-10-30T14:02:51+02:00</updated>
<published>2014-10-30T14:02:51+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1476#p1476</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1476#p1476"/>
<title type="html"><![CDATA[Boost Throws an exception on termination of the program]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=358&amp;p=1476#p1476"><![CDATA[
Hi <br /><br />I receive the following error:<br /><br /><blockquote class="uncited"><div><br />terminate called after throwing an instance of 'boost::exception_detail::clone_i<br />mpl&lt;boost::exception_detail::error_info_injector&lt;boost::system::system_error&gt; &gt;'<br /><br />  what():  close: An operation was attempted on something that is not a socket<br /></div></blockquote><br /><br /> when I call:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>MyGaze::~MyGaze()<br />{<br />    m_api.remove_listener( *this );<br />    m_api.disconnect();<br />}<br /></code></dd></dl><br /><br />More precisely this is where the exception is thrown:<br />in gazeapi_socket.cpp<br /><dl class="codebox"><dt>Code: </dt><dd><code> Socket::~Socket()<br />    {<br />        if (m_thread.joinable())<br />        {<br />            m_thread.join();<br />        }<br />    }<br /></code></dd></dl><br /><br /><br />----------<br /><br />I guess one of the threads is still live after the socket is destroyed and tries to use it.<br /><br />Has anyone faced such a problem? any solutions??!!!<br /><br />//<br />I used the sdk in the GitHub and the example in the devs (<!-- m --><a class="postlink" href="http://dev.theeyetribe.com/cpp/">http://dev.theeyetribe.com/cpp/</a><!-- m -->) page.<br />I use Qt's MinGW to build the project.<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=1261">skatarob@bunnyfoot.com</a> — 30 Oct 2014, 14:02</p><hr />
]]></content>
</entry>
</feed>