Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Program freezes during an experiment

Hi, we are trying to program an experiment in Open Sesame and exporting it onto our JATOS server. Currently, we are stuck with a strange problem: when running the experiment by using a JATOS link, it freezes around block 4 (out of 16 blocks of 32 trials each). It stalls, then flashes a black box instead of the display, and then hangs, fully crashed.


The design of this experiment is identical to a previous experiment that we ran successfully on JATOS. Here are similarities and differences between the experiment that worked (Exp 1) and the one that is freezing (Exp 2).

Common to both Exp 1 and Exp 2:

  • used “Legacy” as the backend
  • used a series of 23 .png files for instructions that ranged in size from 20 – 300 Kb
  • left the default “disable collect garbage” clicked
  • ran two practice blocks of 16 trials each followed by 16 blocks of 32 trials each


Different in Exp 2 from Exp 1


We thought perhaps it is a memory issue on our JATOS server.  It has 2 Gb. We are in the process of upgrading it to 4 Gb.  But we tried running our experiment on the free server (experiments.jatos.org), which we think has 4 Gb, and it crashed there too.


Experiment 2 ran successfully through to completion (multiple times) on Open Sesame itself (i.e., before importing it to JATOS) running on a MacBook Pro with 16 Gb of memory, but failed on a MacBook Pro with 8 Gb of memory.


The stimuli that we are using are not particularly large (1 – 7 Kb each).  So it seems surprising that it would be running into a memory limit.  But we thought perhaps as we reuse them trial after trial, they are getting reloaded into some buffer that isn’t being cleared.  That led us to wonder about the “disable garbage collection” option.  But sadly disabling that did not solve the problem.


Finally, we tried a version of our Exp. 2 with the PsychoPy backend, instead of Legacy backend, and the program still crashed.


Currently, we are unsure of what else to try, and would be very grateful if you have any ideas about what the problem might be or what further diagnostic steps we might take.  Thank you!

Comments

  • I can only say something for the JATOS side of the issue since I'm not professional in OpenSesame.

    We thought perhaps it is a memory issue on our JATOS server. It has 2 Gb. We are in the process of upgrading it to 4 Gb. But we tried running our experiment on the free server (experiments.jatos.org), which we think has 4 Gb, and it crashed there too.

    Maybe. And you are correct, experiments.jatos.org has 4 GB. Can you tell me when you run your experiment (please with timezone) on experiments.jatos.org? Then I can have a look in the logs whether there was anything unusual.

    Best,

    Kristian

  • Kristian, thank you for replying so quickly! That would be great! I ran the experiment on experiments.jatos.org from 2020/11/12 03:30 PM to 03:38 PM (Central Standard Time). If it helps, the result ID is 17224, and the worker ID is 16942.


    Please let me know if there's other information you need, thank you!

  • The server was fine at this time. Plenty of resources left. In the log was also nothing unusual: last entry was a jatos.appendResultData. After that nothing. I guess your problem is more of a browser / OpenSesame / OSWeb one.

  • I just posted about a similar issue. In my case the issue seems to occur for windows users (using different browsers) but not for mac users. Do you have any information on the users for which it crashes?

  • @QZ2020, let me rephrase my question: using a JATOS link, does the experiment freeze around block 4 both when running it from a MacBook Pro with 16 Gb of memory and from a MacBook Pro with 8 Gb of memory (mirroring the behaviour is Open Sesame itself)?

  • @kri Thank you for helping me look at the entry! Over the weekend, I re-built the experiment using in-line code, and it works now without freezing. Thank you!

  • @LouisaB Thank you for commenting! We have only run it on MacBook Pros and have not tested it on Windows yet. If I encounter any problem, I will be happy to let you know.

    Over the weekend, I did three things, and then I ran the experiment, which ran smoothly without freezing now.

    1) Update the Open Sesame software to its latest version.

    2) Change the backend from Legacy to Psycho Py.

    3) Use in-line code to present images.

    https://osdoc.cogsci.nl/3.2/tutorials/beginner/

    The tutorial above is helpful for figuring out how to present images (step 6).


    Good luck!

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games