#10083 closed defect (fixed)

TITANIC: Crash when playing with original game volume controls

Reported by: dafioram Owned by: dreammaster
Priority: normal Component: Engine: Titanic
Keywords: Cc:
Game: Starship Titanic

Description

1.10.0git-4350-g8b81bb2

  1. Go to the Real Life Pet tab and click the ear
  2. Keep click on any of the 4 volume options while going back and forth left to right (like you are changing the volume).

The game should crash within 1-2 seconds.

Also, you are able to change the sound level this way (although there is no knobs), is that intended?

Change History (2)

comment:1 Changed 23 months ago by dafioram

#0  0x00007ffff4aa0428 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff4aa202a in __GI_abort () at abort.c:89
#2  0x00007ffff4a98bd7 in __assert_fail_base (fmt=<optimized out>, 
    assertion=assertion@entry=0x7f95e0 "_hideCounter >= 0", 
    file=file@entry=0x7f9580 "engines/titanic/support/mouse_cursor.cpp", 
    line=line@entry=109, 
    function=function@entry=0x7f9680 <Titanic::CMouseCursor::decHideCounter()::__PRETTY_FUNCTION__> "void Titanic::CMouseCursor::decHideCounter()")
    at assert.c:92
#3  0x00007ffff4a98c82 in __GI___assert_fail (
    assertion=0x7f95e0 "_hideCounter >= 0", 
    file=0x7f9580 "engines/titanic/support/mouse_cursor.cpp", line=109, 
    function=0x7f9680 <Titanic::CMouseCursor::decHideCounter()::__PRETTY_FUNCTION__> "void Titanic::CMouseCursor::decHideCounter()") at assert.c:101
#4  0x000000000052b2a4 in Titanic::CMouseCursor::decHideCounter (this=0xce3440)
    at engines/titanic/support/mouse_cursor.cpp:109
#5  0x000000000042a081 in Titanic::CGameObject::showMouse (this=0x1caf0c0)
    at engines/titanic/core/game_object.cpp:1212
#6  0x0000000000554ac9 in Titanic::CCarry::MouseDragEndMsg (this=0x1caf0c0, 
    msg=0x7ffffffb7f50) at engines/titanic/carry/carry.cpp:126
#7  0x00000000004c7144 in Titanic::CMessage::perform (this=0x7ffffffb7f50, 
    treeItem=0x1caf0c0) at engines/titanic/messages/messages.cpp:105
#8  0x00000000004c6ee9 in Titanic::CMessage::execute (this=0x7ffffffb7f50, 
    target=0x1ca5780, classDef=0x0, flags=3)
    at engines/titanic/messages/messages.cpp:58
#9  0x000000000054e6b3 in Titanic::CInputHandler::processMessage (
    this=0x17a6e78, msg=0x7ffffffb7fe0)
    at engines/titanic/input_handler.cpp:110
#10 0x000000000054e44a in Titanic::CInputHandler::handleMessage (
    this=0x17a6e78, msg=..., respectLock=true)
    at engines/titanic/input_handler.cpp:69
#11 0x000000000054ed1d in Titanic::CInputTranslator::leftButtonUp (
    this=0x17a6ea8, special=0, pt=...)
    at engines/titanic/input_translator.cpp:60
#12 0x0000000000550257 in Titanic::CMainGameWindow::leftButtonUp (
    this=0x1539270, mousePos=...) at engines/titanic/main_game_window.cpp:286
#13 0x000000000054a13e in Titanic::Events::pollEvents (this=0x1537090)
    at engines/titanic/events.cpp:62
#14 0x000000000054a370 in Titanic::Events::pollEventsAndWait (this=0x1537090)
    at engines/titanic/events.cpp:108
#15 0x0000000000423105 in Titanic::TitanicEngine::run (this=0xd2a710)
    at engines/titanic/titanic.cpp:144
#16 0x000000000040dfce in runGame (plugin=0xc46e80, system=..., 
    edebuglevels=...) at base/main.cpp:263
#17 0x000000000040f191 in scummvm_main (argc=1, argv=0x7fffffffdf38)
    at base/main.cpp:529
#18 0x000000000040c13e in main (argc=1, argv=0x7fffffffdf38)
    at backends/platform/sdl/posix/posix-main.cpp:45

comment:2 Changed 23 months ago by dafioram

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

This was fixed by dreammaster in commit 664126aaaaf71afd87ee13b7e8f097e920b4b20d (Aug 13).

Note: See TracTickets for help on using tickets.