-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
On Linux (including IDAaaS), attempting to run the following script will produce a segfault:
from concurrent.futures import ThreadPoolExecutor
import RATapi as RAT
executor = ThreadPoolExecutor()
future = executor.submit(RAT.examples.DSPC_standard_layers)
project, results = future.result()This is an issue because RasCAL-2 needs long-running code (e.g. RAT.run()) to run outside the main loop, as the main loop is used for handling and updating the GUI itself. It seems to run successfully on Windows (@DrPaulSharp managed to run it okay). If anyone else would like to run the script on whatever devices they have to hand that'd be useful!
Various observations:
- This happens for any of the
standard_layersorcustom_XYexamples but NOT thecustom_layersexamples which run successfully. - On
DSPC_standard_layersit happens no matter what procedure is chosen. - From where it crashes, it seems that we enter the C++ code before it breaks; if using a non-
calculateprocedure, theRunning [procedure]message is produced before it segfaults.
Metadata
Metadata
Assignees
Labels
No labels