Crash during the playing of a sound
Bug #705892 reported by
Yaio
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I've this code (executed by a daily build of Panda):
import direct.
loader.loadSfx( 'explosion.ogg' ).play()
run()
(the file explosion.ogg is attached). It works correctly on OSX. On Windows (Seven 64 bit), it crashes and I get:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
On Ubuntu (Lucid 64 bit), it crashes and I get:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
With other files that code works.
Thanks!
A clue from the forum: http:// www.panda3d. org/forums/ viewtopic. php?p=69512# 69512