#180 Attaching ogl window a second time causes mged to exit.

unexpected behavior
open
nobody
Modeling (29)
5
2008-09-21
2008-09-21
Loui Chang
No

If I start up with `mged -c`, attach to ogl, close the graphics window then try to `attach ogl` again mged exits with code 01.

This is the output:

X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 128 (XFree86-DRI)
Minor opcode of failed request: 7 ()
Resource id in failed request: 0x2200004
Serial number of failed request: 5602
Current serial number in output stream: 5602

Program exited with code 01.

Doing the same procedure with X replacing ogl works without problems.

Discussion

  • Loui Chang
    Loui Chang
    2008-09-21

    • milestone: --> unexpected behavior
     
  • Loui Chang
    Loui Chang
    2008-09-22

    In addition if I start up `mged -c`, attach to ogl, close the graphics window then `quit` mged will exit with 01.

    It also produces the following output:
    X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
    Major opcode of failed request: 128 (XFree86-DRI)
    Minor opcode of failed request: 9 ()
    Resource id in failed request: 0x2600004
    Serial number of failed request: 2834
    Current serial number in output stream: 2834

    Program exited with code 01.

     
  • Loui Chang
    Loui Chang
    2009-03-20

    I'm not sure if this is important but I'm using mesa 7.3, the xf86-video-ati driver from http://xorg.freedesktop.org/, and a Radeon 7000 graphics card.