id summary reporter owner description type status priority component version resolution keywords cc game 6220 BACKENDS: OpenBSD - SIMON2 (DOS French) - SIGBUS with an early dialog on mips64el SF/tsomi dwatteau "{{{#!Markdown 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 }}} {{{#!div style=""font-size: 75%"" Ticket imported from: !#3599686. Ticket imported from: bugs/6220. }}}" defect closed normal Port: BSD fixed Simon the Sorcerer 2