Publishing an element (segmentation fault while packing)
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.).
This problem happens both on Mac and on Ubuntu with this particular element. I did not try to release any other element.
Is there any possibility to fix this?
Sorry for the issue.
I will investigate and come back to you quickly.
Thanks a lot!
Dear @Andrii, could you please check that you have categories in the element descriptor (new in 0.7.0)? It should look like:
SB_ELEMENT_CATEGORIES_BEGIN; SB_ELEMENT_CATEGORY(SBClass::Category::General); SB_ELEMENT_CATEGORIES_END;
You'll find more information about descriptors at https://documentation.samson-connect.net/developers/latest/page_introspection.html.
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 (https://documentation.samson-connect.net/developers/latest/page_element_generator.html) and compare classes and descriptors.
@oneangstrom , that you for the reply!
I have regenerated element and successfully built it. But still have same problem with packaging. Below the part of element descriptor:
SB_ELEMENT_DESCRIPTION("Carbon : Controlled Advancement Rigid-Body Optimization of Nanosystems");
Ok thanks. Have you compiled with both Debug and Release?
Yes. Firstly Debug, then Release.