Howdy, Stranger!

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

Supported by

[Bug] Runtime error after fullscreen mode

edited October 2012 in OpenSesame

How to reproduce:
If you run my experiment in full screen, let it crash by pressing ESC and then rerun it the runtime error occurs. Apparently it only crashes if you let at least one whole trial run (maybe a couple of more). And sometimes you need to run it in fullscreen window more than twice.

Weirdly enough, if I run the experiment in windowed mode no problem at all occurs.

Maybe worth to know: I am using two screens and the experiment and OpenSesame run on the main screen which is on high def resolution.



You can access my experiment via the link below. So you can try to rerun it. I have a runtime error with the most recent version as well as the most recent dev version. https://www.dropbox.com/s/q4rxtf0zqka6y6q/RuntimeExperiment3.opensesame.tar.gz

EDIT:

I just figured out that it sometimes just doesn’t show the gabor gratings in the second fullscreen run without producing an error. But after a while or after I press esc and want to keep on working it crashes with a memory error.

EDIT2:

Also it has nothing to do with the gabor frequency (in my experiment it is above 1). I just tried it out with several values below and incl. 1 and it still crashes.

Comments

  • edited October 2012

    On this note: I've noticed that OpenSesame usually crashes when an experiment that uses an excessive amount of pre-prepared canvasses is run in succession. When you run it for the first time, no problem occurs. Run it twice and a runtime error occurs. Run it once, restart OpenSesame and run it again and everything works fine.

    Problem occurs when run from source, on both win7 and winXP.

    (and so, maybe the above error is a memory thing as well, since the runtime error and the phrases "Apparently it only crashes if you let at least one whole trial run (maybe a couple of more). And sometimes you need to run it in fullscreen window more than twice" seems very familiar!)

  • edited 3:01PM

    Yeah, actually if I just close OpenSesame (willingly) after each fullscreen run it also works every time.

  • edited 3:01PM

    Hi guys,

    Yes, this is an annoying and persistent issue that occurs on some systems. It is not a bug in OpenSesame per se, but a memory leak in one of the underlying libraries (PyGame, PyOpenGL, or something like that). I don't know what causes it, and I can't offer a real fix, although Florian has implemented something in Expyriment that should work around this. In other words, if you switch to the xpyriment back-end, the problem should disappear (and if not, let me know).

    Alternatively, you can use opensesamerun to run your experiment. This way OpenSesame doesn't execute the experiment in the same process, but starts a new program to do this. You can enable this option under Preferences → Run options → Run experiments in a separate process.

    Cheers,
    Sebastiaan

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