question

Alessio Merlo avatar image
0 Likes"
Alessio Merlo asked Jordan Johnson answered

AStar.Cell.getAllocation command crashes

Hi all,

I need a help with my FlexSim model. It crashes apparently without any reason.

I attached the model to reproduce the issue. You need to open and run it. There is a breakpoint to stop the simulation. If you execute the code step by step, FlexSim crashes on row 10.

Let me know where is my error!

astar_collision.fsm

FlexSim 24.0.3
astargetallocation
astar-collision.fsm (67.4 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

This issue happens when trying to display very, very large numbers (200 or more digits). Sometimes, FlexSim uses the value DOUBLE_MAX as an error code, which has over 300 digits. When the debugger tries to display this value, it causes a crash in some situations.

This issue has been resolved in version 24.1. It is on the list to fix for version 24.0.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.