Opened 8 months ago

Closed 8 months ago

#12339 closed defect (fixed)

The Longest Journey - crash when clicking on non hotspot

Reported by: chrisis123 Owned by: criezy
Priority: high Component: Engine: Stark
Version: Keywords:
Cc: Game: The Longest Journey

Description (last modified by chrisis123)

I noticed a crash when clicking on various parts in game that are not hotspots (that can't be interacted with).
It's hard to describe but basically click anywhere with the blue cursor and there is a good chance (but it does not happen everywhere) that the debug menu of ScummVM opens.
I have no idea when this bug started (as I don't usually click on unclickable parts :) and have no copy of older versions builds lying around).

I could reproduce the bug on Windows 10 with both English (GOG) and German (4CD version) on the latest official ScummvmVM Snapshot (22Mar) with and without the HD mod enabled.
I have attached a screenshot that shows the output, if that helps - I clicked on the part with the maps next to Aprils legs here, but the crash can happen at various parts.

Edit: I have also added a save file on a place (the market as in the screenshot above) where you can try it out.

Attachments (2)

2021-03-22.png (1.2 MB ) - added by chrisis123 8 months ago.
tlj-win-033.tlj (112.9 KB ) - added by chrisis123 8 months ago.

Download all attachments as: .zip

Change History (6)

by chrisis123, 8 months ago

Attachment: 2021-03-22.png added

comment:1 by chrisis123, 8 months ago

Description: modified (diff)

comment:2 by chrisis123, 8 months ago

Description: modified (diff)

by chrisis123, 8 months ago

Attachment: tlj-win-033.tlj added

comment:3 by chrisis123, 8 months ago

Description: modified (diff)

comment:4 by criezy, 8 months ago

Owner: set to criezy
Resolution: fixed
Status: newclosed

Thank you for the bug report.
There was indeed an issue with the path finding code when the goal is not reachable that caused this error. It has been fixed in commit 9b3dd840bb, so the next nightly build should work.

Note: See TracTickets for help on using tickets.