<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Publishing an element (segmentation fault while packing)]]></title><description><![CDATA[<p dir="auto">Dear all,</p>
<p dir="auto">we are about to publish element but got stacked in process. The element packager successfully find the valid element (pic1 in attachment) but it comes up with segmentation fault error immediately after pressing the Pack button (the error output in the attachment. Sorry for .py format. Can't upload txt here.).</p>
<p dir="auto">This problem happens both on Mac and on Ubuntu with this particular element. I did not try to release any other element.</p>
<p dir="auto">Is there any possibility to fix this?<br />
<img src="/assets/uploads/files/1560787492873-pic1-resized.png" alt="pic1.png" class=" img-fluid img-markdown" /><br />
<a href="/assets/uploads/files/1560787943294-doc.py">doc.py</a></p>
]]></description><link>https://forum.samson-connect.net/topic/108/publishing-an-element-segmentation-fault-while-packing</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 07:01:06 GMT</lastBuildDate><atom:link href="https://forum.samson-connect.net/topic/108.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Jun 2019 16:12:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Publishing an element (segmentation fault while packing) on Thu, 20 Jun 2019 08:10:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oneangstrom" aria-label="Profile: oneangstrom">@<bdi>oneangstrom</bdi></a></p>
<p dir="auto">Yes. Firstly Debug, then Release.</p>
]]></description><link>https://forum.samson-connect.net/post/572</link><guid isPermaLink="true">https://forum.samson-connect.net/post/572</guid><dc:creator><![CDATA[Andrii]]></dc:creator><pubDate>Thu, 20 Jun 2019 08:10:45 GMT</pubDate></item><item><title><![CDATA[Reply to Publishing an element (segmentation fault while packing) on Wed, 19 Jun 2019 13:38:48 GMT]]></title><description><![CDATA[<p dir="auto">Ok thanks. Have you compiled with both Debug and Release?</p>
]]></description><link>https://forum.samson-connect.net/post/571</link><guid isPermaLink="true">https://forum.samson-connect.net/post/571</guid><dc:creator><![CDATA[OneAngstrom]]></dc:creator><pubDate>Wed, 19 Jun 2019 13:38:48 GMT</pubDate></item><item><title><![CDATA[Reply to Publishing an element (segmentation fault while packing) on Wed, 19 Jun 2019 09:38:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oneangstrom" aria-label="Profile: oneangstrom">@<bdi>oneangstrom</bdi></a> , that you for the reply!</p>
<p dir="auto">I have regenerated element and successfully built it. But still have same problem with packaging. Below the part of element descriptor:</p>
<p dir="auto">SB_ELEMENT_DESCRIPTION("Carbon : Controlled Advancement Rigid-Body Optimization of Nanosystems");<br />
SB_ELEMENT_DOCUMENTATION("Resource/Documentation/doc.html");<br />
SB_ELEMENT_VERSION_NUMBER("0.7.0");</p>
<p dir="auto">SB_ELEMENT_CLASSES_BEGIN;</p>
<pre><code>SB_ELEMENT_CLASS(SECarbonStateUpdater);
SB_ELEMENT_CLASS(SECarbonStateUpdaterProperties);
</code></pre>
<p dir="auto">SB_ELEMENT_CLASSES_END;</p>
<p dir="auto">SB_ELEMENT_CATEGORIES_BEGIN;</p>
<pre><code>SB_ELEMENT_CATEGORY(SBClass::Category::General);
</code></pre>
<p dir="auto">SB_ELEMENT_CATEGORIES_END;</p>
<p dir="auto">Best,<br />
Andrii</p>
]]></description><link>https://forum.samson-connect.net/post/570</link><guid isPermaLink="true">https://forum.samson-connect.net/post/570</guid><dc:creator><![CDATA[Andrii]]></dc:creator><pubDate>Wed, 19 Jun 2019 09:38:23 GMT</pubDate></item><item><title><![CDATA[Reply to Publishing an element (segmentation fault while packing) on Wed, 19 Jun 2019 09:04:29 GMT]]></title><description><![CDATA[<p dir="auto">Dear <a class="plugin-mentions-user plugin-mentions-a" href="/user/andrii" aria-label="Profile: Andrii">@<bdi>Andrii</bdi></a>, could you please check that you have categories in the element descriptor (new in 0.7.0)? It should look like:</p>
<pre><code>SB_ELEMENT_CATEGORIES_BEGIN;
    SB_ELEMENT_CATEGORY(SBClass::Category::General);
SB_ELEMENT_CATEGORIES_END;
</code></pre>
<p dir="auto">You'll find more information about descriptors at <a href="https://documentation.samson-connect.net/developers/latest/page_introspection.html" rel="nofollow ugc">https://documentation.samson-connect.net/developers/latest/page_introspection.html</a>.</p>
<p dir="auto">If you have been porting code from 0.6.0 to 0.7.0 (?), it might be useful to generate a new empty element with the generator (<a href="https://documentation.samson-connect.net/developers/latest/page_element_generator.html" rel="nofollow ugc">https://documentation.samson-connect.net/developers/latest/page_element_generator.html</a>) and compare classes and descriptors.</p>
<p dir="auto">Best,</p>
<p dir="auto">Stephane</p>
]]></description><link>https://forum.samson-connect.net/post/569</link><guid isPermaLink="true">https://forum.samson-connect.net/post/569</guid><dc:creator><![CDATA[OneAngstrom]]></dc:creator><pubDate>Wed, 19 Jun 2019 09:04:29 GMT</pubDate></item><item><title><![CDATA[Reply to Publishing an element (segmentation fault while packing) on Tue, 18 Jun 2019 13:32:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oneangstrom" aria-label="Profile: OneAngstrom">@<bdi>OneAngstrom</bdi></a>,</p>
<p dir="auto">Thanks a lot!</p>
<p dir="auto">Andrii</p>
]]></description><link>https://forum.samson-connect.net/post/568</link><guid isPermaLink="true">https://forum.samson-connect.net/post/568</guid><dc:creator><![CDATA[Andrii]]></dc:creator><pubDate>Tue, 18 Jun 2019 13:32:37 GMT</pubDate></item><item><title><![CDATA[Reply to Publishing an element (segmentation fault while packing) on Tue, 18 Jun 2019 08:18:44 GMT]]></title><description><![CDATA[<p dir="auto">Dear sir,</p>
<p dir="auto">Sorry for the issue.<br />
I will investigate and come back to you quickly.</p>
<p dir="auto">Jocelyn,</p>
]]></description><link>https://forum.samson-connect.net/post/567</link><guid isPermaLink="true">https://forum.samson-connect.net/post/567</guid><dc:creator><![CDATA[OneAngstrom]]></dc:creator><pubDate>Tue, 18 Jun 2019 08:18:44 GMT</pubDate></item></channel></rss>