[Scummvm-tracker] [ScummVM :: Bugs] #13542: LSL6 crash when dragging empty text area scrollbar

ScummVM :: Bugs trac at scummvm.org
Sun Jun 5 09:12:22 UTC 2022


#13542: LSL6 crash when dragging empty text area scrollbar
-------------------------+-----------------------------------
Reporter:  RayKoopa      |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: SCI
 Version:                |  Resolution:
Keywords:  crash, array  |        Game:  Leisure Suit Larry 6
-------------------------+-----------------------------------
Description changed by RayKoopa:

Old description:

> - ScummVM 2.6.0git6340-g974c51b4cd1 (Jun  5 2022 09:42:22)
> - Game language: English
> - Game version: Hi-Res 1.000.000
> - Windows 11 21H2 10.0.22000.675
>
> Steps to reproduce:
> - Start a new game or restore a previously saved game. This empties /
> clears the text area.
> - Make sure the text area is visible (Game > Text On / Off)
> - Attempt to drag the scrollbar thumb downwards.
> - The emulator will crash with the following log:
>   {{{
>   Assertion failed: idx < _size, file ./common/array.h, line 232
>
>   [process exited with code 3 (0x00000003)]
>   }}}
>
> In DOSBox, the thumb can be dragged smoothly, despite nothing being
> scrolled.

New description:

 - ScummVM 2.6.0git6340-g974c51b4cd1 (Jun  5 2022 09:42:22)
 - Game language: English
 - Game version: Hi-Res 1.000.000
 - Windows 11 21H2 10.0.22000.675

 Steps to reproduce:
 - Start a fresh instance of new game (do not "New" / "Load" inside the
 game).
 - Make sure the text area is visible (Game > Text On / Off)
 - Attempt to drag the scrollbar thumb downwards.
 - The emulator will crash with the following log:
   {{{
   Assertion failed: idx < _size, file ./common/array.h, line 232

   [process exited with code 3 (0x00000003)]
   }}}

 In DOSBox, the thumb can be dragged smoothly, despite nothing being
 scrolled.

 Also, the text area is always cleared when loading or saving games. In
 DOSBox, it retains the last messages, even restoring ones of a save game,
 despite them being scrolled out of sight (as if an empty message is posted
 and scrolled to).

--
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13542#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list