Troubleshooting PsychoPy Experiment Freeze Issue: Need Advice!

Hi,

I am encountering an issue with a PsychoPy experiment and I hope someone here might have insights. I have built a reaction time experiment using the Builder. It works fine during the initial trials but it freezes randomly after about 20 30 trials. There is no error message in the Runner and the log file doesn’t seem to show anything unusual.

I am running PsychoPy version 2023.2.0 on Windows 11.
The experiment includes a mix of text and image stimuli with randomized trial conditions pulled from an Excel file.
The freezing happens regardless of whether I’m using the standalone app or exporting to Python.

Things I have tried so far :-

Updated my graphics drivers.
Reduced the file size of images.
Checked for duplicate variable names in the Excel sheet.

Has anyone faced something similar: ?? Could it be related to memory usage or a coding issue I overlooked: ??

I have also read this thread https://discourse.psychopy.org/t/psychopy-freezes-troubleshooting-advice-react-native but still looking for some more helpful advice.

Any advice would be greatly appreciated !!

Thanks in advance !!

With Regards,
Daniel JOse

If you set your loop to sequential, does the issue always happen at the same point? If so, then it is either related to a specific trial (e.g. corrupt media) or a blank rows in your spreadsheet.