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.3k stars 176 forks source link

VSH freezes console #174

Closed Cherbet closed 5 years ago

Cherbet commented 5 years ago

If i try to open VSH menu on last wmm build, the console freezing. What to do?

aldostools commented 5 years ago

To check the issue I need to know more info like firmware version, type, the exact version of webMAN and how exactly it happens (after mount a game, after start the console), if it freeze when it VSH menu opens or when you select an option, if you have other plugins loaded, etc.

Meanwhile you can disable the option going to /setup.ps3 and unchecking the shortcut for VSH menu.

If you're console is still frozen, press the power button for 15 seconds until it turns off. Avoid to unplug the power cord unless it is strictly necessary.

Cherbet commented 5 years ago

Rebug 4.84.2 Rex(Cobra 8.01) (On old firmware 4.82.2(Cobra 7.5) freezes too). Webman 1.47.13, if i try to open it from Games menu > settings > VSH menu on any cases, or maybe i need to install something?

aldostools commented 5 years ago

Ok, I'll check it when I return home. Meanwhile you can try re-downloading the pkg again or the prior version 1.47.12 and re-installing them, just in case you got the initial package of 1.47.13 that was corrupted.

Cherbet commented 5 years ago

I tried reinstall packages, old, new, firmware, it's still freezing, if i try to load it from boot_plugins(copy vsh sprsx's), it's first unloads and after try again freezes

aldostools commented 5 years ago

VSH Menu should not be listed in /boot_plugins.txt. That plugin is loaded dynamically from webftp_server.srpx

I'll reply back when I have checked the issue. It could take me some hours.

Cherbet commented 5 years ago

Yeah, maybe, but it's not working in any cases, very sadly

aldostools commented 5 years ago

I have tested VSH Menu and sLaunch from webMAN Setup menu on XMB and using the pad shortcuts (hold SELECT for 5 seconds) and I couldn't get any freeze.

Try disabling any dynamic theme if you are using one... sometimes they cause issues with background plugins.

Cherbet commented 5 years ago

I'm using standard ps3 theme, all, what i installed, it's cfw rebug 4.84.2 and webman 1.47.14, what's wrong with vsh?

J0hnTR commented 5 years ago

Still the same with Webman 1.47.15 on clear REBUG 4.84.2. Any news?

Cherbet commented 5 years ago

Still the same with Webman 1.47.15 on clear REBUG 4.84.2. Any news?

No news, mine still freezing too, maybe aldo fix it, if is find this bug, but not fixed at this moment

aldostools commented 5 years ago

The last time I checked this bug I couldn't reproduce this error.

Please check if the VSH menu works if you use hold down SELECT button for 5 seconds on XMB. If it freezes with the combo, then it tells me that the issue is in the wm_vsh_menu.sprx

If it only freezes when you access it from Games > Settings > VSH Menu, then it's possible that the issue is in your webMAN_EN.xml (or the xml corresponding to your language).

The current version of webMAN uses the system module "idle_plugin" as proxy to send the web commands from the XMB to the plugin. webMAN redirects "idle_plugin" to the file /dev_hdd0/tmp/wm_res/wm_proxy.sprx

If wmproxy.sprx does not exist or if the XML (webMAN**.xml) has a module_name different to idle_plugin, webrender_plugin or webbrowser_plugin, the XMB will freeze instantly.

So, please check if VSH Menu loads with the combo (pressing SELECT for 5 seconds), that wm_proxy.sprx exists in /dev_hdd0/tmp/wmres, and that the webMAN**.xml has idle_plugin in the module_name of <Table key="wm_vsh_menu_load">

EDIT: If you're using other plugins, please disable them. There are reports of conflicts with plugins like CCAPI.

Cherbet commented 5 years ago

Now, changed language of system and webman, after reinstalled it(To accept english everywhere, my home language is russian), and now vsh loads properly. So, now i try to change system language, but not webman(Left it as english) and try again, i think issue in russian language, it's cannot loading while you opening vsh, cuz maybe that issue of code, what pointed only for english locale.

Cherbet commented 5 years ago

After changing language of system to russian(not webman, language, it's left as english), console freezed again. I will try to find that piece of code, to check it, but that is issue, now you know where is problem

aldostools commented 5 years ago

Thank for you for your feedback. I guess the issue could be related to the use of cyrillic fonts (maybe other fonts have issues too). https://github.com/aldostools/webMAN-MOD/blob/master/_Projects_/vsh_menu/blitting.c

For the moment try using english or a language with latin fonts, until the issue is fixed.

Cherbet commented 5 years ago

readed readme of vsh, and maybe here is: v0.3: Added Firmware version info (spoofed if it is). Thanks @Zar. New layout, background and icons.

(Only one english version for the moment...)

Cherbet commented 5 years ago

Okay, wait, i try now

Cherbet commented 5 years ago

Changed character set to lating(us). Freezed, maybe try to change it in sources.

aldostools commented 5 years ago

I'm at work now. I'll try to check the issue when I get home or in the week.

Cherbet commented 5 years ago

Okay, now i know, problem in different languages than english, so, i waiting for updates, thank you!

aldostools commented 5 years ago

IIRC I tested other latin languages (spanish, french, italian)... Anyway I will test again later and update it if I find a fix.

Cherbet commented 5 years ago

okay, if you need testing, write me, i test it

aldostools commented 5 years ago

VSH Menu & sLaunch menu now show an error message and return to XMB if system language is Russian. It seems that the VSH freeze only happens with Russian language. Other languages like Japanese, Korean and languages with latin alphabet like English, French, Italian, German, Spanish don't have the issue.

I tried different approaches to solve the issue. Unfortunately I couldn't prevent the freeze. For now, these plugins do not support Russian language. Choose a different system language if you need to use them.

The updated binary is available in the releases page.

Cherbet commented 5 years ago

VSH Menu & sLaunch menu now show an error message and return to XMB if system language is Russian. It seems that the VSH freeze only happens with Russian language. Other languages like Japanese, Korean and languages with latin alphabet like English, French, Italian, German, Spanish don't have the issue.

I tried different approaches to solve the issue. Unfortunately I couldn't prevent the freeze. For now, these plugins do not support Russian language. Choose a different system language if you need to use them.

The updated binary is available in the releases page.

Okay, vsh rendering symbols different than system?

aldostools commented 5 years ago

Honestly I don't know what is the cause of the bug...

I suspect it could be related to the rendering of fonts, but it could be also memory related. https://github.com/aldostools/webMAN-MOD/blob/master/_Projects_/vsh_menu/blitting.c

As the bug freezes the system, it requires constant reboots and that takes a lot of time. This week I'll be busy with the family due Easter time.... Maybe some developer reading this could debug this error. For the moment, change the system language to other language if you need to use these plugins.

At least now it doesn't freeze if you try to access the plugins (intentionally or by mistake).

Cherbet commented 5 years ago

Honestly I don't know what is the cause of the bug...

I suspect it could be related to the rendering of fonts, but it could be also memory related. https://github.com/aldostools/webMAN-MOD/blob/master/_Projects_/vsh_menu/blitting.c

As the bug freezes the system, it requires constant reboots and that takes a lot of time. This week I'll be busy with the family due Easter time.... Maybe some developer reading this could debug this error. For the moment, change the system language to other language if you need to use these plugins.

At least now it doesn't freeze if you try to access the plugins (intentionally or by mistake).

Okay, no problem, it's not hot) Thank you!