Comments (12)
Thanks, I'll look into it. Always mention what game you tested though!
from ppsspp.
The game is Brandish. But the error is also present in f.e. Zwei! with a different value:
39:05:475 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:475 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
39:05:475 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:475 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
39:05:475 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:475 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
39:05:678 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:678 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
39:05:678 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:678 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
39:05:678 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:678 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
39:05:678 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:678 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
39:05:678 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:678 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
39:05:678 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
39:05:678 HLE\sceIo.cpp:791 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
from ppsspp.
Hmm...i'm also noticed, that Mortal Kombat: Unchained was broken between fefc229 and 86a2760
Logs from debug versions: rghost.net/42120803
from ppsspp.
Most likely another scheduling problem where the threads run in the wrong order. @unknownbrackets will have to take a look :)
from ppsspp.
Darn. I don't have any of these three games. Some really interesting stuff is happening in Mortal Kombat, though.
Can you git bisect possibly to find which commit exactly, possibly?
Also, in both it's ending up with a bad sema (a bad name), which is really interesting. I'd like to know why.
This is also super interesting:
stdout: SCREAM: Lib wave didn't take all of our last submit (took 0 of 2048)!
stdout: calling sceWaveAudioSetSample and hoping for the best.
Anyway, I think I finally found the difference. In the broken one it is never returning to user_main after this:
Left callback 295 - MKMSCallback
Context saved (return from callback): 276 - user_main - pc: 08a2775c
Context loaded (return from callback): 278 - callbacks - pc: 089ecddc
So then it goes into an idle loop. Obviously user_main is never becoming runnable again which is wrong. I'm guessing it has isProcessingCallbacks stuck, which means my fix for ff7e1d7 probably broke one thing and fixed another.
If you go back to 9cd47e2 does it work?
-[Unknown]
from ppsspp.
Checked commits 9cd47e2 and ff7e1d7 - game MK: Unchained works on both of them. (Release)
a bit offtopic: Btw, would be good to have some hidden/private section on forum if devs have no stuff for testing. ;P Or i'll go to IRC, and we talk about it. ;D
from ppsspp.
I could make a hidden dev forum but most dev discussions are fine to have right here in public on the github issue tracker. If you feel otherwise, yeah, there's always IRC :P
from ppsspp.
@B1ackDaemon: yes, please come to IRC, could probably narrow this down faster.
So, that's interesting. Must be a later commit... hmm.
-[Unknown]
from ppsspp.
Does it work in 000884f? Sorry.
-[Unknown]
from ppsspp.
Okay, I think I have an idea at least. Does it work on the tip of this branch?
https://github.com/unknownbrackets/ppsspp/tree/scheduling2
Specifically, does a1a4a02 fix it?
@Darth1701 sorry for hijacking a bit, would like to know if this fixes it for you also - or else, more of the logs would help.
-[Unknown]
from ppsspp.
@unknownbrackets Don't worry, that is quite OK. :)
I still have the error in Zwei!:
59:05:625 FileSystems\ISOFileSystem.cpp:303 I[FileSys]: Got a raw sector open: /sce_lbn0567b0_size0x1490, sector 000067b0, size 00001490
59:05:625 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
59:05:625 HLE\sceIo.cpp:329 E[HLE]: sceIoLseek(325, 48, 0) - ERROR: invalid file
59:05:625 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
59:05:625 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
59:05:625 HLE\sceIo.cpp:798 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
59:05:625 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
59:05:625 HLE\sceIo.cpp:798 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
59:05:625 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
59:05:625 HLE\sceIo.cpp:798 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
59:05:625 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
59:05:625 HLE\sceIo.cpp:798 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
59:05:625 c:\ppsspp\ppsspp\core\hle\sceKernel.h:348 E[HLE]: Kernel: Bad object handle 325 (00000145)
59:05:625 HLE\sceIo.cpp:798 E[HLE]: ERROR - sceIoPollAsync waiting for invalid id 325
althought it doesn't hurt the game itself. I could be sound related.
In Brandish the error is gone.
from ppsspp.
Oh, I fixed an error recently with another game that was like that. I think that's a separate bug, probably.
So sounds like Brandish is fixed - hurray. I'll send a pull then.
-[Unknown]
from ppsspp.
Related Issues (20)
- avcodec_decode_audio4 in Grand Theft Auto: Chinatown Wars HOT 14
- PPSSPP warns about bad performant CHD while using ZSTD HOT 16
- Ppsspp opening on pause screen from a frontend v1.17.1
- strange texture HOT 4
- ppsspp always force close after changing default backend render to vulkan on previous session
- unable to save data HOT 9
- Alternative ways of distributing regular builds? HOT 27
- Burnout Legends won't start with Vulkan on RX 7800 XT HOT 4
- Midnight Club L.A Remix - Inconsistent Speed During Replay HOT 11
- (Question) LAN multiplayer HOT 6
- Mouse pointer disappear HOT 1
- UWP certificate expired? HOT 1
- (Documentation request) LAN multiplayer list HOT 1
- PPSSPP doesn't respect RetroArch fast forward speed in OpenGl in Android
- Puyo Puyo Fever 2 broken image HOT 6
- another strange texture HOT 2
- The AxisSwap feature has failed again in ppsspp 1.7.1
- Textless toasts in the SDL build
- Potential memory leak in sceHeap HOT 4
- (macOS) Unexpected Quit When Trying to Log in to Retroachievements HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppsspp.