[IOS] Profiling jailbroken iDevice generates kernel panic...
#1
Has anyone managed to profile xbmc or any app at all using Instruments on a jailbroken iDevice (redsn0w v0.9.10b4) running iOS 5.0.1?

I have no problem to deploy, run and debug but any attempt to profile xbmc using Instruments immediately generates a kernel panic. Didn't even manage to profile a simple "Hello World". Every-time with the same fault_addr=0x6. Angry.

Anyone with a similar experience?

All springboard extensions like MobileSubstrate are disabled.


Code:
Hardware Model:      iPad1,1
Date/Time:       2012-02-06 21:30:12.222 +0100
OS Version:      [b]iPhone OS 5.0.1 [/b](9A405)

[b]panic(cpu 0 caller 0x8007f5e8): kernel abort type 4: fault_type=0x1, fault_addr=0x6[/b]
r0: 0x0000001e  r1: 0x00000000  r2: 0x00000200  r3: 0x00000000
r4: 0x00000002  r5: 0x00000006  r6: 0x00000200  r7: 0xcdbebb00
r8: 0xc072a058  r9: 0x00000000 r10: 0x00000200 r11: 0xcc3d6f28
12: 0xc0fa8230  sp: 0xcdbeba8c  lr: 0x8002f749  pc: 0x8002f806
cpsr: 0x00010033 fsr: 0x00000007 far: 0x00000006

Debugger message: panic
OS version: 9A405
[b]Kernel version: Darwin Kernel Version 11.0.0: Tue Nov  1 20:33:58 PDT 2011; root:xnu-1878.4.46~1/RELEASE_ARM_S5L8930X[/b]
iBoot version: iBoot-1219.43.32
secure boot?: NO
Paniclog version: 1
Epoch Time:        sec       usec
  Boot    : 0x4f30126e 0x00000000
  Sleep   : 0x00000000 0x00000000
  Wake    : 0x00000000 0x00000000
  Calendar: 0x4f303816 0x000a9078

Task 0xc0630d20: 7983 pages, 95 threads: pid 0: kernel_task
Task 0xc0630ac0: 278 pages, 3 threads: pid 1: launchd
Task 0xc06303a0: 611 pages, 7 threads: pid 20: UserEventAgent
Task 0xc0630600: 224 pages, 4 threads: pid 22: notifyd
Task 0xc0630140: 224 pages, 5 threads: pid 24: syslogd
Task 0xc062fee0: 508 pages, 9 threads: pid 26: configd
Task 0xc062fc80: 734 pages, 10 threads: pid 28: CommCenterClassi
Task 0xc062f7c0: 6782 pages, 15 threads: pid 30: SpringBoard
Task 0xc062f0a0: 617 pages, 3 threads: pid 36: lockdownd
Task 0xc062ebe0: 250 pages, 2 threads: pid 40: powerd
Task 0xc062e000: 245 pages, 1 threads: pid 52: afpd
Task 0xc0cb0d20: 100 pages, 1 threads: pid 53: dns-sd
Task 0xc0cb0860: 506 pages, 4 threads: pid 55: wifid
Task 0xc0cb03a0: 655 pages, 8 threads: pid 57: ubd
2012-02-06-213010.panic.plist
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#2
Any iOS devs in this forum at all? Big GrinBig Grin
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#3
I profiled XBMC on iPad but running ios 4.3 on it. But i couldn't profile memoryleaking because XBMC crashed with OOM (iPad only got 256mb RAM). I didn't profile yet on iOS5 (i'm staying on ios4 on ipad because ios5 makes it bad ass slow).

Might be a jailbreak problem maybe.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
Memphiz Wrote:. Might be a jailbreak problem maybe.

Thanks for the input!

I suspect the combination of iOS5 + redsn0w might be the main issue. Will probably try a downgrade to 4.3 (fortunately I kept the SHSH blobs Smile ) What JB-version did you use to make profiling work on 4.3?

Regards...
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#5
latest redsn0w i guess - not sure. 4.3 Jailbreak seems to be fine.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
[IOS] Profiling jailbroken iDevice generates kernel panic...0