Opened 7 years ago

Closed 7 years ago

#10026 closed defect (fixed)

TITANIC: segmentation fault when talking to the deskbot

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

Description

After the opnening credits talk to the deskbot.
She will ask you if you have a reservation.
Answer "no i dont"
Scummvm will crash.

Change History (3)

comment:1 by dafioram, 7 years ago

ScummVM: 2c6b2532dd19d0ff268dc1c099f4bf18e86a42da
Backtrace:

#0  0x0000000000000061 in ?? ()
#1  0x0000000000596c87 in Titanic::TTparser::checkForAction (this=0x1ab3b20)
    at engines/titanic/true_talk/tt_parser.cpp:1448
#2  0x0000000000593760 in Titanic::TTparser::findFrames (this=0x1ab3b20, 
    sentence=0x284ef20) at engines/titanic/true_talk/tt_parser.cpp:514
#3  0x000000000058b424 in Titanic::CScriptHandler::processInput (
    this=0x1ab3b10, roomScript=0x18f8be0, npcScript=0x1986250, line=...)
    at engines/titanic/true_talk/script_handler.cpp:95
#4  0x0000000000539e4a in Titanic::CTrueTalkManager::processInput (
    this=0x19efbc0, npc=0x1cf83a0, msg=0x7ffffffb7d60, view=0x1cf7ff0)
    at engines/titanic/true_talk/true_talk_manager.cpp:334
#5  0x00000000004e2eb0 in Titanic::CTrueTalkNPC::processInput (this=0x1cf83a0, 
    msg=0x7ffffffb7d60, view=0x1cf7ff0)
    at engines/titanic/npcs/true_talk_npc.cpp:232
#6  0x00000000004e23e6 in Titanic::CTrueTalkNPC::TextInputMsg (this=0x1cf83a0, 
    msg=0x7ffffffb7d60) at engines/titanic/npcs/true_talk_npc.cpp:83
#7  0x00000000004c64ba in Titanic::CMessage::perform (this=0x7ffffffb7d60, 
    treeItem=0x1cf83a0) at engines/titanic/messages/messages.cpp:105
#8  0x00000000004c625f in Titanic::CMessage::execute (this=0x7ffffffb7d60, 
    target=0x1cf83a0, classDef=0x0, flags=3)
    at engines/titanic/messages/messages.cpp:58
#9  0x00000000004ea3e8 in Titanic::CPetConversations::textLineEntered (
    this=0x1efa318, textLine=...)
    at engines/titanic/pet_control/pet_conversations.cpp:508
#10 0x00000000004ea22d in Titanic::CPetConversations::handleKey (
    this=0x1efa318, keyState=...)
    at engines/titanic/pet_control/pet_conversations.cpp:492
#11 0x00000000004e8f52 in Titanic::CPetConversations::KeyCharMsg (
    this=0x1efa318, msg=0x7ffffffb7ff0)
    at engines/titanic/pet_control/pet_conversations.cpp:219
#12 0x00000000004e4741 in Titanic::CPetControl::KeyCharMsg (this=0x1efa1b0, 
    msg=0x7ffffffb7ff0) at engines/titanic/pet_control/pet_control.cpp:334
#13 0x00000000004c64ba in Titanic::CMessage::perform (this=0x7ffffffb7ff0, 
    treeItem=0x1efa1b0) at engines/titanic/messages/messages.cpp:105
#14 0x00000000004c625f in Titanic::CMessage::execute (this=0x7ffffffb7ff0, 
    target=0x1efa1b0, classDef=0x0, flags=2)
    at engines/titanic/messages/messages.cpp:58
#15 0x000000000054db0d in Titanic::CInputHandler::dispatchMessage (
    this=0x19fe368, msg=0x7ffffffb7ff0)
    at engines/titanic/input_handler.cpp:147
#16 0x000000000054d769 in Titanic::CInputHandler::processMessage (
    this=0x19fe368, msg=0x7ffffffb7ff0) at engines/titanic/input_handler.cpp:79
#17 0x000000000054d6ca in Titanic::CInputHandler::handleMessage (
    this=0x19fe368, msg=..., respectLock=true)
    at engines/titanic/input_handler.cpp:69
#18 0x000000000054e497 in Titanic::CInputTranslator::keyDown (this=0x19fe398, 
    keyState=...) at engines/titanic/input_translator.cpp:111
#19 0x000000000054fac1 in Titanic::CMainGameWindow::keyDown (this=0x147c710, 
    keyState=...) at engines/titanic/main_game_window.cpp:366
#20 0x0000000000549546 in Titanic::Events::pollEvents (this=0x147a530)
    at engines/titanic/events.cpp:93
#21 0x00000000005495e0 in Titanic::Events::pollEventsAndWait (this=0x147a530)
    at engines/titanic/events.cpp:110
#22 0x00000000004230ef in Titanic::TitanicEngine::run (this=0x1432070)
    at engines/titanic/titanic.cpp:144
#23 0x000000000040e00e in runGame (plugin=0xc19b40, system=..., 
    edebuglevels=...) at base/main.cpp:263
#24 0x000000000040f1d1 in scummvm_main (argc=1, argv=0x7fffffffdf48)
    at base/main.cpp:529
#25 0x000000000040c17e in main (argc=1, argv=0x7fffffffdf48)
    at backends/platform/sdl/posix/posix-main.cpp:45

comment:2 by dafioram, 7 years ago

Component: --Unset--Engine: Titanic
Game: Starship Titanic

comment:3 by dreammaster, 7 years ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.