Howdy, Stranger!

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

Supported by

[open] Random freezing on successive run-throughs

edited October 2013 in OpenSesame

Hi! I'm an undergrad using OpenSesame to run an experiment for my lab. The program I've designed starts out with a loop with several sketchpad items, and then is followed by a loop with several (24) videos. I'm using the legacy back-end for all components. Occasionally the program runs all the way through successfully, but then on the next run through it will freeze halfway through. With each progressive attempt to run the program it freezes earlier (first it's the videos, then it starts freezing in the sketchpad loop). I am closing and re-opening the program every time I run it, since I've read that re-running without re-opening can cause errors, but it makes no difference. Since the problem gets progressively worse every time I try to run it, I'm wondering if there is a buffer or a cache somewhere that is getting filled up and never getting cleared, and this is what causes the freezes. Is there such a thing, and if so, how can I make sure it is regularly cleared? I'm at a loss here.

Other info: I don't get a debug trace or any error messages when it freezes, the program just stops responding and I have to force quit. I've tried switching back-ends, and xpyriment is more stable for canvas items but won't run videos. I tried switching just the canvas items to xpyriment and keeping legacy elsewhere, but my experiment requires the program to run on two monitors, and the xpyriment pieces would not run on the second monitor. I switched back to all-legacy and it worked for maybe about 4 or 5 run throughs, and then it started freezing every time I run it. I've made no changes to the program itself. Please let me know if you have any suggestions! This is also rather time critical, as we will be running experiments all week, so the sooner I can resolve it, the better. Thank you so much for developing OpenSesame and for maintaining this forum!

Best,
Katie

Comments

  • edited 11:43PM

    Hi Katie,

    This is very strange, especially that the crashes accumulate even though you close OpenSesame in between successive runs. I suspect, like you, that there is a buffering issue at play, but I couldn't say exactly what or how. I forwarded the problem to @dschreij, who is the developer of the plug-in. Perhaps he has an idea.

    Do you run the experiment through the OpenSesame GUI or through opensesamerun? If you are not doing so already, it might be worth a shot to try opensesamerun. This will avoid loading a bunch of libraries that are required for the GUI.

    Cheers,
    Sebastiaan

  • edited 11:43PM

    Hi Katie,

    Communication of OpenSesame with the vlc libraries is very rudamentary and doesn't offer me a lot of control or insight on how the video is presented on screen or if a buffer is overflowing. I'll still try to see if I can make the vlc plugin use less memory and clean up better after itself, which hopefully will fix this problem.

    I also haven't been able to reproduce the problem, so it's hard for me to pinpoint the source of your troubles. There has been a report of this problem on the forums before, but it appears to only occur incidentally. Have you tried running your experiment on a different pc? How much memory and (free!) hard disk space does your current test machine have?

    Otherwise @sebastiaan, would be useful for Katie to give the new prerelease in combination with multiprocessing a spin? The piece of information "Occasionally the program runs all the way through successfully, but then on the next run through it will freeze halfway through." gives me the impression it might indeed be a garbage collection problem (although Katie also reported she has tried to close and reopen OS, which didn't help and thus undermines this assumption a bit).

    Buy Me A Coffee

  • edited October 2013

    Katie,

    I have taken better care that the plugin cleans up after itself, hopefully causing it to be more economic with available memory. Could you download the latest version of the plugin from https://github.com/dschreij/media_player_vlc/releases/tag/1.0 and tell us if it works better for you?

    Buy Me A Coffee

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