Mantis - Croquet
Viewing Issue Advanced Details
3369 Hedgehog minor always 03-28-06 17:05 02-14-07 21:43
howardstearns  
mpm  
normal  
resolved  
fixed  
none    
none  
0003369: openAL crash with multiple croquet morphs on the same machine
Open Sailing Master and Participant (e.g., as is typical for debugging collaboration using a single machine).

Get a VM crash in OpenAL>initialize.

This occurs with Croquet Win32 VM 1.0.0

This does NOT occur when opening, e.g., MPEG Demo Master and Sailing Master simultaneously, or when opening Master and Participant in different Squeaks.
duplicate of 0003379closed  OpenAL: Only one context is ever created 

Notes
(0004592)
mpm   
03-28-06 21:14   
this is a convenience issue for developers who are trying to develop mutli-user applications but only have one machine. not a show stopper...
(0004712)
andreas   
04-08-06 11:04   
BTW, is this is still an issue with the FFI version? I'd expect not since most likely the crash was caused with lack of support for AL context switching.
(0004730)
pmoore   
04-10-06 19:57   
It will still crash in the current version. It's not smart enough about switching between multiple contexts (yet). Bad things happen when the wrong context is active.

Could somebody with FFI experience please take a critical look at the ALC calls in OpenAL (and the methods that use them, namely OpenAL>>createContext and OpenAL>>destroyContext). FFI is new to me and I've made more than a few educated guesses. ;)
(0009794)
mpm   
02-14-07 21:43   
you can now have multiple worlds running on the same machines with OpenAL and switch between them.