Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PlantVisualiser]: Segmentation fault for visualisation of high-time-res #105

Open
dhelmrich opened this issue May 24, 2023 · 0 comments
Open
Assignees
Labels

Comments

@dhelmrich
Copy link
Collaborator

The vis code crashes with a segmentation fault upon running the simulation with a high time precision. Example of run with 24 steps per day, last output:

Organism::simulate: from 5.25 to 5.29167 days
Organ::createSegments(): 3 length increment below dxMin threshold (3.63598e-15 < 1e-06) and kept in memory
Stem::storeLinkingNodeLocalId 1 40 1
Stem::storeLinkingNodeLocalId 2 41 2
Stem::storeLinkingNodeLocalId 3 42 3
Stem::storeLinkingNodeLocalId 4 43 4
Stem::storeLinkingNodeLocalId 5 44 5
Stem::storeLinkingNodeLocalId 6 45 6
Stem::storeLinkingNodeLocalId 7 46 7
Stem::storeLinkingNodeLocalId 8 47 8
Stem::storeLinkingNodeLocalId 9 48 9
nodes moved 67
new nodes added 19
segments added 19
Number of segments 171, including 19 new
Generating radial leaf geometry
Segmentation fault

I will investigate this issue and fix it as soon as reasonable. It might be an issue with the vis code not able to properly take care of leafs with a low number of nodes (possibly just one). This edge-case should be handled correctly.

@dhelmrich dhelmrich added the bug label May 24, 2023
@dhelmrich dhelmrich self-assigned this May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant