[Scummvm-tracker] [ScummVM :: Bugs] #14497: BACKENDS: PSP: Crash on Start since 2.7.0

ScummVM :: Bugs trac at scummvm.org
Thu Feb 22 16:47:57 UTC 2024


#14497: BACKENDS: PSP: Crash on Start since 2.7.0
---------------------------+------------------------
Reporter:  Wolve-Chen      |       Owner:  (none)
    Type:  defect          |      Status:  new
Priority:  high            |   Component:  Port: PSP
 Version:                  |  Resolution:
Keywords:  crash on start  |        Game:
---------------------------+------------------------
Comment (by rsn8887):

 The "could not find any engine capable of running the selected game."
 error that appears on PSP (1000, 2000 and 3000) when I use --enable-
 detection-dynamic seems to be due to an out of memory:

 "
 elfloader: open("plugins/SCUMM.PLG")
 elfloader: plugins/SCUMM.PLG found!
 elfloader: phoff = 52, phentsz = 32, phnum = 2
 elfloader: Loading segment 0
 elfloader: offs = 80, filesz = 1f0d34, memsz = 1f12dc, align = 80
 failed to find space to allocate 2036444 bytes
 WARNING: elfloader: Out of memory.!
 WARNING: elfloader: Failed loading plugin 'plugins/SCUMM.PLG'!
 elfloader: open("plugins/SCUMM.PLG")
 elfloader: plugins/SCUMM.PLG found!
 elfloader: phoff = 52, phentsz = 32, phnum = 2
 elfloader: Loading segment 0
 elfloader: offs = 80, filesz = 1f0d34, memsz = 1f12dc, align = 80
 failed to find space to allocate 2036444 bytes
 WARNING: elfloader: Out of memory.!
 WARNING: elfloader: Failed loading plugin 'plugins/SCUMM.PLG'!
 MetaEngine: SCUMM [v0-v6 games, v7 & v8 games] couldn't find a match for
 an engine plugin.
 punycode_decode: returning ms0<U+0081>º
 Adding Gui Object 0x9ba7340 to trash
 Delayed deletion of Gui Object 0x9ba7340
 ELFMemoryManager: freed 7047644 bytes at 0x9229400. Total 0 bytes
 elfloader: Deleting shorts segment from 0x0 to 0x0.
 "

 If I don't use --enable-detection-dynamic, on PSP 2000/3000, there's no
 out of memory (PSP 1000 crashes on startup of ScummVM in this case):
 "
 elfloader: open("plugins/SCUMM.PLG")
 elfloader: plugins/SCUMM.PLG found!
 elfloader: phoff = 52, phentsz = 32, phnum = 2
 elfloader: Loading segment 0
 elfloader: offs = 80, filesz = 1f0d34, memsz = 1f12dc, align = 80
 ELFMemoryManager: allocated 2036444 bytes at 0x9911500. Total 2036444
 bytes
 elfloader: Allocated segment @ 0x9911500
 elfloader: Setting 0x9b02234 to 0x9b027dc to 0 for bss
 elfloader: Reading the segment into memory
 elfloader: Segment has been read into memory
 elfloader: Loading segment 1
 elfloader: offs = 1f0db4, filesz = 0, memsz = 0, align = 80
 elfloader: Shorts segment size 0 allocated. End = 0x0. Remaining space =
 98b5fc0. Highest so far is 0x9cd7d20.
 elfloader: Shorts segment @ 0x0 to 0x0. Segment wants to be at 0. Offset=0
 elfloader: Reading the segment into memory
 elfloader: Segment has been read into memory
 elfloader: Symbol section at section 13, size 270e0
 elfloader: Loaded 9998 symbols.
 elfloader: Loaded relocation table. 52354 entries. base address=0x9911500
 elfloader: R_MIPS_HI16: i=0, offset=c0, ahl = 1a0000, target = 3c02001a
 "
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14497#comment:11>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list