aldostools / webMAN-MOD

Extended services for PS3 console (web server, ftp server, netiso, ntfs, ps3mapi, etc.)
https://aldostools.github.io/webMAN-MOD/
GNU General Public License v3.0
1.33k stars 177 forks source link

1.47.47g Issue Tracker #1132

Closed drewdrew21b closed 5 days ago

drewdrew21b commented 3 weeks ago

I am seeing the following issues when testing the new WebMAN MOD 1.47.47g:

References:

PS3 Details:

Issues:

  1. After scanning all my backups on PS3NetServ (several thousand) and locally (117 PS1, PS2, and PS3), Webman Games menu loads blank
    • screenshot_2024_10_28_22_18_24 A. Socat is displaying the following when accessing this screen over and over. Screen never loads:
      • open_path /dev/hdd0/tmp/wm_request
      • Smoke03 : Reseted
      • LV1 Poke 0x800000000800a334 386000017be40620 B. Hard Reset, Soft Reset not resolving issue. C. Clearing /dev_hdd0/tmp/wm_config.bin, restarting, and updating scan settings remotely via http:///setup.ps3 resolves this issue until scan is run again. ~~2. WebMAN Mod Portal > CPU / RSX Page > NAND Firmware Toggle > Clicking on text causes error in Dev Tools: A. Arrow also does not recollapse the text that is shown after clicking on it. B. Issues are present on both PS3 and external Browser (MS Edge) C. image~~ <-- This is expected behavior, the output is just from my plugins.
drewdrew21b commented 3 weeks ago

Other Tests without issues:

drewdrew21b commented 3 weeks ago

socat was not working originally when trying to update the plugins manually as originally asked on Twitter. Talking to other folks offline on discord, it seems the socat feature needs WebMAN Mod running in order to enable feature properly outside of other tools.

Unable to debug to see why plugins weren't working when installing them manually, however, I did verify all the paths in boot_plugins.txt and I didn't see any typo's or reasons why it wouldn't load. boot_plugins.txt

Provided PKG installer worked without any issues.

aldostools commented 3 weeks ago

@drewdrew21b Thank you for your feedback. I will investigate the issue with ps3netsrv.

In regards to the manual installation, it could be some mistake in the procedure that you used. The sprx in the pkg that I provided is the same found the in the folder linked in X.

drewdrew21b commented 3 weeks ago

Can I provide any other logs or xml files from either service?

aldostools commented 3 weeks ago

For the moment I only need to identify if any module is not working correctly. If I need more detailed information I will ask for it. Thank you very much for your feedback.

drewdrew21b commented 3 weeks ago

Looks like when I have it load scan for PSP games is where the issue lies. After generating the mygames.xml, it contains "<>910 PSP™ format games</>"

Is there any special characters that I should be on the lookout for that would break this? Maybe one of these has an odd title, or is 910 items breaking the system from displaying properly?

aldostools commented 3 weeks ago

I have been checking the issue with PS3Netsrv and 1.47.47g scanned my games fine. It's possible that the issue could be caused by an excess of games or file names larger than the expected average.

For debugging it would help if you can upload a zip with mygames.xml found in /dev_hdd0/xmlhost/game_plugin This file contains the XML used to display the game list on XMB.

drewdrew21b commented 3 weeks ago

Here are 2 files, one working, one broken with PSP games. Remove .txt extension.

bad-mygames.xml.txt working-mygames.xml.txt

Thank you for looking at this!

aldostools commented 3 weeks ago

Dear @drewdrew21b Thank you for your files. I confirmed that the issue was caused by an item added out of memory boundary. In your case was that too many PSP games exceeded the amount of memory allocated to add the scanned PSP games. The last entry overwrote the first PS2 xml entry, breaking completely the XML.

Please try using this new beta to verify if the issue was corrected. https://ps3.aldostools.org/webMAN_MOD_1.47.47g_beta_20241031.pkg

Other possible solution -if the new beta doesn't fix the bug- is changing the memory profile to allow more PSP games and set [MC] to 4-bg in /setup.

drewdrew21b commented 3 weeks ago

@aldostools ,

Thank you for taking the time to review this issue!

Other possible solution -if the new beta doesn't fix the bug- is changing the memory profile to allow more PSP games and set [MC] to 4-bg in /setup.

I checked, this is already enabled. The xml that was output now is different than before but still breaking the WebMAN Games option on my PS3. Here is the latest. If you prettify the xml, it shows some interesting characters on line 847: Note: Gamelist loads fine from MS Edge via /sman.ps3? endpoint

XML: (remove .txt extension)

If the answer is you can't have over # of games that this scans or it breaks things then that's probably fine, I just don't know what that exact threshold would be.

aldostools commented 3 weeks ago

The issue is still the same: the PSP code is exceeding the memory boundary and it's overwriting the PS2 section.

I'll try to fix it with another build. Thank you for your help and patience.

aldostools commented 3 weeks ago

I haven't had the time to test this build myself, but if you can, please try this build. http://ps3.aldostools.org/webMAN_MOD_1.47.47g_beta_20241101.pkg

It should fix the remaining out of boundary.

drewdrew21b commented 3 weeks ago

Looks like that did it! screenshot_2024_11_01_17_52_27

I tested a few games with it as well, all the games that were on the compatibility list that I tested were working through PS3NetSrv

aldostools commented 3 weeks ago

Excellent. Thank you for you help finding the bug & testing the bug fixes.

drewdrew21b commented 5 days ago

Resolved on public release: 1.47.47g