Gdk-ERROR

Bug #1818894 reported by Jeffrey Elkner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GASP Core
New
Undecided
Marco Sirabella

Bug Description

Running the following little program from GASP Lessons Sheet 2:

from gasp import *

begin_graphics()

for r in range(100, 141, 10):
    Circle((300, 200), r)

update_when('key_pressed')
end_graphics()

Resulted in the following:

$ python3 pretty_picture.py
[DBG]: On Windows

(pretty_picture.py:23363): Gdk-ERROR **: 13:21:55.280: The program 'pretty_picture.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 202 error_code 10 request_code 130 (MIT-SHM) minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Jeffrey Elkner (jelkner)
Changed in gasp-core:
assignee: nobody → Marco Sirabella (mjsir911)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.