64klang icon indicating copy to clipboard operation
64klang copied to clipboard

Sample player crashes in _64klang_Render (

Open tttao opened this issue 5 years ago • 4 comments

Hello,

I am facing an issue when trying the sample player. An exception is raised in _64klang_Render (access violation while reading at location 0x0000000000000010).

I am using Windows 10 / VS 2019.

I am investigating ... But if you have any idea it would be really helpful.

Thank you very much, and below is an extract of the stack, if it can help.

Player.exe!OSCILLATOR_tick(SynthNode * n) Ligne 1598	C++
Player.exe!BQFILTER_tick(SynthNode * n) Ligne 1771	C++
Player.exe!VOICEROOT_tick(SynthNode * n) Ligne 1142	C++
Player.exe!VOICEMANAGER_tick(SynthNode * n) Ligne 1099	C++
Player.exe!NOTECONTROLLER_tick(SynthNode * n) Ligne 561	C++
Player.exe!MUL_tick(SynthNode * n) Ligne 2106	C++
Player.exe!CHANNELROOT_tick(SynthNode * n) Ligne 532	C++
Player.exe!NOTECONTROLLER_tick(SynthNode * n) Ligne 561	C++
Player.exe!GLITCH_tick(SynthNode * n) Ligne 3701	C++
Player.exe!GLITCH_tick(SynthNode * n) Ligne 3701	C++
Player.exe!GLITCH_tick(SynthNode * n) Ligne 3701	C++
Player.exe!GLITCH_tick(SynthNode * n) Ligne 3701	C++
Player.exe!MUL_tick(SynthNode * n) Ligne 2106	C++
Player.exe!MUL_tick(SynthNode * n) Ligne 2106	C++
Player.exe!_64klang_Render(float * dstbuffer) Ligne 748	C++

tttao avatar Apr 25 '19 17:04 tttao

Looks like node for OSCILLATOR_UDETUNE is null. By adding a check in the NODE_CALL_INPUT it does not crash any more, but the player is not acting very good ... Stopping the music after a few secs :(

tttao avatar Apr 25 '19 17:04 tttao

fixed :)

gopher-atz avatar Apr 25 '19 17:04 gopher-atz

i assume you used the provided demo song. i forgot to update the demo song with an export of the lastest version of 64klang in which i changed (added an input) the oscillator node. please pull and test again.

gopher-atz avatar Apr 25 '19 18:04 gopher-atz

As discussed on Slack, it seems like it is an issue with VS 2019 compiler/linker. Issue not solved yet

tttao avatar Apr 25 '19 21:04 tttao