Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS < 6.1 JB Ipad4 screen flashes and reboots when pcsx_rearmed core is loaded #23

Closed
jack4455667788 opened this issue Aug 28, 2013 · 9 comments

Comments

@jack4455667788
Copy link

I and several others have been having an issue where even attempting to load the core on JB 6.0 ipad4 causes the screen to flash briefly, and reboot the device. Other emulators that reportedly require JIT to function work without issue (PPSSPP, and the NDS4IOS). Is there some special build required for 6.0? Please tell me there is!!

I wish I didn't have to do this! Apparently I caused this issue myself when I chose to stay put at 6.0 jailbroken (as users in 6.1.2 even on the ipad4 do not have this issue)

Assuming you respond as I expect you will (that there is nothing you can do to test or resolve because you yourself are at 6.1.2 and it's working there), is there anything I could try/do to help the process? I have already searched for log files, but it appears the crash is so instantaneously severe that none are made. I would love to capture a crash report for you (if that would help)... Where should I look for instructions on how to accomplish that (keeping in mind that I only have a snow lepoard hackintosh at my disposal currently).

I will do whatever possible to get this working, please give me orders! In any case, thank you so much for your hard work!! From what I have read, your pcsx_rearmed rocks! (and I am dying to try it myself)

@notaz
Copy link
Owner

notaz commented Aug 29, 2013

It really sounds to me like a bug in jailbreak code or in iOS itself, as an app shouldn't be able to reboot the device no matter what it does. Maybe jailbreak developers could be found somehow and pointed to this problem, they could have some ideas as it's jailbreak that patches the kernel to enable JITs to work at all.

Have you tried running 32X games on PicoDrive core? It shares OS related code with PCSX, it having the same problem (or not) would give a few pointers.

@jack4455667788
Copy link
Author

I have confirmed that 32X games work without issue (sorry it took so long, I had some permissions issues).

I am not sure if it will help or not, but it seems someone was able to collect a crash report on an iphone 5 regarding this issue. http://pastebin.com/3y7HzzFd

The guys on this russian forum seem convinced that anyone on less than 6.1 will experience this problem, but I have no idea why they think that, or why that might help you.... http://translate.google.ru/translate?hl=ru&sl=auto&tl=en&u=http%3A%2F%2F4pda.ru%2Fforum%2Findex.php%3Fshowtopic%3D467347%26st%3D160)

Anyway, thanks for the response (and other hard work), and please let me know if there is anything at all I can do to help!!

@notaz
Copy link
Owner

notaz commented Sep 4, 2013

That crash report is just from non-jailbroken device.

Do you get anything in /User/Documents/pcsxr.log ?
(the location might be wrong, I don't have any iOS devices and developed this thing blind with Squarepusher doing testing, and he was getting that log somehow).

@denOpik
Copy link

denOpik commented Dec 17, 2013

I too have the same issue trying to load .bin file downloaded off the internet with pcsx rearmed core.

I'm on Iphone 5 6.0.2 with evasi0n jb.

No log created from the core, diagnostic & usage shows kernel panics:

`Incident Identifier: 4B1A6DDC-FF0B-4EF2-B6C7-1185D7499EBE
CrashReporter Key: 1192aa9ab7097ba12a77b056e1b21c1cbcc1a2fc
Hardware Model: iPhone5,2
Date/Time: 2013-12-17 01:50:08.837 +0700
OS Version: iOS 6.0.2 (10A551)

panic(cpu 1 caller 0x9808cdf8): kernel abort type 4: fault_type=0x1, fault_addr=0xa993000
r0: 0x0a993000 r1: 0x0003ffbf r2: 0x00000000 r3: 0x0b992000
r4: 0x0a992000 r5: 0x01000000 r6: 0x00000000 r7: 0x061c1908
r8: 0x802b4328 r9: 0x802b40f0 r10: 0x80945918 r11: 0x9808545c
12: 0x80000000 sp: 0x96fd3fb0 lr: 0x980853b0 pc: 0x9807c578
cpsr: 0x20000013 fsr: 0x00000804 far: 0x0a993000

Debugger message: panic
OS version: 10A551
Kernel version: Darwin Kernel Version 13.0.0: Wed Oct 10 23:32:19 PDT 2012; root:xnu-2107.2.34~2/RELEASE_ARM_S5L8950X
iBoot version: iBoot-1537.4.21
secure boot?: NO
Paniclog version: 1
Kernel slide: 0x0000000018000000
Kernel text base: 0x98001000
Epoch Time: sec usec
Boot : 0x52af302f 0x00000000
Sleep : 0x52af456d 0x000860d9
Wake : 0x52af457d 0x00000009
Calendar: 0x52af4b3b 0x00054794

Task 0x801c7c20: 25673 pages, 122 threads: pid 0: kernel_task
Task 0x801c7968: 327 pages, 3 threads: pid 1: launchd
Task 0x801c73f8: 1065 pages, 12 threads: pid 26: UserEventAgent
Task 0x801c6918: 210 pages, 6 threads: pid 27: syslogd
Task 0x801c63a8: 829 pages, 2 threads: pid 29: springflashd
Task 0x801c5e38: 792 pages, 4 threads: pid 31: wifid
Task 0x801c5610: 522 pages, 3 threads: pid 34: timed
Task 0x801c50a0: 283 pages, 2 threads: pid 36: powerd
Task 0x801c3d98: 599 pages, 2 threads: pid 44: lockdownd
Task 0x801c3828: 604 pages, 2 threads: pid 46: installd
Task 0x801c32b8: 515 pages, 2 threads: pid 48: deleted
Task 0x808ab6b0: 2512 pages, 19 threads: pid 52: mediaserverd
Task 0x808ab140: 589 pages, 4 threads: pid 54: mDNSResponder
Task 0x808aabd0: 2440 pages, 12 threads: pid 56: locationd
Task 0x808aa660: 870 pages, 6 threads: pid 58: imagent
Task 0x808aa3a8: 475 pages, 2 threads: pid 59: iaptransportd
Task 0x808aa0f0: 325 pages, 21 threads: pid 60: fseventsd
Task 0x808a9e38: 1286 pages, 1 threads: pid 61: fairplayd.N42
Task 0x808a98c8: 435 pages, 3 threads: pid 63: AppleIDAuthAgent
Task 0x808a9610: 839 pages, 11 threads: pid 64: configd
Task 0x808a90a0: 2824 pages, 14 threads: pid 66: backboardd
Task 0x808a8308: 1340 pages, 2 threads: pid 71: kbd
Task 0x808a7570: 2533 pages, 14 threads: pid 76: CommCenter
Task 0x808a72b8: 947 pages, 4 threads: pid 77: BTServer
Task 0x80945bd0: 250 pages, 4 threads: pid 91: notifyd
Task 0x809466b0: 156 pages, 3 thre`

Not sure if it helps.

@notaz
Copy link
Owner

notaz commented Dec 17, 2013

The log seems to be truncated, can you put it on some pastebin or somewhere?

@denOpik
Copy link

denOpik commented Dec 17, 2013

Here it is:

http://pastebin.com/gMEwEzi1

@notaz
Copy link
Owner

notaz commented Dec 17, 2013

It's still truncated after the "thre" part. If iOS itself saves it like that then too bad, there is no useful information there.

@jack4455667788
Copy link
Author

This is in no way a solution to this issue, but thanks to notaz adding the dynarec switch, and meancoot compiling and uploading the interpreter (non-dynarec) module, there is now a workaround to this issue. I havent fooled around much with it yet, but it works for me with sound and seems close to full speed.

http://www2.zippyshare.com/v/35120062/file.html

Above is meancoots compiled version of retroarch, I extracted the entire ipa file and used the full executable. Then I manually selected the core "pcsx_rearmed_interpreter_ios.dylib" and selected the image file. Thanks!!

pcercuei pushed a commit to pcercuei/pcsx_rearmed that referenced this issue Jan 30, 2020
pcercuei pushed a commit to pcercuei/pcsx_rearmed that referenced this issue Jan 30, 2020
Fix notaz#23, space after USE_DYNAREC bugs it.
@notaz
Copy link
Owner

notaz commented Sep 28, 2023

JB problems from 2014 are unlikely relevant any more, closing.

@notaz notaz closed this as completed Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants