Howdy, Stranger!

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

Supported by

[open] GUI crashes seemingly random

edited August 2013 in OpenSesame

Hi all,

On my Kubuntu 12.04 installation, OpenSesame has the annoying habit of crashing often and without provocation. Most crashes occur whenever I'm clicking on different widgets in the GUI (for example: after just editing the timeout of a sketchpad and then going on to draw some stuff on it, OpenSesame suddenly shuts down immediately) This seems to be a problem that is specific to my installation (or maybe even the OS), as I do not experience the same problems with Debian or on win7.

The errors seem to be quite consistent: either a PyGame segmentation fault or some PyQt4 memory problem (see below for full errors). Has anybody encountered something similar in the past? Perhaps any ideas on where the problem could be? (see below for versions of relevant software)


OpenSesame 0.27.3

Python 2.7.3 (default, Apr 10 2013, 05:46:21)

[GCC 4.6.3] on linux 2

OpenCV is available (version is unknown)

OpenCV2 2.4.5

Expyriment 0.6.3 (Revision 7f0fe8984130; Python 2.7.3)

NumPy 1.6.1

PyAudio 0.2.4

PyGame 1.9.1release

PyOpenGL 3.0.1b2

PyQt 4.9.1

PySerial 2.5

PsychoPy 1.77.01

Pyglet 1.1.4

SciPy 0.9.0


  • edited August 2013

    It appears my post was too long, so here are the errors in a doublepost:

    segmentation fault

    Fatal Python error: (pygame parachute) Segmentation Fault
    Aborted (core dumped)

    some Qt trouble

    *** glibc detected *** /usr/bin/python: double free or corruption (out): 0x09a36380 ***
    ======= Backtrace: =========
    ======= Memory map: ========
    08048000-0829e000 r-xp 00000000 08:05 1835850    /usr/bin/python2.7
    0829e000-0829f000 r--p 00255000 08:05 1835850    /usr/bin/python2.7
    0829f000-082f4000 rw-p 00256000 08:05 1835850    /usr/bin/python2.7
    082f4000-08300000 rw-p 00000000 00:00 0 
    08ddd000-09ff1000 rw-p 00000000 00:00 0          [heap]
    aeb78000-aeb79000 rw-p 00000000 00:00 0 
    aeb79000-af3a7000 rw-s 00000000 00:04 11337783   /SYSV00000000 (deleted)
    af3a7000-af400000 r--p 00000000 08:05 2492261    /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
    af400000-af421000 rw-p 00000000 00:00 0 
    af421000-af500000 ---p 00000000 00:00 0 
    af50c000-af511000 r-xp 00000000 08:05 530844     /lib/i386-linux-gnu/
    af511000-af512000 r--p 00004000 08:05 530844     /lib/i386-linux-gnu/
    af512000-af513000 rw-p 00005000 08:05 530844     /lib/i386-linux-gnu/
    af513000-af515000 r-xp 00000000 08:05 524343     /lib/
    af515000-af516000 r--p 00001000 08:05 524343     /lib/
    af516000-af517000 rw-p 00002000 08:05 524343     /lib/
    af517000-af518000 ---p 00000000 00:00 0 
    af518000-afd18000 rw-p 00000000 00:00 0 
    afd18000-afd6e000 r-xp 00000000 08:05 1836697    /usr/lib/
    afd6e000-afd6f000 r--p 00056000 08:05 1836697    /usr/lib/
    afd6f000-afd70000 rw-p 00057000 08:05 1836697    /usr/lib/
    afd88000-afda9000 r-xp 00000000 08:05 1839133    /usr/lib/i386-linux-gnu/qt4/plugins/inputmethods/
    afda9000-afdaa000 r--p 00020000 08:05 1839133    /usr/lib/i386-linux-gnu/qt4/plugins/inputmethods/
    afdaa000-afdab000 rw-p 00021000 08:05 1839133    /usr/lib/i386-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.soAborted (core dumped)
  • edited 1:47PM

    Hi Edwin,

    It seems to be a memory-management bug in Qt4, and not related to PyGame. You will see the 'pygame parachute' message whenever a segmentation fault occurs and PyGame is loaded, regardless of where the error comes from. (I'm not sure what it means, but I imagine that PyGame somehow catches segmentation faults.)

    I haven't seen this problem myself, also not when I was running Kubuntu 12.04. But, as you say, issues like this can be specific to a particular system. Btw, is your system fully updated?

    You could try running opensesame --debug --stack and see if you can find some regularity in when the problem occurs. Even though this is presumably a bug in Qt4, it would be informative to known when it occurs so that we can work around it.


    There's much bigger issues in the world, I know. But I first have to take care of the world I know.

Sign In or Register to comment.