Opened 10 months ago

Closed 4 months ago

#14478 closed defect (fixed)

HDB: crashes out on Servandrones level

Reported by: Ufedhin Owned by: sev-
Priority: high Component: Engine: HDB
Version: Keywords: HDB crash mid game windows/linux
Cc: Ufedhin Game:

Description

Hi!
Hyperspace delivery boy crashes out of Scummvm Android v. 2.7.0.5 on the Servandrones level when speaking to Dr Popopolis the 6th time (bit before exiting the level). This did not happen on previous versions of Scummvm (not sure of version, but when HDB engine was introduced).
The crash happens on both windows and Linux version. (Testing PPC version now)
I attached windows save file, and Linux save file (not sure which file is the save but gave it a guess)
Thanks very much!
Peter

Attachments (5)

HDB_SAVE_1.LUA (35.9 KB ) - added by Ufedhin 10 months ago.
HDB_SAVE_1.SAV (77.0 KB ) - added by Ufedhin 10 months ago.
hdb (368.8 KB ) - added by Ufedhin 10 months ago.
hdb-linux.000 (44.2 KB ) - added by antoniou79 10 months ago.
hdb-linux.2.000 (32.7 KB ) - added by Ufedhin 10 months ago.

Download all attachments as: .zip

Change History (19)

by Ufedhin, 10 months ago

Attachment: HDB_SAVE_1.LUA added

by Ufedhin, 10 months ago

Attachment: HDB_SAVE_1.SAV added

by Ufedhin, 10 months ago

Attachment: hdb added

comment:1 by antoniou79, 10 months ago

I wasn't able to reproduce this, when quickly going through the Servandrones, Inc quests up until you're on the space ship ("Back On the Jack"). I tried to exhaust all conversations with Dr Popopolis at each quest start and end too.

I am currently testing on Windows with the latest development build (2.8git) though.

Maybe it's still a case of corrupted sound files?

My game CD version is the Linux one.

I'm attaching my saved game just before talking with Popopolis for the last time.

The saved games you provide are not from ScummVM. Can you provide a ScummVM saved game to reproduce this?

by antoniou79, 10 months ago

Attachment: hdb-linux.000 added

comment:2 by Ufedhin, 10 months ago

Thanks for checking this!
You are past the point of this error, I cannot get back on the Jack due to the crash.
I played both the win and Linux version on action, not puzzle, but I'll try with puzzle mode to see if that works.
Sorry, I attached the old saves by mistake previously, but now found where Scummvm puts the save.
I attached the Linux save file now, from this point just talking to Popopolis crashes the game for me.

comment:3 by Ufedhin, 10 months ago

Sorry for delay, I cannot seem to sort out access to the save files (cannot get over the restriction). I will move save folder to an accesible location, and play to the point where it crashes and attach the save file then.
Thanks again!

by Ufedhin, 10 months ago

Attachment: hdb-linux.2.000 added

comment:4 by Ufedhin, 10 months ago

Couldn't get to it on my phone (not rooted), but found it through cloud access. This is the point where it crashes for me when trying to speak to Popopolis.
Thanks for checking!!

comment:5 by antoniou79, 10 months ago

This crash happens on Windows / Linux versions of ScummVM or just Android?

I cannot reproduce it on Windows ScummVM (developer build or stable 2.7.0). Propolis speaks all of his quotes, then the woman officer speaks and then Propolis again
I'll test on Android next.

Version 0, edited 10 months ago by antoniou79 (next)

comment:6 by Ufedhin, 10 months ago

I only used the Android Scummvm until now, but as I activated cloud sync I can try the same save on the windows Scummvm. Will probably work, as it worked for you. I'll let you know once I tried it.
Thanks!

comment:7 by antoniou79, 10 months ago

Hmm, no luck. Or... I guess luck? My ScummVM 2.7.0.5 on an Android 12 device does not crash at this point either. Are you testing on a higher Android version?

Edit: Also just tested on Android 13 (emulated with Android Studio). Still no crash.

Last edited 10 months ago by antoniou79 (previous) (diff)

comment:8 by Ufedhin, 10 months ago

I'm on android 11 on asus zenphone z. That might or might not be the reason...
But windows Scummvm worked fine for me too, and I managed to get past the crash point.
In the future I can use the same method through cloud save if there is a crash.
Thanks so much for your help Antoniou79, I'm glad other people want to keep this little game alive too!

comment:9 by PushmePullyu, 10 months ago

Tested on Linux x86_64 with master b6606f33a21c74dbcc3b42ab69b23feb3387052c and the windows version of HDB:
While talking to Dr Popopolis did not trigger a crash for me, it sometimes caused a double-free in Sound::playVoice(). This seems to happen when the game is trying to decode "POP_WAV" as MP3 data. PR that fixes the double-free is here: https://github.com/scummvm/scummvm/pull/5069

Last edited 10 months ago by PushmePullyu (previous) (diff)

comment:10 by bluegr, 9 months ago

Owner: set to Ufedhin
Resolution: fixed
Status: newpending

The PR has been merged, so this should be fixed now. Can you please test with a daily build? The fixed binaries will likely be available tomorrow

https://buildbot.scummvm.org/#/dailybuilds

comment:11 by somaen, 4 months ago

Would you mind testing what bluegr suggested above?

comment:12 by somaen, 4 months ago

Priority: normalhigh

comment:13 by sev-, 4 months ago

Summary: HDB crashes out on Servandrones levelHDB: crashes out on Servandrones level

comment:14 by sev-, 4 months ago

Owner: changed from Ufedhin to sev-
Status: pendingclosed

Closing this as fixed

Note: See TracTickets for help on using tickets.