davinci wrote:But external scripts are the recommended way? Or is ist the same? If I remember correctly it is handled differently.
External scripts each run in their own process, which can help prevent blocking of the main Indigo Server and if the plugin host process crashes it won't take down the server.
However, in this case the main Indigo Server process is crashing, but it is crashing while trying to complete a command / request coming from a script or plugin (based on the crash call stack).
davinci wrote:Is there a way to find the script that causes this?
Unfortunately no. The crash call stack just doesn't give that level of detail, and I think the crash is likely occurring a bit after this mishap. Like a car that gets off the road and then later crashes into a tree, all we see is the car hit a tree but have no idea why it left the road. I really don't know of a way to track this one down without the painstaking process of disabling scripts / plugins until the problem stops. I wish that weren't the case, as I know this is a pain...