Longest Journey crash at startup

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
zimzeleni
Posts: 6
Joined: Sat Feb 10, 2018 11:49 pm

Longest Journey crash at startup

Post by zimzeleni »

Hi, I am using Steam version of Longest Journey with HD project mod applied and it crashes at startup. I am using M1 Mac version (tried Intel as well same problem). I am using 25.August daily version of ScummVM.

Game did work fine before when I used it last year, don't know what version since I overwritten it with yesterday one.

I have this error in terminal window:

Assertion failed: (dataSize > 0), function readStream, file /data/src/master/common/stream.cpp, line 51.
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: Longest Journey crash at startup

Post by criezy »

There is a bug report about this issue: https://bugs.scummvm.org/ticket/12762
It seems to be specific to the Steam version since I cannot reproduce it with the version from GOG. So somebody with the Steam version will need to investigate to find what is causing the crash.
User avatar
Praetorian
ScummVM Developer
Posts: 787
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: Longest Journey crash at startup

Post by Praetorian »

criezy wrote: Thu Aug 26, 2021 7:12 pm There is a bug report about this issue: https://bugs.scummvm.org/ticket/12762
It seems to be specific to the Steam version since I cannot reproduce it with the version from GOG. So somebody with the Steam version will need to investigate to find what is causing the crash.
I've pushed a potential fix which checks for the specific Steam's build version of the game.exe executable (1.0.0.161) and skips trying to load the dialog background image resource (147.bmp) which causes the assertion fault for that build.
https://github.com/scummvm/scummvm/comm ... 0efb6949c5

I've added a comment on the bug tracker issue about what leads to the assertion fault.
zimzeleni
Posts: 6
Joined: Sat Feb 10, 2018 11:49 pm

Re: Longest Journey crash at startup

Post by zimzeleni »

Thanks for replies, hopefully Preatorian fix works.
Post Reply