RPCS3 Forums

Full Version: LDR: class std::out_of_range thrown: invalid vector<T> subscript
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

M9k

Hi all, I'm facing this error when I try to launch something:
LDR: class std::out_of_range thrown: invalid vector<T> subscript
No other error, I try to change PPU/SPU decoder but nothing change.
I have Microsoft Visual C++ 2015 both x86/x64 version 14.0.23918 with Windows 10 Education 10.0.10586 Build 10586.
CPU: i7-6500U
GPU: Nvidia GTX 950m
I hope this report will help to improve RPCS3 Smile

EDIT: The problem is about libfs_155
Module list doesn't make sense. If you pick random things without understanding, no wonder it fails.

M9k

(08-03-2016, 07:09 AM)NekotekinaHito Wrote: [ -> ]Module list doesn't make sense. If you pick random things without understanding, no wonder it fails.
The error doesn't depend from modules, anyway the only needed modules for that game are libfs.prx and libfs_155.prx, and with them the error is the same, without them i get an error with sys_fs_open and sys_fs_stat.
This log is only with libfs and libfs_155.
Don't LLE libfs_155, I don't think that can even be LLEd. If you need libfs for the game to work like in Air Tonelico just libfs is fine.

M9k

(08-03-2016, 01:35 PM)Annie Wrote: [ -> ]Don't LLE libfs_155, I don't think that can even be LLEd. If you need libfs for the game to work like in Air Tonelico just libfs is fine.
Without libfs_155 it doesn't work too, I got this errors:
·E {PPU[0x2] Thread (main_thread) [0x01930090]} sys_fs: sys_fs_open('/dev_bdvd/PS3_GAME/USRDIR/__dummy.ini'): failed to open file (flags=0, mode=0)
...
·U {PPU[0x2] Thread (main_thread) [0x0192eec0]} sys_fs TODO: sys_fs_fcntl(): Unknown operation 0xc0000006 (fd=-1, arg=*0xd007e5d8, size=0x20)
·W {PPU[0x2] Thread (main_thread) [0x01930090]} sys_fs: sys_fs_open(path=*0xd007e7d0, flags=0, fd=*0xd007e680, mode=0, arg=*0x0, size=0x0)
·W {PPU[0x2] Thread (main_thread) [0x01930090]} sys_fs: *** path = '/dev_bdvd/PS3_GAME/USRDIR/__dummy.ini'
·E {PPU[0x2] Thread (main_thread) [0x01930090]} sys_fs: sys_fs_open('/dev_bdvd/PS3_GAME/USRDIR/__dummy.ini'): failed to open file (flags=0, mode=0)
·E {PPU[0x2] Thread (main_thread) [0x01930090]} PPU: 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT
...
·E {PPU[0x2] Thread (main_thread) [0x011dbad4]} sys_spu: Unsupported SPU Thread options (0x2)

And other like that, thanks anyway for the support, I know from the start that probably doesn't work well, but I want to help the developing, I hope this report will be useful for future fix or improvements Smile
The game might look for files that aren't required to run the game (for example, stuff used in debug environments) and not find them and still be able to run properly.
If the file isn't there, it's probably not needed.
This can or cannot be the case though.

Try not loading libfs at all, and start with libsre, libspurs_jq, libresc and librtc.
It does crash with an access violation, that happens with a hand full of games at the moment.
(08-03-2016, 01:54 PM)M9k Wrote: [ -> ]
(08-03-2016, 01:35 PM)Annie Wrote: [ -> ]Don't LLE libfs_155, I don't think that can even be LLEd. If you need libfs for the game to work like in Air Tonelico just libfs is fine.
Without libfs_155 it doesn't work too, I got this errors:
·E {PPU[0x2] Thread (main_thread) [0x01930090]} sys_fs: sys_fs_open('/dev_bdvd/PS3_GAME/USRDIR/__dummy.ini'): failed to open file (flags=0, mode=0)
...
·U {PPU[0x2] Thread (main_thread) [0x0192eec0]} sys_fs TODO: sys_fs_fcntl(): Unknown operation 0xc0000006 (fd=-1, arg=*0xd007e5d8, size=0x20)
·W {PPU[0x2] Thread (main_thread) [0x01930090]} sys_fs: sys_fs_open(path=*0xd007e7d0, flags=0, fd=*0xd007e680, mode=0, arg=*0x0, size=0x0)
·W {PPU[0x2] Thread (main_thread) [0x01930090]} sys_fs: *** path = '/dev_bdvd/PS3_GAME/USRDIR/__dummy.ini'
·E {PPU[0x2] Thread (main_thread) [0x01930090]} sys_fs: sys_fs_open('/dev_bdvd/PS3_GAME/USRDIR/__dummy.ini'): failed to open file (flags=0, mode=0)
·E {PPU[0x2] Thread (main_thread) [0x01930090]} PPU: 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT
...
·E {PPU[0x2] Thread (main_thread) [0x011dbad4]} sys_spu: Unsupported SPU Thread options (0x2)

And other like that, thanks anyway for the support, I know from the start that probably doesn't work well, but I want to help the developing, I hope this report will be useful for future fix or improvements Smile

You're running a ps3 disc game. If your /dev_bdvd/ path isn't properly set you'll run into errors like these. Are you executing the EBOOT manually? If so, you ought to set "/dev_bdvd/" to "$GameDir/../". I dont know if VFS mapping was restored using the user interface; if not you'd have to edit your config.yml manually.
Good luck.

M9k

I set the dev_bdvd folder but __dummy.ini, engine.ini and __dummy.sdat doesn't exist, engine.sda is fine, I try to create some void file with those name but nothing change, I try using libsre, libspurs_jq, libresc and librtc or only libfs but I always got this errors:
-E LDR: Unknown module 'sys_fs_ps2disc'
(if the files above doesn't exist, errors about it)
(if I don't use libfs I got errors ys_fs TODO: sys_fs_fcntl(): Unknown operation 0xc0000006 (fd=-1, arg=*0xd007e5d8 or *0xd007e548, size=0x20)
-U {PPU[0x1] Thread (main_thread) [0x011dc864]} sysPrxForUser TODO: _sys_process_atexitspawn()
-U {PPU[0x1] Thread (main_thread) [0x011dca5c]} sysPrxForUser TODO: _sys_process_at_Exitspawn
-E {PPU[0x2] Thread (main_thread) [0x011dbad4]} sys_spu: Unsupported SPU Thread options (0x2) (five of it)
-E {PPU[0x72] Thread (CommandQueueConsumerThread) [0x011db39c]} cellGame: cellGameDataCheckCreate2(version=0x0, dirName=*0x20176b58, errDialog=0x1, funcStat=*0x14f17b0, container=-1)
-F {PPU[0x1] Thread (main_thread) [0x00d041c8]} struct vm::access_violation thrown: Access violation reading address 0x0
/dev_bdvd/ is mounted automatically if PS3_DISC.SFB is found in appropriate upper level directory.
libfs_155 cannot be loaded simultaneously with libfs, it's definitely wrong.