ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
330 stars 89 forks source link

Failed assertion when enabling sound IG under Windows #274

Open ryzom-pipeline opened 8 years ago

ryzom-pipeline commented 8 years ago

Original report by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).


A player reported this assert :

A failed assertion occurs
ProcName: ryzom_client_r.exe
Date: 2016/05/15 22:43:51
File: z:\home\src\packaging\ryzom\steam\ryzomcore\code\nel\include\nel\misc\singleton.h
Line: 136
FuncName: NLMISC::CManualSingleton<class NLSOUND::CAudioMixerUser>::CManualSingleton
Reason: "_instance() == NULL" 
-------------------------------

Log with no filter:
-------------------------------
2016/05/15 22:43:43 ryzom_client_r.exe WRN 1f98 misc.cpp 378 : computeAnimSet: unknown Anim Set 'kitifly_rest__' ('2' unkowns).
2016/05/15 22:43:43 ryzom_client_r.exe WRN 1f98 misc.cpp 378 : computeAnimSet: unknown Anim Set 'kitikil_hungry__' ('3' unkowns).
2016/05/15 22:43:44 ryzom_client_r.exe WRN 1f98 main_loop_utilities.cpp 344 : Sound config error !
2016/05/15 22:43:46 ryzom_client_r.exe WRN 1f98 client_cfg.cpp 2078 : CFG: Default value used for 'VREnable' !!!
2016/05/15 22:43:46 ryzom_client_r.exe WRN 1f98 bitmap_png.cpp 53 : iCCP: known incorrect sRGB profile
2016/05/15 22:43:46 ryzom_client_r.exe WRN 1f98 bitmap_png.cpp 53 : iCCP: known incorrect sRGB profile
2016/05/15 22:43:49 ryzom_client_r.exe WRN 1f98 lua_object.cpp 476 : player.lua:806: attempt to call a nil value (field 'mod')
2016/05/15 22:43:49 ryzom_client_r.exe WRN 1f98 dbctrl_sheet.cpp 3179 : Ucstring result expected when calling 'game:updatePhraseTooltip', possible script error
2016/05/15 22:43:49 ryzom_client_r.exe INF 1f98 common.cpp 676 : Exception will be launched: player.lua:806: attempt to call a nil value (field 'mod')
2016/05/15 22:43:49 ryzom_client_r.exe WRN 1f98 lua_manager.cpp 66 : ELuaExecuteError: player.lua:806: attempt to call a nil value (field 'mod')
2016/05/15 22:43:51 ryzom_client_r.exe WRN 1f98 main_loop_utilities.cpp 323 : Creating sound manager...
2016/05/15 22:43:51 ryzom_client_r.exe AST 1f98 singleton.h 136 : "_instance() == NULL" 
-------------------------------
User Crash Callback:
-------------------------------
UserId: 634346
HomeId: 101
ShardId: 101
On a Mainland Shard
Application: ryzom_live
Player Name: 'Arashii'
UserPosition: 19257.20 -24953.56 -49.97
ViewPosition: 19257.20 -24953.56 -45.97
Time in game: 0h 0min 38sec
LocalTime: 2016/05/15 22:43:51
ServerTick: 1268256076
ConnectState: Connected
LocalAddress: :64761 (192.168.0.30)
Language: English
ClientVersion: FV 3.0.0.7578 (2016-05-13 13:20:28)
PatchVersion: 37
Client is online
NumServerHOP: 0
NumFarTP: 0
NumReselectPerso: 0
Connection Events: 
Memory: 4233 MiB/8173 MiB
Process Virtual Memory: 1373 MiB
OS: Microsoft Windows 10 (Build 10586) (10.0 10586)
Processor: AMD FX(tm)-6300 Six-Core Processor / AMD64 Family 21 Model 2 Stepping 0 / AuthenticAMD / 3510MHz / 6 Processors found
CPUID: 178bfbff
HT: NO
CpuMask: 3f
NeL3D: Direct3d / nvd3dumx.dll / NVIDIA GeForce GT 720 / \\.\DISPLAY1 / driver version : 10.18.13.6191
3DCard: NVIDIA GeForce GT 720 , version 10.18.13.6191
No sound

I think important lines are :

2016/05/15 22:43:44 ryzom_client_r.exe WRN 1f98 main_loop_utilities.cpp 344 : Sound config error !

2016/05/15 22:43:51 ryzom_client_r.exe WRN 1f98 main_loop_utilities.cpp 323 : Creating sound manager...

2016/05/15 22:43:51 ryzom_client_r.exe AST 1f98 singleton.h 136 : "_instance() == NULL"

Could SoundMngr be not initialized ?

kaetemi commented 4 years ago

Need to handle case where sound manager fails to be created then in the client.