SPS2 - Direct PS2 Access Environment - Bugs
Summary |
Forums |
Bugs |
News |
Source |
Files |
Submit A Bug
| Open Bugs | Admin
[ Bug #108 ] sps2_Allocate/sps2_Free crashes after many repetitions
Date: 2003-Nov-26 11:21 |
Submitted By: gevmage |
Assigned To: sauce |
Category: None |
Priority: 3 |
Bug Group: None |
Resolution: None |
Summary: sps2_Allocate/sps2_Free crashes after many repetitions |
Original Submission: [I don't have the code in front of me, so I'm guessing at the function names]
The functions that do the allocation/de-allocation of the special non-swappable seem to have some kind of error in them. After several hundred repetitions of
sps2Allocate()
sps2Free()
on the same pointer (without doing anything else), the machine becomes unstable or crashes. I've had it happen while the program was running, and I've had it happen after I'd done a bunch of tries and then was doing something else. Perhaps it's doing something not quite right with the page tables?
When sps2 is doing its stuff, I get lots of messages on the console as to what it's doing. When it's failed in the above situations, I've had it come up with the kernel panic screen. I've also had it have "kemem_alloc: Bad slab magic (corrupt) (name=size-256)", and also "mapping physical 10000000 to virtual 00010000". I tried upgrading to version 0.3.0a for both the module and the dev header files, but I was able to crash it then too.
Monday (December 1), I will be back in my office and able to try different things to reproduce the bug. Since playstation2-linux.com was down yesterday afternoon as I was about to leave, I'm uploading this from the parent-in-law's cabin, which is why I don't have code available. |
|