[ scummvm-Bugs-3599686 ] SIMON2DOS French: SIGBUS with an early dialog on mips64el

SourceForge.net noreply at sourceforge.net
Sun Jan 6 15:19:50 CET 2013


Bugs item #3599686, was opened at 2013-01-06 06:19
Message generated for change (Tracker Item Submitted) made by tsomi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3599686&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unknown Crash/Other
Group: Simon The Sorcerer 2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Donovan Watteau (tsomi)
Assigned to: Nobody/Anonymous (nobody)
Summary: SIMON2DOS French: SIGBUS with an early dialog on mips64el

Initial Comment:
Hi,

This happens on the -current branch of OpenBSD/loongson (which uses the mips64el architecture, LP64, little-endian, strict alignment).

I used the latest git HEAD version (00c0986562f1eb0), with the "--disable-alsa --enable-debug --disable-seq-midi --enable-sndio" configure options, CXXFLAGS set to "-O2 -pipe -g" and the following [1] [2] patches from OpenBSD ports. The compiler is g++ 4.2.1.

I'm getting a SIGBUS with SIMON2DOS French, why is triggered by doing this:
- Start a new game
- Press Escape to skip the various introduction scenes
- When you can start playing, go to the castle
- A scene with the 2 guards starts. The game crashes just after Simon says "Qui, moi ?".

Here's gdb output (with "bt full" and "bt"):

Program received signal SIGBUS, Bus error.
AGOS::AGOSEngine::setupLocalStringTable (this=0x4a4d0000, 
    mem=0x4bf939ec "J'ai l'impression qu'ils ne sont pas tr=s souriants...", 
    num=440) at engines/agos/string.cpp:251
251			if (--num == 0)
#0  AGOS::AGOSEngine::setupLocalStringTable (this=0x4a4d0000, 
    mem=0x4bf939ec "J'ai l'impression qu'ils ne sont pas tr=s souriants...", 
    num=440) at engines/agos/string.cpp:251
No locals.
#1  0x0000000007fcbad0 in AGOS::AGOSEngine::loadTextIntoMem (this=0x4a4d0000, 
    stringId=33741) at engines/agos/string.cpp:332
	filename = {static _builtinCapacity = 20, _size = 6, 
  _str = 0x7ffe01a8 "TEXT05", {
    _storage = "TEXT05\000\000\000\000MJ{\024\001\000\200\221p\t", _extern = {
      _refCount = 0x353054584554, _capacity = 1246560256}}}
	p = Variable "p" is not available.
#0  AGOS::AGOSEngine::setupLocalStringTable (this=0x4a4d0000, 
    mem=0x4bf939ec "J'ai l'impression qu'ils ne sont pas tr=s souriants...", 
    num=440) at engines/agos/string.cpp:251
#1  0x0000000007fcbad0 in AGOS::AGOSEngine::loadTextIntoMem (this=0x4a4d0000, 
    stringId=33741) at engines/agos/string.cpp:332
#2  0x0000000007fcbbe0 in AGOS::AGOSEngine::getLocalStringByID (
    this=0x4a4d0000, stringId=33741) at engines/agos/string.cpp:164
#3  0x0000000007fcbf18 in AGOS::AGOSEngine::getStringPtrByID (this=0x4a4d0000, 
    stringId=33741, upperCase=false) at engines/agos/string.cpp:135
#4  0x000000000800a03c in AGOS::AGOSEngine_Simon1::os1_screenTextMsg (this=Variable "this" is not available.
) at engines/agos/script_s1.cpp:345
#5  0x0000000007fc4d7c in AGOS::AGOSEngine_Simon2::executeOpcode (this=Variable "this" is not available.
) at engines/agos/script_s2.cpp:283
#6  0x0000000007fba52c in AGOS::AGOSEngine::runScript (this=0x4a4d0000)
    at engines/agos/script.cpp:1030
#7  0x0000000007fcede0 in AGOS::AGOSEngine::startSubroutine (this=0x4a4d0000, 
    sub=0x4bf8d008) at engines/agos/subroutine.cpp:569
#8  0x0000000007fbd6ac in AGOS::AGOSEngine::o_process (this=0x4a4d0000)
    at engines/agos/script.cpp:463
#9  0x0000000007fc4d7c in AGOS::AGOSEngine_Simon2::executeOpcode (this=Variable "this" is not available.
) at engines/agos/script_s2.cpp:283
#10 0x0000000007fba52c in AGOS::AGOSEngine::runScript (this=0x4a4d0000)
    at engines/agos/script.cpp:1030
#11 0x0000000007fcede0 in AGOS::AGOSEngine::startSubroutine (this=0x4a4d0000, 
    sub=0x4bf8cc28) at engines/agos/subroutine.cpp:569
#12 0x000000000800859c in AGOS::AGOSEngine_Elvira2::oe2_doTable (this=Variable "this" is not available.
) at engines/agos/script_e2.cpp:356
#13 0x0000000007fc4d7c in AGOS::AGOSEngine_Simon2::executeOpcode (this=Variable "this" is not available.
) at engines/agos/script_s2.cpp:283
#14 0x0000000007fba52c in AGOS::AGOSEngine::runScript (this=0x4a4d0000)
    at engines/agos/script.cpp:1030
#15 0x0000000007fcede0 in AGOS::AGOSEngine::startSubroutine (this=0x4a4d0000, 
    sub=0x4bf893f8) at engines/agos/subroutine.cpp:569
#16 0x0000000007fbd6ac in AGOS::AGOSEngine::o_process (this=0x4a4d0000)
    at engines/agos/script.cpp:463
#17 0x0000000007fc4d7c in AGOS::AGOSEngine_Simon2::executeOpcode (this=Variable "this" is not available.
) at engines/agos/script_s2.cpp:283
#18 0x0000000007fba52c in AGOS::AGOSEngine::runScript (this=0x4a4d0000)
    at engines/agos/script.cpp:1030
#19 0x0000000007fcede0 in AGOS::AGOSEngine::startSubroutine (this=0x4a4d0000, 
    sub=0x4bf89de4) at engines/agos/subroutine.cpp:569
#20 0x0000000007fd17cc in AGOS::AGOSEngine::handleVerbClicked (
    this=0x4a4d0000, verb=Variable "verb" is not available.
) at engines/agos/verb.cpp:393
#21 0x0000000007fe2c90 in AGOS::AGOSEngine::go (this=0x4a4d0000)
    at engines/agos/agos.cpp:1063
#22 0x0000000007fa8eb8 in AGOS::AGOSEngine::run (this=0x4a4d0000) at agos.h:223
#23 0x0000000007db74f0 in runGame (plugin=0x4d81a900, system=Variable "system" is not available.
) at base/main.cpp:226
#24 0x0000000007db8a38 in scummvm_main (argc=Variable "argc" is not available.
) at base/main.cpp:452
#25 0x0000000007db5234 in main (argc=1, argv=0x7ffe1960)
    at backends/platform/sdl/posix/posix-main.cpp:45

[1] http://www.openbsd.org/cgi-bin/cvsweb/ports/games/scummvm/patches/patch-configure
[2] http://www.openbsd.org/cgi-bin/cvsweb/ports/games/scummvm/patches/patch-engines_draci_draci_h

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3599686&group_id=37116




More information about the Scummvm-tracker mailing list