Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Problem when destroying a display

This thread is locked; no one can reply to it. rss feed Print
Problem when destroying a display
The Master
Member #4,498
April 2004
avatar

Hi all,

This might be a bug with Allegro 5.2

When I finish my program and call al_destroy_display, my program prints this:

X Error of failed request:  181
  Major opcode of failed request:  154 ()
  Minor opcode of failed request:  32
  Serial number of failed request:  95                                                                                                                                                                                                             
  Current serial number in output stream:  95

This happens with the examples too. Is this a problem with my installation of X11? I'm running Kubuntu xenial (16.04). It's actually quite annoying, because my program exits before it has a chance to free-up all the other objects it's allocated.

We can only do what we feel is right each moment as we live it.

SiegeLord
Member #7,827
October 2006
avatar

Possibly related to https://github.com/liballeg/allegro5/issues/605. We still don't know why it happens.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Go to: