ps5-payload-dev / websrv

A simple web server for jailbroken PS5s that accepts connections on port 8080
GNU General Public License v3.0
25 stars 3 forks source link

PS5 4.03, error opening mednafen... #1

Closed gen04177 closed 3 months ago

gen04177 commented 4 months ago

Starting Mednafen 1.32.1 Build information: Compiled with gcc Ubuntu Clang 18.1.3 (1) Compiled against zlib 1.3.1, running with zlib 1.3.1(flags=0x000000a9) Compiled against libiconv 17.1, running with libiconv 17.1 Compiled against SDL 2.30.2(SDL-2.30.2-g82bbf7b8b), running with SDL 2.30.2(SDL-2.30.2-g82bbf7b8b) Running with libFLAC 1.4.3 Base directory: Emulation modules: apple2 nes snes gb gba pce lynx md pcfx ngp psx ss ssfplay vb wswan sms gg sasplay snes_faust pce_fast demo cdplay Opening lockfile... Error: Error opening file "/mednafen.lck" for writing: Read-only filesystem Error opening file "/mednafen.lck" for writing: Read-only filesystem

gen04177 commented 4 months ago

websrv-error

gen04177 commented 4 months ago

log

john-tornblom commented 4 months ago

You are probably running an older version of the websrv.elf payload, Mednafen requires v0.5. I forgot to bump the version number in the command line from the readme last release, but it is fixed now, i.e.,

john@localhost:~$ export PS5_HOST=ps5
john@localhost:~$ wget -q -O - https://github.com/ps5-payload-dev/websrv/releases/download/v0.5/Payload.zip | gunzip -c -d | nc -q0 $PS5_HOST 9021
gen04177 commented 4 months ago

I tested with websrv v0.5, it returned error HTTP 503, below the log:

log...

john-tornblom commented 4 months ago

Sometimes this error occurs the first time a payload is launched, could you try again, and also attach the stdout if the error persists?

lör 22 juni 2024 kl. 17:51 skrev gen04177 @.***>:

I tested with websrv v0.5, it returned error HTTP 503, below the log:

<118>[ScePatchChecker] ( *) check (title_id='CUSA14566', app_version='01.00', check_option=5): status=0, trigger=10 userId=0xff return 0x80431068 <118>[ScePatchChecker] check (title_id='CUSA14566', app_version='', check_option=5): status=0, dl_status=0, trigger=10 userId=0xff return 0x80431068 <118>[SceLncService] launchApp(FAKE00000) <118>[SceLncService] category={gd} appCategoryType={0x00000000} VRMode={0,0} <118>[SceLncService] hnm,psnf,pc,tk,ns,pf,pn={1,0,0,0,0,1,0} appBootMode={2} <118>[SceLncService] appType={SCE_LNC_APP_TYPE_BIG_APP} [] appVer={} contentVersion={} appCategoryType={0x00000000} <118>[SceLncService] Waiting for LoginMgr <118>[SceLncService] Num. of logged-in users is 1 <118>[SceLncService] BigApp Launch Ready: Waiting <118>[SceLncService] BigApp Launch Ready: OK <118>[SceLncService] PrepareProcessLaunchDebuggerCheck() <118>[SceLncService] PrepareProcessLaunchDebuggerCheck() returned <118>[SceLncService] EnsureBigAppBudget() <118>[ResArbitrator][api ]sceResourceArbitratorEnsureBigAppBudget187d5 : categoryType[0x0], titleId[FAKE00000], isConfirmed[false] <118>[ResArbitrator][TestId ]EnsureBudget 187d5 : EnsureBudget() <118>[ResArbitrator][QUEUE ]Enqueue 187d5 : Enqueue(id[0], t[1], user[0] state[RUNNING]) queue.size[1] <118>[ResArbitrator][App ]GetExecutable 1890a : Target id[0] budgets{vcn[ 0] acp[ 0] mem[ 0]} prio[2(2)] <118>[ResArbitrator][App ]SetVCNBudget 1890a : pid/appId is INVALID_ID.vcn budget not set. <118>[ResArbitrator][RA_main ]cbResult 1890a : Callback id[0] type[RESULT] result[true] state[RUNNING] <118>[ResArbitrator][TestId ]raCallback 1890a : BigApp[0xffffffff] Changed state"RUNNING" <118>[ResArbitrator][QUEUE ]Remove 1890a : Remove:(id[0] state[RUNNING] type[1]) queue.size[0] <118>[SceLncService] EnsureBigAppBudget() returned <118>[ResArbitrator][App ]Dump 1890a : -- Exec Apps ************************* <118>[ResArbitrator][App ]Dump 1890a : -1: Id[ 0] state[RUNNING] vcn[ 0] acp[ 0] mem[ 0] prio[2(2)] from[DIRECT(0x0)] userData[0x0] appId[0xffffffff] <118>[ResArbitrator][App ]Dump 1890a : -2: Id[100] state[RUNNING] vcn[ 0] acp[ 0] mem[ 0] prio[0(0)] from[IPMI(0x20830c780)] userData[0x0] pid[0x41] <118>[ResArbitrator][App ]Dump 1890a : -3: Id[190] state[RUNNING] vcn[ 0] acp[ 0] mem[ 34] prio[10(10)] from[DIRECT(0x0)] userData[0x0] pid[0x37] <118>[ResArbitrator][App ]Dump 1890a : -- No kicking Apps ************************* <118>[SceSystemStateMgr] Power Mode Change: BIG_APP <118>[SceSystemStateMgr] CPU HLT GC GFX F U ID FAN BAPM <118>[SceSystemStateMgr] 800 800 800 800 3200 3200 3200 3200 0 gen2 1239 1200 875 00840f60 1 off <118>[SceLncService] sceApplicationSave() categoryType={0x00000000}, debuggerRequestId={0xffffffff} <118>[Syscore App] No App needs to save. BigApp does not exist on the memory. <118>[SceLncService] W:\Build\J01795075\vsh\shell\shell_core\lnc_service\lnc_manager.cpp(2551) getAppType: LNC_ISOK::0x80940004->0xffffffff <118>[SceLncService] BeginAppMount() [KERNEL] INFO: begin_app_mount 00000000 <118>[CRSUI][Info][OnAppLaunchStart::MiniApp or BigApp] <118>[CRSUI][Info][CrashReportEventMonitor::StopAppEvent break] appmgr_create_app(), appid=17 category=0 [KERNEL] INFO: launch bigapp: category 0x00000000, container 1 <118>[SceShellUI] I/PSM.UI : SceneQ : Loaded[0.00msec] : SplashScreen.FAKE00000 : SplashScreen <118>[SceShellUI] I/PSM.UI : SceneQ : Loaded[0.00msec] : LaunchFlow.FAKE00000 : LaunchFlow <118>[SceShellUI] I/BGLayer : SetBackgroundTransition (Ellapsed 100736msec since last call) ID=4 TransitionType=CustomImageFade Degree=CrossFade NextImageUri= NextBlurImageUri= NextFallbackImageUri= OverlayImageUri= BasematType=None Retry=False UseImageViewerSequence=False <118>[SceShellUI] I/BGLayer : Fallback Transition ID=4 [Amm config] Page table memory : 64 MiB, VA range size 512 GiB, MultiMap VA range size 0 GiB wt_application_launch_callback:new target appid=0x17 <118>[SceLncService] is_pkgstep={0} <118>[SceLncService] PrepareProcessLaunchDebugger() <118>[SceLncService] PrepareProcessLaunchDebugger() returned <118>[SceLncService] sandboxType={0x00000001} <118>[SceLncService] W:\Build\J01795075\vsh\shell\shell_core\lnc_service\lnc_manager.cpp(2551) getAppType: LNC_ISOK::0x80940004->0xffffffff <118>[SceLncService] spawnApp <118>[Syscore App] createApp FAKE00000 <118>[Syscore App] ExpandCpuSetMode : disable <118>[Syscore App] processSpawn(pid, 0x17, 0x10017170, appParam, processParam, 1, 1, 1, param, debug, 0) <118>[Syscore App] appParam: appType = 0, rootPath = /mnt/sandbox/FAKE00000_000, titleId = FAKE00000 <118>[Syscore App] processParam: elfPath = /app0/eboot.bin, fullPath = /system_ex/app/FAKE00000/eboot.bin <118>[Syscore App] new pid=0x50[Syscore App] attributeExe= 0 <118>[AvControl] AudioOut: shared (pid=0x50) <118>[AvControl] VideoOut: shared (pid=0x50 appId=0x17) <118>[AvControl] video owner is switched to system(pid=0x50) <118>[Syscore App] Ready to exec <118>[Syscore App] wait for NOTE_EXIT|NOTE_EXEC [KERNEL] INFO: Disable workaround PPRREQ55470_NO_ADDITIONAL_DMEM_192MB <118>[SceShellUI] I/BGLayer : SetBackgroundTransition (Ellapsed 288msec since last call) ID=5 TransitionType=CustomImageFade Degree=CrossFade NextImageUri= NextBlurImageUri= NextFallbackImageUri= OverlayImageUri= BasematType=None Retry=True UseImageViewerSequence=False <118>[SceShellUI] I/BGLayer : cancelBackgroundTransition ID=4 <118>[Syscore App] Add event : pid=0x50 <118>[AppMgr Trace]: New Process, pid=0x50, created. <118>[AppMgr Trace]: New App, appId=0x17, created <118>[Syscore App] ExpandCpuSetMode : disable <118>[SceLncService] W:\Build\J01795075\vsh\shell\shell_core\lnc_service\lnc_common.cpp(864) getCurrentTick: LNC_RTRACE::0x80b50001 <118>[SceLncService] update: appId={0x00000017} appSessionId={63854669156000000} <118>[ResArbitrator][QUEUE ]Enqueue 18cbb : Enqueue(id[0], t[1], user[0] state[RUNNING]) queue.size[1] <118>[ResArbitrator][TestId ]lncEventCallback 18cbb : Set Target BigAppId[0x17] pid[0x50] <118>[ResArbitrator][VA_main ]GetMediaAppInfo 18cbb : sceKernelGetAppCategoryType(0x50) ret:SCE_OK categoryType[0x0] <118>[ResArbitrator][App ]GetExecutable 1890a : Target id[0] budgets{vcn[ 0] acp[ 0] mem[ 0]} prio[2(2)] <118>[ResArbitrator][App ]ChangeState 1890a : replace id[0] state:['RUNNING'->'RUNNING'] <118>[ResArbitrator][App ]SetVCNBudget 1890a : vcnType is TYPE_UNKNOWN.vcn budget not set. <118>[ResArbitrator][RA_main ]cbResult 1890a : Callback id[0] type[RESULT] result[true] state[RUNNING] <118>[ResArbitrator][TestId ]raCallback 1890a : BigApp[0x17] Changed state"RUNNING" <118>[ResArbitrator][QUEUE ]Remove 1890a : Remove:(id[0] state[RUNNING] type[1]) queue.size[0] <118>[ResArbitrator][App ]Dump 1890a : -- Exec Apps ************************* <118>[ResArbitrator][App ]Dump 1890a : -1: Id[ 0] state[RUNNING] vcn[ 0] acp[ 0] mem[ 0] prio[2(2)] from[DIRECT(0x0)] userData[0x0] appId[0x17] <118>[ResArbitrator][App ]Dump 1890a : -2: Id[100] state[RUNNING] vcn[ 0] acp[ 0] mem[ 0] prio[0(0)] from[IPMI(0x20830c780)] userData[0x0] pid[0x41] <118>[ResArbitrator][App ]Dump 1890a : -3: Id[190] state[RUNNING] vcn[ 0] acp[ 0] mem[ 34] prio[10(10)] from[DIRECT(0x0)] userData[0x0] pid[0x37] <118>[ResArbitrator][App ]Dump 1890a : -- No kicking Apps ************************* <118>[NoticeScreenSkip] app_ver_str.size()= 4 is invalid <118>[NoticeScreenSkip] format error! NoticeScreenRecord is invalid. delete file. <118>[NoticeScreenSkip] W:\Build\J01795075\vsh\shell\shell_core\notice_screen_skip\record_file_util.cpp(194) File2Record: ISOK::0x80e30007 <118>[NoticeScreenSkip] W:\Build\J01795075\vsh\shell\shell_core\notice_screen_skip\record_mgr.cpp(42) LoadRecord: NSS_RTRACE::0x80e30007 <118>[NoticeScreenSkip] userId: 398536267 record file has been loaded. <118>[NoticeScreenSkip] start NoticeScreenSkipTimerThread wait_time = 120 sec [KERNEL] INFO: pid 80 [KERNEL] INFO: Application Category Type: 00000000 <118>[SceLncUtil] blockAppSuspend: name={SceNpUds}, appId={0x00000006}, refCount={1} <118>[SceLncUtil] unblockAppSuspend: name={SceNpUds}, appId={0x00000006}, refCount={0} [KERNEL] INFO: Total Memory Size: 0x32d600000 [KERNEL] INFO: DMEM size: 0x300000000 [KERNEL] INFO: FMEM size: 0x1c000000 [KERNEL] INFO: NDA Text size: 0 [KERNEL] INFO: CPU/GPU page table count: 0x4000 0x4000 <118>[ResArbitrator][QUEUE ]Enqueue 18909 : Enqueue(id[110], t[1], user[0] state[RUNNING]) queue.size[1] <118>[ResArbitrator][App ]GetExecutable 1890a : Target id[110] budgets{vcn[ 20] acp[368] mem[ 0]} prio[10(10)] <118>[ResArbitrator][IpcServer]Callback 1890a : S->C Callback Set(id[110] type[RESULT] result[true] state[RUNNING]) <118>[ResArbitrator][QUEUE ]Remove 1890a : Remove:(id[110] state[RUNNING] type[1]) queue.size[0] <118>[ResArbitrator][App ]Dump 1890a : -- Exec Apps ************************* <118>[ResArbitrator][App ]Dump 1890a : -1: Id[ 0] state[RUNNING] vcn[ 0] acp[ 0] mem[ 0] prio[2(2)] from[DIRECT(0x0)] userData[0x0] appId[0x17] <118>[ResArbitrator][App ]Dump 1890a : -2: Id[100] state[RUNNING] vcn[ 0] acp[ 0] mem[ 0] prio[0(0)] from[IPMI(0x20830c780)] userData[0x0] pid[0x41] <118>[ResArbitrator][App ]Dump 1890a : -3: Id[110] state[RUNNING] vcn[ 20] acp[368] mem[ 0] prio[10(10)] from[IPMI(0x20830c660)] userData[0x0] pid[0x38]HB <118>[ResArbitrator][App ]Dump 1890a : -4: Id[190] state[RUNNING] vcn[ 0] acp[ 0] mem[ 34] prio[10(10)] from[DIRECT(0x0)] userData[0x0] pid[0x37] <118>[ResArbitrator][App ]Dump 1890a : -- No kicking Apps ************************* <118>[SceShellUI] I/PSM.UI : ** Unload enqueue: SplashScreen.FAKE00000 : SplashScreen <118>[SceShellUI] I/PSM.UI : ** Unload enqueue: LaunchFlow.FAKE00000 : LaunchFlow <118>[ResArbitrator][IpcServer]GetCallbackDataInt 18909 : C->S Callback Get(id[110] type[RESULT] result[true] state[RUNNING] cb[140d0720]) <118>[NoticeScreenSkip] NoticeScreenSkipGetFlag(notice_screen_skip_flag= 0, appId= 0x00000017) [BAPM] CPU/GPU Frequency: Default <118>[AppBrowse] DoTransaction()[52] err: GetContentInfoRecord ret=[0x80f50005] <118>[SceShellUI] I/PSM.UI : SceneQ : Unloaded[0.01msec] : SplashScreen.FAKE00000 : SplashScreen <118>[SceShellUI] I/PSM.UI : SceneQ : Unloaded[0.01msec] : LaunchFlow.FAKE00000 : LaunchFlow <118>[SceShellUI] I/BGLayer : Fallback Transition ID=5 [Amm] pid=80 fastTlbi is enabled <80> EXEC /app0/eboot.bin [system], vm<>1, dmem<>1 abi=native category=native_game <191187 msec> <118>[AvControl] ** set scanin(pid=0x39 scaninId = 1 tapPoint = 0x2) [si] start pipe[0] 191s:36us, p:0:1, 11209:0358, 11066:0179, m:17c907fdc9690000, d:0x1, 0x1110 <118>[SceShellUI] W/PSM.UI : ** NOTICE: LoadSync : Noname : JavaScriptAlertDialog <118>[SceShellUI] I/BGLayer : SetBackgroundTransition (Ellapsed 112msec since last call) ID=6 TransitionType=HideGameSplash Degree=Strong NextImageUri= NextBlurImageUri= NextFallbackImageUri= OverlayImageUri= BasematType=None Retry=False UseImageViewerSequence=False <118>[SceShellUI] I/BGLayer : cancelBackgroundTransition ID=5 <118>[SceShellUI] I/PSM.UI : OnFocusActiveSceneChanged [Render.NPXS40036 : AppScene] -> [Noname : JavaScriptAlertDialog] <118>SetDeviceIndexBehavior: mode=SpecificUser, param=0x17c12e4b <118>[SceLncService] SetAppFocus(): SetControllerFocus(-1) <118>* updateVibrationTriggerEffectWeak:L7610 getVibrationTriggerEffectWeakWhileEmbeddedMicInUse return MBUS_ERROR_NO_PROCESS_INFO. pid = 0xffffffff <118>[SceSystemStateMgr] Power Mode Change: BIG_APP <118>[SceSystemStateMgr] CPU HLT GC GFX F U ID FAN BAPM <118>[SceSystemStateMgr] 3200 3200 3200 3200 3200 3200 3200 3200 0 gen2 2230 1200 875 00840f60 1 default <118>[SceLncService] SetControllerFocus(0x00000007) <118>@ mbusGetAudioOutDeviceInfoByBusType:L5927 <> GFX(pipe0) Game. proc gen:2 vmid:1 pid:80 +++ num clients 2 <> gc_gfx_queue_status : in_frame=0 rptr=0x00000010 wptr=0x00000010 IBlist(rptr=0x0000 wptr=0x0000 i_wptr=0x0000) <118>[AgcDriver] Info - Initialized, submit.mode= 1. <118>[Agc] FS Table offset has shifted. This is not survivable. <118> TLS: <118> SIGSEGV: normal <118> Notification: kqueue <118> Architecture: amd64 <118> Disabled: none <118> Misc: softdebug <118> Interpreter: yes <118> LLVM: supported, not enabled. <118> Suspend: preemptive <118> GC: sgen <118>libSceAsyncStorage.prx: module_start() <118>libSceBgsStorage.prx: module_start() <118>[PSM] PsmFramework::Initialize <118>PSM:5c55baa9c95d9789c7c6c1438622a8a9f1e9a33c <118>MonoVM:6ccc5a742f516ccafb52f9c18ddea9b236c545ac <118>PSS Platform:bc781a3c8f05866d83545312c6063ee2e945ec91 <118>BootParam :2 /data/homebrew/Mednafen/roms/Bar Frog Tux.pce <118>[PSM] set assembly path for mono <118>[PSM] Loading Json <118>[PSM] Loading PsmUtil <118>[PSM] Loading Mono: libmono-btls-shared <118>[PSM] Loading Mono: libmonosgen-2.0 <118>[PSM] LoadModulesInBG 0 msec <118>[PSM] Loading SysCore <118>[PSM] Loading libSceDipsw <118>[PSM] Loading SystemService <118>[PSM] Loading AudioOut <118>[PSM] Loading Audiodec <118>[PSM] ScePsmMonoSgenSetThreadType() thread_type = ::ORBIS <118>[PSM] debugger off <118>[PSM] AOT mode <118>[PSM] AOT mode <118>mount --- <118>Failed to create filesystem from /app0/psm/Application <118>Failed to create filesystem from /YJ9HyCZRdj/common/lib <118>Failed to create filesystem from /app0/psm/.. <118>Failed to create filesystem from /hostapp/dll <118>sgen GC : Default <118>'/app0/psm/Application' in MONO_PATH doesn't exist or has wrong permissions. <118>'/YJ9HyCZRdj/common_ex/lib' in MONO_PATH doesn't exist or has wrong permissions. <118>'/YJ9HyCZRdj/common/lib' in MONO_PATH doesn't exist or has wrong permissions. <118>[PSM] Loading libSceJxr <118>The assembly mscorlib.dll was not found or could not be loaded. <118>It should have been installed in the search path `/app0/psm/Application:/YJ9HyCZRdj/common_ex/lib:/YJ9HyCZRdj/common/lib'. <> <> A user thread receives a fatal signal <> <> reason: abort is called(system) <> thread ID: 101548 <> thread name: SceCloudClientAppMain <> proc ID: 80 <> proc name: SceCloudClientApp <> <> registers: <> rax: 0000000000000000 rbx: 0000000000000047 <> rcx: 0000000000000171 rdx: 0000000000000170 <> rsi: 0000000000000002 rdi: 0000000200bd0008 <> rbp: 00000007efd6ecd0 rsp: 00000007efd6ecd0 <> r8 : 0000000000000003 r9 : 0000000000000ed0 <> r10: 0000000000000003 r11: 0000000000000206 <> r12: 00000002019e40f0 r13: 0000000000000000 <> r14: 00000002019b4ed0 r15: 000000088084648a <> rip: 000000083590d5c0 eflags: 00000246 <> lbf: 00000000ba977e40 lbt: 000000083590d5b0 <> lb0: ffffffffffffffff lb1: ffffffffffffffff <> lb2: 000000083590d5b0 lb3: 00000000ba977e40 <> lb4: 00000000ba5cface lb5: 000000010a032ebc <> lb6: 000000010a00af0a lb7: 000000010a00b26b <> <> backtrace: copyin: SceCloudClientAppMain has nonsleeping lock <> 00000000ba5cfad3 <> 00000000ba7d5a8d <> 00000000ba85ce2e <> 0000000189fb9b85 <> 00000000634cde75 <> 00000000634cdc88 <> 00000000634f5b32 <> 00000000634f63c1 <> 00000000634c00af <> 0000000000000000 <> <> dynamic libraries: <> /app0/eboot.bin <> xotext: 00000000634c0000:0000000063890000 nsegs: 4 <> fingerprint: 00d72618b88360607f125d44c40b840600000000 <> /YJ9HyCZRdj/common/lib/libkernel_sys.sprx <> xotext: 00000008128bc000:0000000812900000 nsegs: 4 <> fingerprint: 8d364f9e9caa58605286ae3b9a96090000000000 <> /YJ9HyCZRdj/common/lib/libSceLibcInternal.sprx <> xotext: 00000008358f8000:00000008359d4000 nsegs: 4 <> fingerprint: d38fad75dcc9c8f191ce82004dffc73000000000 <> /YJ9HyCZRdj/common/lib/libSceSysmodule.sprx <> xotext: 0000000825f18000:0000000825f24000 nsegs: 4 <> fingerprint: ea5baaf8455fd344a7b5c5d07b21300e00000000 <> /YJ9HyCZRdj/common/lib/libSceIpmi.sprx <> xotext: 0000000800b84000:0000000800b8c000 nsegs: 4 <> fingerprint: df20ddf9a46d4c4166dc326920cd15a100000000 <> /YJ9HyCZRdj/common/lib/libSceRegMgr.sprx <> xotext: 00000008124d4000:00000008124d8000 nsegs: 4 <> fingerprint: f19c9b777e2f4bb695226130f9eae02100000000 <> /YJ9HyCZRdj/common/lib/libSceSystemService.sprx <> xotext: 0000000802e08000:0000000802e34000 nsegs: 4 <> fingerprint: 5867981139116a8ec2099da76f96a5fc00000000 <> /system/common/lib/libSceMbus.sprx <> xotext: 0000000133884000:000000013388c000 nsegs: 4 <> fingerprint: a2ef6045f9493dae2ed7cf048e9376f500000000 <> /system/common/lib/libSceAvSetting.sprx <> xotext: 0000000128a94000:0000000128aa4000 nsegs: 4 <> fingerprint: 429b7d9b3cac404d4db37c2ea465e30400000000 <> /system/common/lib/libSceVideoOut.sprx <> xotext: 00000000f449c000:00000000f44b8000 nsegs: 4 <> fingerprint: 8b8e0cd3a958a78960d4fd527dc01c3100000000 <> /system_ex/common_ex/lib/libScePsm.sprx <> xotext: 0000000189cec000:0000000189ff0000 nsegs: 4 <> fingerprint: 748226de72f57d61b591a9b72e6f70dd00000000 <> /system/common/lib/libSceAgcDriver.sprx <> xotext: 000000011042c000:0000000110438000 nsegs: 4 <> fingerprint: 9a219a1df49f18336f19a018a4302a9b00000000 <> /system/common/lib/libSceAgc.sprx <> xotext: 00000001db468000:00000001db47c000 nsegs: 4 <> fingerprint: 41cef82762725b3f4813ff2725a746a600000000 <> /system_ex/common_ex/lib/libmonosgen-2.0.sprx <> xotext: 00000000ba58c000:00000000ba97c000 nsegs: 4 <> fingerprint: bf9c245b0a27cc2b157118e1decf002700000000 <> /system/common/lib/libSceJemspace.sprx <> xotext: 0000000109fe0000:000000010a034000 nsegs: 4 <> fingerprint: 5b273893e9fdf772e1ddfdbbc6a1e50f00000000 <> /system/priv/lib/libSceDipsw.sprx <> xotext: 00000000d3b24000:00000000d3b28000 nsegs: 4 <> fingerprint: d346f0e4c556fdfbbb9bc168cbde837a00000000 <> /system_ex/common_ex/lib/libSceShellUIUtil.sprx <> xotext: 00000000e4e48000:00000000e4e4c000 nsegs: 4 <> fingerprint: 544fbe2a2fa38fcc6d19aff7989b33cb00000000 <> /system/common/lib/libSceRandom.sprx <> xotext: 00000001397f4000:00000001397f8000 nsegs: 4 <> fingerprint: e4f3eb8669425f2abb82e5ddf4ebfe1500000000 <> /system/common/lib/libSceLibreSsl.sprx <> xotext: 00000000f4934000:00000000f4a28000 nsegs: 4 <> fingerprint: af2ac86eff44d3008e06dc7b641b8bd800000000 <> /system/common/lib/libSceNet.sprx <> xotext: 00000001b3e14000:00000001b3e44000 nsegs: 4 <> fingerprint: bd32f0bdb4283dfb0e246dbd1fbea62b00000000 <> /system/common/lib/libScePad.sprx <> xotext: 00000000a16a8000:00000000a16bc000 nsegs: 4 <> fingerprint: 4932604856778ae5d6be9e39b4ee685c00000000 <> /system/common/lib/libSceUserService.sprx <> xotext: 0000000122130000:0000000122140000 nsegs: 4 <> fingerprint: c20e9725a52159ce51ea9eec2f0c36c500000000 <> /system/common/lib/libSceRtc.sprx <> xotext: 00000000aa520000:00000000aa524000 nsegs: 4 <> fingerprint: ea47d9f8fefee78327258f5828f78fec00000000 <> /system/common/lib/libSceNetCtl.sprx <> xotext: 0000000134d0c000:0000000134d14000 nsegs: 4 <> fingerprint: 8f53067c5c6837e84c2a8bf573123ef900000000 <> /system/common/lib/libSceSsl.sprx <> xotext: 000000009c944000:000000009ca20000 nsegs: 4 <> fingerprint: 7fbe30fce1e93d9b6cc6105bd0fc20c200000000 <> /system/common/lib/libSceHttp.sprx <> xotext: 00000001ed910000:00000001ed93c000 nsegs: 4 <> fingerprint: e4517c9be707c6e86a5af6e7d19f070500000000 <> /system/common/lib/libSceNpCommon.sprx <> xotext: 0000000158ae8000:0000000158b1c000 nsegs: 4 <> fingerprint: 40108465418b95e09f59860fe8faf1db00000000 <> /system/common/lib/libSceNpManager.sprx <> xotext: 0000000133c94000:0000000133cd0000 nsegs: 4 <> fingerprint: d5413b77d88e21cda5aa134d9334fe5d00000000 <> /system_ex/common_ex/lib/libSceAsyncStorageInternal.sprx <> xotext: 00000000d35fc000:00000000d36f8000 nsegs: 4 <> fingerprint: 9c4c704e4ac891d64327998adde01df000000000 <> /system/common/lib/libSceNpWebApi.sprx <> xotext: 000000010c290000:000000010c2a0000 nsegs: 4 <> fingerprint: cb85a24a660ee9a255a8047cfc61a5fd00000000 <> /system/common/lib/libSceHttpCache.sprx <> xotext: 0000000125dc8000:0000000125e04000 nsegs: 4 <> fingerprint: c15736c80fde189f3554cc6b24a2e79300000000 <> /system/common/lib/libSceHttp2.sprx <> xotext: 00000001ae770000:00000001ae794000 nsegs: 4 <> fingerprint: 61831111a074ded6063d76f432c35f2600000000 <> /system/common/lib/libSceNpWebApi2.sprx <> xotext: 00000000aa8f0000:00000000aa90c000 nsegs: 4 <> fingerprint: cb5c2c093f7b754b08fd6e521de2d2b300000000 <> /system/common/lib/libSceRnpsAppMgr.sprx <> xotext: 00000001fce64000:00000001fce68000 nsegs: 4 <> fingerprint: 84803dbb06847d13fad56330228df45800000000 <> /system/common/lib/libSceSysUtil.sprx <> xotext: 00000001c2570000:00000001c2574000 nsegs: 4 <> fingerprint: 842237d990064a0a931499b9717ba6f400000000 <> /system/common/lib/libSceAjmi.sprx <> xotext: 00000000c59d4000:00000000c59d8000 nsegs: 4 <> fingerprint: 5d8a178cf13f161aa2eb2e19adf5561000000000 <> /system/common/lib/libSceOpusCeltEnc.sprx <> xotext: 0000000101908000:000000010190c000 nsegs: 4 <> fingerprint: 451ecc09e52f8ca6779edaebfe91284700000000 <> /system/common/lib/libSceOpusCeltDec.sprx <> xotext: 00000000fdeec000:00000000fdef0000 nsegs: 4 <> fingerprint: 7fac667275e7d337324f4da4bdcc652100000000 <> /system/common/lib/libSceAudioOut.sprx <> xotext: 00000000921cc000:0000000092214000 nsegs: 4 <> fingerprint: 8692e4d8987774ed5aa50ba8aa2433df00000000 <> /system/common/lib/libSceAudioIn.sprx <> xotext: 00000001c90bc000:00000001c90c4000 nsegs: 4 <> fingerprint: 8eb56081d89132040498b061c99beaf700000000 <> /system/common/lib/libSceBgft.sprx <> xotext: 00000000b3690000:00000000b3698000 nsegs: 4 <> fingerprint: b3cf958c07531dbcb7f24dc5427c46e200000000 <> /system/common/lib/libSceAppInstUtil.sprx <> xotext: 00000000dc034000:00000000dc044000 nsegs: 4 <> fingerprint: 64724c1f7a1fe3c6c76599bbfc99761300000000 <> /system_ex/common_ex/lib/libSceBgsStorage.sprx <> xotext: 00000000bc030000:00000000bc140000 nsegs: 4 <> fingerprint: ae3bfbcc9a252175e85b6c5de66f63a800000000 <> /system/common/lib/libSceScreenShot.sprx <> xotext: 000000019c300000:000000019c304000 nsegs: 4 <> fingerprint: 0376279310dcd3a5153403736f69fcba00000000 <> /system/common/lib/libSceShare.native.sprx <> xotext: 00000000833a0000:00000000833a8000 nsegs: 4 <> fingerprint: f69bda7ecaaf487891ccd08356aa2cd000000000 <> /system/common/lib/libSceErrorDialog.sprx <> xotext: 00000001128d8000:00000001128dc000 nsegs: 4 <> fingerprint: 17aec0c14d3129da3ed012d71c728b1500000000 <> /system/common/lib/libSceVdecCore.native.sprx <> xotext: 00000000e0cfc000:00000000e0e40000 nsegs: 4 <> fingerprint: ebf9c0276d33d6ee33e45898bc643ca200000000 <> /system/common/lib/libSceVideodec2.sprx <> xotext: 0000000153e54000:0000000153e5c000 nsegs: 4 <> fingerprint: 8360fa551ee60743d83cf78e0f8d2ec100000000 <> /system/common/lib/libSceMouse.sprx <> xotext: 000000017bb18000:000000017bb1c000 nsegs: 4 <> fingerprint: c4dd5b62825fecd33b6f8d647690971500000000 <> /system/common/lib/libSceSigninDialog.sprx <> xotext: 0000000152c14000:0000000152c18000 nsegs: 4 <> fingerprint: 83a0f7f62a46cd17ddb1a235265322ac00000000 <> /system/common/lib/libSceUrlConfigResolver.sprx <> xotext: 00000001c9a88000:00000001c9a90000 nsegs: 4 <> fingerprint: 832ed1fc271003c75d7f14f02bc9b2ed00000000 <> /system_ex/common_ex/lib/libReactNative.Modules.Vsh.sprx <> xotext: 000000010d0ec000:000000010d0f8000 nsegs: 4 <> fingerprint: 96f4226dc952380e6f68862ee57b821b00000000 <> /system/common/lib/libSceSystemLogger2.sprx <> xotext: 000000018d9b8000:000000018d9d8000 nsegs: 4 <> fingerprint: 72f4ef3b3cdd9a27cb063cf01712c57c00000000 <> /system/common/lib/libSceJson2.sprx <> xotext: 00000001d5fe8000:00000001d5ff8000 nsegs: 4 <> fingerprint: 6ed90867292f810edc2e4bd50e95181000000000 <> /system_ex/common_ex/lib/libScePsmUtil.sprx <> xotext: 00000001dff88000:00000001dffac000 nsegs: 4 <> fingerprint: 67a46ea49c865af791dac13ad98e895200000000 <> /system_ex/common_ex/lib/libSceKbEmulate.sprx <> xotext: 00000001104ac000:00000001104b0000 nsegs: 4 <> fingerprint: b8db7386610a8ca05a40fa4612feccf300000000 <> /system_ex/common_ex/lib/libmono-btls-shared.sprx <> xotext: 0000000139804000:00000001398f8000 nsegs: 4 <> fingerprint: cde6b4a7df23005bbc55135f835a8de200000000 <> /system/common/lib/libSceSysCore.sprx <> xotext: 00000001f63d0000:00000001f63d8000 nsegs: 4 <> fingerprint: 9eec80cf684f5d6cb4ee74574eb89f2a00000000 <> /system/common/lib/libSceAjm.native.sprx <> xotext: 00000000c90ac000:00000000c90b4000 nsegs: 4 <> fingerprint: d07d7717b96ad7264778944c7c3407d900000000 <> /system/common/lib/libSceAudiodec.native.sprx <> xotext: 00000000cebd8000:00000000cebe0000 nsegs: 4 <> fingerprint: 8775d72a4687604ab15514f400d32ce700000000 <> /system/common/lib/libSceJxr.sprx <> xotext: 00000001a5224000:00000001a5268000 nsegs: 4 <> fingerprint: 8535fbec8557213fa4c0a91514d6d5ef00000000 mDBG: Sending signal(pid: 80, tid: 101548, signo: 0xa002008b) <118>[Syscore App] App Crash : PID=0x50, reason=0xa002008b <118>[Syscore App] Syscore Event Queue Push : SCE_SYSCORE_EVENT_APP_CRASH <118>[Syscore App] Syscore Event Queue Pop : SCE_SYSCORE_EVENT_APP_CRASH <118>[SceLncService] W:\Build\J01795075\vsh\shell\shell_core\lnc_service\lnc_event_notifier.cpp(463) notifyAppCrash: LNC_CHECK::0x80940019 (cb.func value is false) <118>[SceLncService] AppCrash: pid={0x00000050} appId={0x00000017} appLocalPid={0x10017170} <118>[ResArbitrator][TestId ]lncEventCallback 18cd1 : CRASH KILL_END event->appId[0x17] event->pid[0x50] <118>[ResArbitrator][QUEUE ]Enqueue 18cd1 : Enqueue(id[0], t[1], user[0] state[STOP]) queue.size[1] <118>[ResArbitrator][App ]ChangeState 1890a : replace id[0] state:['RUNNING'->'STOP'] <118>[ResArbitrator][RA_main ]cbResult 1890a : Callback id[0] type[RESULT] result[true] state[STOP] <118>[ResArbitrator][TestId ]raCallback 1890a : BigApp[0x17] Changed state"STOP" <118>[ResArbitrator][QUEUE ]Remove 1890a : Remove:(id[0] state[STOP] type[1]) queue.size[0] <118>[ResArbitrator][App ]Dump 1890a : -- Exec Apps ************************* <118>[ResArbitrator][App ]Dump 1890a : -1: Id[100] state[RUNNING] vcn[ 0] acp[ 0] mem[ 0] prio[0(0)] from[IPMI(0x20830c780)] userData[0x0] pid[0x41] <118>[ResArbitrator][App ]Dump 1890a : -2: Id[110] state[RUNNING] vcn[ 20] acp[368] mem[ 0] prio[10(10)] from[IPMI(0x20830c660)] userData[0x0] pid[0x38]*HB* <118>[ResArbitrator][App ]Dump 1890a : -3: Id[190] state[RUNNING] vcn[ 0] acp[ 0] mem[ 34] prio[10(10)] from[DIRECT(0x0)] userData[0x0] pid[0x37] <118>[ResArbitrator][App ]Dump 1890a : -- No kicking Apps ************************* <118>[SceLncService] getCoredumpSequence() isDebuggable={1} isKeepProcess={0} isUserDebugRequest={0} isLimitKeepProcess={0} enableCrashReport={0} <118>[SceLncService] CoredumpSequence = {DUMP_PROCESS} <118>[SceLncService] getCoredumpMode() isSystem={0x00000001}, reason={0xa002008b} <118>[SceLncService] notifyAppCrash() pid={0x00000050}, appId={0x00000017}, appLocalPid={0x10017170}, coredump.path,name,mode={/user/devlog/system/sce_coredumps.0/FAKE00000_1719070520/,prosperocore-1719070520-0x00000050-eboot.bin.prosperodmp,1}, enableCrashReport={0}, skipVshDump={0} <118>[SceLncUtil] blockAppSuspend: name={SceNpUds}, appId={0x00000006}, refCount={1} <118>[SceLncUtil] unblockAppSuspend: name={SceNpUds}, appId={0x00000006}, refCount={0} <118>[SceLncService] enableCrashReport={0}, crashReportMode={0}, isAllowed={1} <118>[SceLncService] kick coredump is disabled. <118>[SceLncService] KillApp() appId={0x00000017}, withSuspend={0}, forceKill={1} killReason={0} <118>[SceLncService] BlockingKill() appId={0x00000017}, titleId={FAKE00000}, is_coredumpFinished={0}, forceKill={1} <118>[SceLncService] convertToSysCoreKillReason: {0x00000000}->{0x00000000} <118>[Syscore App] Kill App : 0x17 FAKE00000 <118>[Syscore App] Kill process: 0x50 Terminating pid=80 <118>[SceShellUI] I/BGLayer : SetBackgroundTransition (Ellapsed 1088msec since last call) ID=7 TransitionType=CustomImageFade Degree=CrossFade NextImageUri= NextBlurImageUri= NextFallbackImageUri= OverlayImageUri= BasematType=None Retry=False UseImageViewerSequence=False <118>[SceShellUI] I/BGLayer : SetBackgroundTransition (Ellapsed 0msec since last call) ID=8 TransitionType=CustomImageFade Degree=CrossFade NextImageUri=/user/appmeta/PPSA99999/pic0.dds?ts=1700888704 NextBlurImageUri= NextFallbackImageUri= OverlayImageUri= BasematType=None Retry=False UseImageViewerSequence=False <118>[SceShellUI] I/BGLayer : cancelBackgroundTransition ID=7 — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you modified the open/close state.Message ID: ***@***.***>
gen04177 commented 4 months ago

Yes, here is the full error in the attachment. I turned on the console, turned it off and ran the payload...

gen04177 commented 4 months ago

elfldr used...

gen04177 commented 4 months ago

I ran new tests, now with the latest version of elfldr, the same error returned... For privacy reasons I hid my userid and fw info...

gen04177 commented 4 months ago

Another user is also having problems... websrv-x

john-tornblom commented 4 months ago

I mean the stdout log, not klog. Here is a bash script that works for me (assuming you have transferred Mednafen to /data/homebrew/Mednafen.

#/usr/bin/env bash

PS5_HOST=ps5
PAYLOAD=/data/homebrew/Mednafen/mednafen.elf
ROM=/data/homebrew/Mednafen/roms/Finally.wsc

wget -q -O - https://github.com/ps5-payload-dev/websrv/releases/download/v0.5/Payload.zip | gunzip -c -d | nc -q0 $PS5_HOST 9021 &
sleep 5

curl --get \
     --data-urlencode "path=$PAYLOAD" \
     --data-urlencode "args=$ROM" \
     --data-urlencode "pipe=1" \
     http://$PS5_HOST:8080/hbldr

The script will also pipe stdout back to your PC, please share the output of that script here.

gen04177 commented 4 months ago

nothing happened:

root@Debian:/opt/elf# env | grep -i ps5 PS5_PORT=9021 PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk PS5_HOST=ps5 root@Debian:/opt/elf# cat /etc/hosts | grep -i ps5 192.168.0.100 ps5 root@Debian:/opt/elf# ping ps5 PING ps5 (192.168.0.100) 56(84) bytes of data. 64 bytes from ps5 (192.168.0.100): icmp_seq=1 ttl=64 time=1.43 ms 64 bytes from ps5 (192.168.0.100): icmp_seq=2 ttl=64 time=1.35 ms 64 bytes from ps5 (192.168.0.100): icmp_seq=3 ttl=64 time=1.14 ms ^C --- ps5 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2040ms rtt min/avg/max/mdev = 1.143/1.308/1.432/0.121 ms

root@Debian:/opt/elf# cat stdout.sh

/usr/bin/env bash

PS5_HOST=ps5 PAYLOAD=/data/homebrew/Mednafen/mednafen.elf ROM=/data/homebrew/Mednafen/roms/Finally.wsc

wget -q -O - https://github.com/ps5-payload-dev/websrv/releases/download/v0.5/Payload.zip | gunzip -c -d | nc -q0 $PS5_HOST 9021 & sleep 5

curl --get \ --data-urlencode "path=$PAYLOAD" \ --data-urlencode "args=$ROM" \ --data-urlencode "pipe=1" \ http://$PS5_HOST:8080/hbldr root@Debian:/opt/elf# ls -la stdout.sh -rwxr-xr-x 1 root root 419 Jun 22 17:13 stdout.sh root@Debian:/opt/elf# ./stdout.sh root@Debian:/opt/elf# ./stdout.sh > log3.txt % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 root@Debian:/opt/elf# ftp-ps5

gen04177 commented 4 months ago

websrv-error02

john-tornblom commented 4 months ago

At the very least, you should get:

"Web server was compiled at Jun 21 2024 19:12:06" printed, are you saying log3.txt is empty?

gen04177 commented 4 months ago

Yes it is empty, I know the situation is strange but it is real. The only homebrew that opens is LakeSnes with a memory error message. That's why I use hbldr directly via the command line because websrv never worked for me. Now hbldr with the new shsrv (compiled by me with its latest modifications) does not work. I made a test payload I would like to share with you, in fact I will send you the source code, this also does not work with the SDK, it renders text on the screen but it does not work, memory error when trying to open, it uses the libraries - lSDL2 -lSDL2_ttf -lSDL2_image -lfreetype -lz -lpng -lbz2, has 18MB.

gen04177 commented 4 months ago

img-txt.zip

john-tornblom commented 4 months ago

Not really related to websrv, but you discovered a problem with HarfBuzz bundled with SDL2_ttf and freetype. I disabled that and pushed PKGBUILDs to https://github.com/ps5-payload-dev/pacbrew-repo

I attached a slight modification to your source code: img-txt-working.zip

Needs you to recompile SDL2_ttf and freetype to work ofc (tested with hbldr bundled with current master of shsrv)

gen04177 commented 4 months ago

It worked... /data$ hbldr /data/img-txt.elf /data/arial.ttf [] W:\Build\J01795075\vsh\common_lib\lnc_util\src\lnc_util_ipc_client.cpp(382) getAppStatus: LNC_ISOK::0x80940004

Wrote test in white in the top left corner, with a black background...

gen04177 commented 4 months ago

websrv v0.6 Lakesnes... lakesnes

john-tornblom commented 4 months ago

Please post issues related to pacbrew packages at https://github.com/ps5-payload-dev/pacbrew-repo/issues instead. tinyxml2 is a c++ library, you cannot include its header in a C program