The Dig (Spanish version) segfaulting.

Ask for help with ScummVM problems

Moderator: ScummVM Team

Locked
jomateix
Posts: 1
Joined: Sat Nov 18, 2006 2:10 pm

The Dig (Spanish version) segfaulting.

Post by jomateix »

I have a problem with the Spanish version of The Dig. It segfaults when I try to run it.
Here's the output I get:

Code: Select all

javier@uberbox ~/sources/scummvm-0.9.1 $ ./scummvm -f
WARNING: Can not find theme config file 'modern.ini'!
WARNING: Could not initialize your preferred theme, falling back to classic style!
Looking for dig
Trying to start game 'The Dig'
Violación de segmento
Backtrace:

Code: Select all

(gdb) bt
#0  Scumm::NutRenderer::loadFont (this=0x85e66a8, filename=0xbff89be1 "font0.nut") at nut_renderer.cpp:107
#1  0x08091e43 in Scumm::SmushPlayer::setupAnim (this=0x85c4620, file=0x847a7b2 "sq1.san") at smush_player.cpp:1076
#2  0x0809204b in Scumm::SmushPlayer::play (this=0x85c4620, filename=0x847a7b2 "sq1.san", offset=0, startFrame=0) at smush_player.cpp:1320
#3  0x08124670 in Scumm::ScummEngine_v6::o6_kernelSetFunctions (this=0x848f188) at script_v6.cpp:2536
#4  0x0811e165 in Scumm::ScummEngine_v6::executeOpcode (this=0x848f188, i=201 'É') at script_v6.cpp:379
#5  0x081261a8 in Scumm::ScummEngine::executeScript (this=0x848f188) at script.cpp:470
#6  0x08127d88 in Scumm::ScummEngine::runAllScripts (this=0x848f188) at script.cpp:923
#7  0x0805d68e in Scumm::ScummEngine::scummLoop (this=0x848f188, delta=0) at scumm.cpp:1717
#8  0x0805da8c in Scumm::ScummEngine::go (this=0x848f188) at scumm.cpp:1557
#9  0x080520ac in runGame (plugin=0x840dcd0, system=@0x8405080, edebuglevels=@0xbff8a55c) at main.cpp:244
#10 0x0805285f in scummvm_main (argc=1, argv=0xbff8a784) at main.cpp:351
#11 0x0804feb1 in main (argc=1, argv=0xbff8a784) at sdl.cpp:99
Full BackTrace:

Code: Select all

(gdb) bt full
#0  Scumm::NutRenderer::loadFont (this=0x85e66a8, filename=0xbff89be1 "font0.nut") at nut_renderer.cpp:107
        codec = 44
        fobjptr = (const uint8 *) 0x85e87f6 "\002"
        file = &#123;<Scumm&#58;&#58;BaseScummFile> = &#123;<Common&#58;&#58;File> = &#123;<Common&#58;&#58;SeekableReadStream> = &#123;<Common&#58;&#58;ReadStream> = &#123;<Common&#58;&#58;Stream> = &#123;
            _vptr.Stream = 0x8350718&#125;, <No data fields>&#125;, <No data fields>&#125;, <Common&#58;&#58;WriteStream> = &#123;<No data fields>&#125;, _handle = 0x0, _ioFailed = false,
      _refcount = 1, _name = &#123;_vptr.String = 0x83d59c8, _str = 0x8542818 "font0.nut", _len = 9, _refCount = 0x847a578, _capacity = 31,
        static emptyString = &#123;_vptr.String = 0x83d59c8, _str = 0x0, _len = 0, _refCount = 0x0, _capacity = 0,
          static emptyString = <same as static member of an already seen type>&#125;&#125;&#125;, <No data fields>&#125;, _encbyte = 0 '\0', _subFileStart = 0,
  _subFileLen = 0&#125;
        length = <value optimized out>
        dataSrc = &#40;byte *&#41; 0x85e7ac0 "AHDR"
        offset = 536874298
        __PRETTY_FUNCTION__ = "bool Scumm&#58;&#58;NutRenderer&#58;&#58;loadFont&#40;const char*&#41;"
#1  0x08091e43 in Scumm&#58;&#58;SmushPlayer&#58;&#58;setupAnim &#40;this=0x85c4620, file=0x847a7b2 "sq1.san"&#41; at smush_player.cpp&#58;1076
        i = 0
        file_font = "font0.nut\000"
#2  0x0809204b in Scumm&#58;&#58;SmushPlayer&#58;&#58;play &#40;this=0x85c4620, filename=0x847a7b2 "sq1.san", offset=0, startFrame=0&#41; at smush_player.cpp&#58;1320
        f = &#123;<Scumm&#58;&#58;BaseScummFile> = &#123;<Common&#58;&#58;File> = &#123;<Common&#58;&#58;SeekableReadStream> = &#123;<Common&#58;&#58;ReadStream> = &#123;<Common&#58;&#58;Stream> = &#123;
            _vptr.Stream = 0x8350718&#125;, <No data fields>&#125;, <No data fields>&#125;, <Common&#58;&#58;WriteStream> = &#123;<No data fields>&#125;, _handle = 0x0, _ioFailed = false,
      _refcount = 1, _name = &#123;_vptr.String = 0x83d59c8, _str = 0x85427c8 "sq1.san", _len = 7, _refCount = 0x847a2e0, _capacity = 31, static emptyString = &#123;
          _vptr.String = 0x83d59c8, _str = 0x0, _len = 0, _refCount = 0x0, _capacity = 0,
          static emptyString = <same as static member of an already seen type>&#125;&#125;&#125;, <No data fields>&#125;, _encbyte = 0 '\0', _subFileStart = 0,
  _subFileLen = 0&#125;
        oldMouseState = false
#3  0x08124670 in Scumm&#58;&#58;ScummEngine_v6&#58;&#58;o6_kernelSetFunctions &#40;this=0x848f188&#41; at script_v6.cpp&#58;2536
        sp = &#40;Scumm&#58;&#58;SmushPlayer *&#41; 0x85c4620
        args = &#123;6, 0 <repeats 29 times>&#125;
        num = <value optimized out>
        a = <value optimized out>
        __PRETTY_FUNCTION__ = "void Scumm&#58;&#58;ScummEngine_v6&#58;&#58;o6_kernelSetFunctions&#40;&#41;"
#4  0x0811e165 in Scumm&#58;&#58;ScummEngine_v6&#58;&#58;executeOpcode &#40;this=0x848f188, i=201 'É'&#41; at script_v6.cpp&#58;379
No locals.
#5  0x081261a8 in Scumm&#58;&#58;ScummEngine&#58;&#58;executeScript &#40;this=0x848f188&#41; at script.cpp&#58;470
        c = 138998252
#6  0x08127d88 in Scumm&#58;&#58;ScummEngine&#58;&#58;runAllScripts &#40;this=0x848f188&#41; at script.cpp&#58;923
        cycle = 1
        i = <value optimized out>
        numCycles = 1
#7  0x0805d68e in Scumm&#58;&#58;ScummEngine&#58;&#58;scummLoop &#40;this=0x848f188, delta=0&#41; at scumm.cpp&#58;1717
        oldEgo = 3
#8  0x0805da8c in Scumm&#58;&#58;ScummEngine&#58;&#58;go &#40;this=0x848f188&#41; at scumm.cpp&#58;1557
        delta = 0
        diff = <value optimized out>
#9  0x080520ac in runGame &#40;plugin=0x840dcd0, system=@0x8405080, edebuglevels=@0xbff8a55c&#41; at main.cpp&#58;244
        gameDataPath = &#123;_vptr.String = 0x83d59c8, _str = 0x840c4d0 "/home/javier/The_Dig/", _len = 21, _refCount = 0x840c558, _capacity = 63,
  static emptyString = &#123;_vptr.String = 0x83d59c8, _str = 0x0, _len = 0, _refCount = 0x0, _capacity = 0,
    static emptyString = <same as static member of an already seen type>&#125;&#125;
        engine = &#40;class Engine *&#41; 0x848f188
        err = <value optimized out>
        caption = &#123;_vptr.String = 0x83d59c8, _str = 0x840c400 "The Dig", _len = 7, _refCount = 0x840c468, _capacity = 31, static emptyString = &#123;
    _vptr.String = 0x83d59c8, _str = 0x0, _len = 0, _refCount = 0x0, _capacity = 0, static emptyString = <same as static member of an already seen type>&#125;&#125;
        desc = &#123;_vptr.String = 0x83d59c8, _str = 0x840c5c0 "The Dig", _len = 7, _refCount = 0x846b108, _capacity = 31, static emptyString = &#123;
    _vptr.String = 0x83d59c8, _str = 0x0, _len = 0, _refCount = 0x0, _capacity = 0, static emptyString = <same as static member of an already seen type>&#125;&#125;
        result = 0
#10 0x0805285f in scummvm_main &#40;argc=1, argv=0xbff8a784&#41; at main.cpp&#58;351
        result = <value optimized out>
        plugin = &#40;const Plugin *&#41; 0x840dcd0
        specialDebug = &#123;_vptr.String = 0x83d59c8, _str = 0x0, _len = 0, _refCount = 0x0, _capacity = 0, static emptyString = &#123;_vptr.String = 0x83d59c8,
---Type <return> to continue, or q <return> to quit---
    _str = 0x0, _len = 0, _refCount = 0x0, _capacity = 0, static emptyString = <same as static member of an already seen type>&#125;&#125;
        command = &#123;_vptr.String = 0x83d59c8, _str = 0x0, _len = 0, _refCount = 0x8406df8, _capacity = 0, static emptyString = &#123;_vptr.String = 0x83d59c8,
    _str = 0x0, _len = 0, _refCount = 0x0, _capacity = 0, static emptyString = <same as static member of an already seen type>&#125;&#125;
        settings = &#123;_arr = 0x8407948, _arrsize = 53, _nele = 0, _hash = &#123;<No data fields>&#125;, _equal = &#123;<No data fields>&#125;&#125;
        __PRETTY_FUNCTION__ = "int scummvm_main&#40;int, char**&#41;"
#11 0x0804feb1 in main &#40;argc=1, argv=0xbff8a784&#41; at sdl.cpp&#58;99
        res = <value optimized out>
        __PRETTY_FUNCTION__ = "int main&#40;int, char**&#41;"
If I can provide any more useful info, tell me.
User avatar
sev
ScummVM Lead
Posts: 2279
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

Yeah, there is a big READ ME BEFORE POSTING. And Forum Rule #3a inside.


Eugene
Locked