opensesamerun: Crash after fixed number of sequence runs / TCP pakets
We're running into a strange problem in our current study using iMotions and OpenSesame.
The setup looks like this:
1. Start Study in iMotions, which consists only of a Screen Recording
2. Screen Recording launches OpenSesame experiment through a batch file with the command
"C:\Program Files (x86)\OpenSesame\opensesamerun.exe" %path%\MakeAChoice.osexp -s %IMotionsRespondent% -l %path%\logs\subject%IMotionsRespondent%.csv -f
3. OpenSesame connects to external API and Control API of iMotions using TCP
4. Respondents plays a game with 40 repetitions, each repetition sends the following 8 events through the API:
The problem is then, that everytime after a fixed amount of sequence runs (in the 12. run) and the 93. TCP-packet (we snooped the traffic using Wireshark) OpenSesame crashes with this error message:
The error message is not very common, there are some people saying that this occures if a python socket wants to connect again after it was closed before. However this does not happen at any point our experiment.
Most importantly, the error only occures if the Experiment is launched using said opensesamerun-Command, but not if the experiment is run from inside OpenSesame.
We also substituted the iMotions TCP-Server with mocked ones (using
ncat -l 127.0.0.1 9087), this also had no effect on the error. We even tried killing the Windows Firewall (no other firewalls installed) and Antivirus, no effect either. Same thing happens on a second computer.
From our point of view it looks like opensesamerun.exe is buged. Do you have any idea how to proceed?