zardoru / raindrop

yet another beatgame.
GNU General Public License v3.0
128 stars 16 forks source link

(raindrop 0.400) Terminates while transition to select music #50

Closed exch-bms2 closed 7 years ago

exch-bms2 commented 8 years ago

log.txt: . . . AUDIO: Requesting latency of 3.000000 ms AUDIO: Attempting to use shared mode WASAPI AUDIO: Device Selected 9 (Rate: 48000.000000) AUDIO: Latency after opening stream = 22.000000ms [librocket:4] Loading Lua interpreter [librocket:4] Loaded font face Togoshi Gothic Regular (from font.ttf). LuaManager: Running script GameData\Skins\default\mainmenu.lua. [librocket:3] Unable to open file ScreenMainMenu.rml. LuaManager: Running script GameData\Skins\default\screenselectmusic.lua. [librocket:3] Invalid property declaration at :0

zardoru commented 8 years ago

It seems unusual that the audio device is using 48kHz - internally raindrop requests 44.1kHz. Other than that, the other report I had (by JerwuQu) involved a range_error when trying to convert character sets.

I'm going to look at both cases once I'm able to, since they're the best lead I have.

DolphinDTM commented 8 years ago

After someone from Discord tried launching version 0.301, version 0.400 worked fine for him. Perhaps 0.301 has some files or "does something" that is required for raindrop to run?

alexanderkunz commented 8 years ago

I can confirm this bug. It appears to happen when i go to menu and music select several times. Everything seems to work at first though. Also running on default skin, but 44.1kHz.

DolphinDTM commented 8 years ago

I am able to execute this error myself: title -> select -> title -> select (crash)

zardoru commented 8 years ago

Oh, I thought it was a different instance of crashing, I already knew about the one about leaving select then going in again.

Well then.

This is an issue with librocket.

zardoru commented 8 years ago

after implementing crash stack logs I was able to definitely confirm that librocket is involved. librocket seems to attempt to release geometry twice. I have no idea if this is because of improper usage or if something's changed in librocket. Given that this issue is not present on earlier versions of raindrop and the code handling librocket has not changed, but the librocket version has changed, I am pinning it down on librocket.

zardoru commented 7 years ago

Should be fixed in 1aeadc1