Dwelvers Forum
Solved & Confirmed - 0.11.1 - OpenAL error after closing the game & not hidden system cursor after start - Printable Version

+- Dwelvers Forum (http://forum.dwelvers.com)
+-- Forum: Community (http://forum.dwelvers.com/forumdisplay.php?fid=6)
+--- Forum: Archive (http://forum.dwelvers.com/forumdisplay.php?fid=28)
+---- Forum: Old Bugs/Issues & Crashes (http://forum.dwelvers.com/forumdisplay.php?fid=26)
+---- Thread: Solved & Confirmed - 0.11.1 - OpenAL error after closing the game & not hidden system cursor after start (/showthread.php?tid=1772)



0.11.1 - OpenAL error after closing the game & not hidden system cursor after start - Sebt - 13-11-2017

Error!
Function:
SoundManager::_StartThread

Message:
Error unqueueing OpenAL buffers!
ErrorID: 40964
Internal source id: 0
OpenAL source id: 1

Stack trace:
3 0
2 BaseThreadInitThunk 1956067536
1 RtlUnicodeStringToInteger 2002672576
0 RtlUnicodeStringToInteger 2002672576


After re-starting the game again I got this at the start:

Function:
CheckErrorLog

Message:
This program was unexpectedly finished last time it ran.

Error type: Error!

Message body:
Function:
SoundManager::_StartThread

Message:
Error unqueueing OpenAL buffers!
ErrorID: 40964
Internal source id: 0
OpenAL source id: 1

Stack trace:
3 0
2 BaseThreadInitThunk 1956067536
1 RtlUnicodeStringToInteger 2002672576
0 RtlUnicodeStringToInteger 2002672576



Stack trace:
5 0
4 0
3 0
2 BaseThreadInitThunk 1956067536
1 RtlUnicodeStringToInteger 2002672576
0 RtlUnicodeStringToInteger 2002672576


Then nothing strange happened except that system mouse cursor is still visible as well as game cursor as in main menu as in the game:

[Image: 24bnqko.jpg]

I will not get this message if i crash the game clicking on Resume - known bug -> 0.11.1 - Crash on resuming the game


RE: - Rasmus - 14-11-2017

I've seen this issue before during the development but thought I solved it :/
Added to the list of Bugs/Issues & Crashes!


RE: - Sebt - 14-11-2017

Yeah... It's still in 0.11.2 BT version BTW.

EDIT: In 0.11.3 BT I also got Runtime error after getting launcher error message.


RE: - Rasmus - 17-11-2017

New version released, this bug is solved but need confirmation!


RE: - Sebt - 17-11-2017

Previous was fixed, but a new one appeared, this time with different source id, appeared after I quit the game not starting a new one, from main menu just after launching the Dwelvers (Windows mouse cursor is also visible after restart):

Error!
Function:
SoundManager::_StartThread

Message:
Error unqueueing OpenAL buffers!
ErrorID: 40964
Internal source id: 16
OpenAL source id: 17

Stack trace:
3 0
2 BaseThreadInitThunk 1956067536
1 RtlUnicodeStringToInteger 2002672576
0 RtlUnicodeStringToInteger 2002672576



After playing for about 20 minutes I wanted to quit the game and it seems the same error appeared:

Error!
Function:
SoundManager::_StartThread

Message:
Error unqueueing OpenAL buffers!
ErrorID: 40964
Internal source id: 0
OpenAL source id: 1

Stack trace:
3 0
2 BaseThreadInitThunk 1956067536
1 RtlUnicodeStringToInteger 2002672576
0 RtlUnicodeStringToInteger 2002672576


RE: - Rasmus - 18-11-2017

Ok, thank you Smile
Back to being unsolved!


RE: - Rasmus - 23-11-2017

Ok, so I couldn't reproduce this issue myself. But I made some changes in the way sounds now are cleaned up. What is causing this bug is that when a sound channel gets cleaned up (Dwelvers have 32 sound channels meaning that 32 sounds can be played at once) it throws this error that you are getting. So what I did was to clean up a sound channel before it plays a new sound, instead of just cleaning up the sound channels when you close the program.

I think this is the was I should do it. But if the problem remains there are a risk that you will be getting this error during game play as well and not just when you close the game. Lets just hope note :/

Solved with the next version!


RE: - Rasmus - 23-11-2017

Version 0.11.5 BT released! This bug is solved but need confirmation!


RE: - Sebt - 24-11-2017

It's solved. Smile


RE: - Rasmus - 25-11-2017

Thank you Smile