kmonsoor / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

R6025 - pure virtual function call error on Windows #636

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Looks like it's related to pyglet.resource.media. When I load an ogg file with 
pyglet.resource.media *and* play it, when the application is closed I get this 
"R6025 - pure virtual function call error" message box.

I've tried AVbin 10 and the latest alpha of AVbin 11 (from 
https://github.com/AVbin/AVbin/downloads), with no difference.

This is Pyglet 1.4 alpha1 running on Windows Vista Home Basic SP2, Python 2.7.3.

Attached to this bug report there's the output of python -m pyglet.info.

In the same situation I get a "AL lib: ReleaseALC: 1 device not closed" message 
on Linux. I don't know if I'm doing something wrong!

The code triggering the issue can be found at: 
https://github.com/reidrac/ya-falling-blocks

Original issue reported on code.google.com by useboxnet on 24 Mar 2013 at 7:43

Attachments:

GoogleCodeExporter commented 9 years ago
I've found that running gc.collect() before closing the app fixed the problem!

Original comment by useboxnet on 25 Mar 2013 at 6:11

GoogleCodeExporter commented 9 years ago
> This is Pyglet 1.4 alpha1 running on Windows Vista Home Basic SP2, Python 
2.7.3.

I meant 1.2 alpha1 :)

Original comment by useboxnet on 23 May 2013 at 1:33