AnsweredAssumed Answered

Infinite loop in server script causing server freeze

Question asked by tomasd on Nov 23, 2012

Summary

Infinite loop in server script causing server freeze

Product

FileMaker Server

Version

11.0.1.92

Operating system version

Windows Server 2003

Description of the issue

Server script with infinite loop never stop. It cann't be aborted in server console or with filemaker server restart. Only restart of Windows Server helped.

Steps to reproduce the problem

Run this script on the server:
Set variable $list   .......empty
Set variable $i=1

loop
exit loop if ValueCount($list)=$i
Set variable $i=$i+1
end loop

Expected result

I would expected server stop the script after time limit exceeded

Actual result

server scrip can't be stopped and running infinite

Exact text of any error message(s) that appear

Communication error with the server

Workaround

Repair exit loop condition.
It is ok on Filemaker Server 12.

Outcomes