ios 5 or ios 5.0.1 on Iphone 4s crashes - kernel panic

I bought one of these iphone 4s 64 gb s on the day they have been released and since then I am having some phone crashes.Phone is crashing and shut-down it self.I am not sure if it is a software problem or hardware but updating to ios 5.0.1 didn't fix the problem and I am wondering if anyone else having these problems.

Error log from the iphone 4s is something like this:

Incident Identifier: 2E7997B3-0521-4C99-BAA7-
DB959D211A92
CrashReporter Key: 3ffcf799c1cef600edb9dcae8dc547503cdda6ba
Hardware Model: iPhone4,1
Date/Time: 2011-11-12 14:25:20.250 +0000
OS Version: iPhone OS 5.0.1 (9A405)

panic(cpu 1 caller 0x800530b3): "no entry"@/SourceCache/xnu/xnu-1878.4.46/osfmk/vm/vm_map_store_rb.c:80
Debugger message: panic
OS version: 9A405
Kernel version: Darwin Kernel Version 11.0.0: Tue Nov 1 20:34:16 PDT 2011; root:xnu-1878.4.46~1/RELEASE_ARM_S5L8940X
iBoot version: iBoot-1219.43.32
secure boot?: YES
Paniclog version: 1
Epoch Time: sec usec
Boot : 0x4ebd076c 0x00000000
Sleep : 0x4ebe8163 0x000d9b9f
Wake : 0x4ebe81b3 0x00000009
Calendar: 0x4ebe81b3 0x00000097

Task 0xc085ed20: 11303 pages, 127 threads: pid 0: kernel_task
Task 0xc085eac0: 151 pages, 3 threads: pid 1: launchd
Task 0xc085e600: 454 pages, 8 threads: pid 12: UserEventAgent
Task 0xc085e140: 263 pages, 3 threads: pid 13: notifyd
Task 0xc085e3a0: 551 pages, 9 threads: pid 14: configd
Task 0xc085dee0: 12535 pages, 24 threads: pid 15: SpringBoard
Task 0xc085dc80: 122 pages, 4 threads: pid 16: syslogd
Task 0xc085d7c0: 1361 pages, 13 threads: pid 18: CommCenter
Task 0xc085d0a0: 339 pages, 3 threads: pid 21: lockdownd
Task 0xc085cbe0: 209 pages, 2 threads: pid 23: powerd
Task 0xc085c260: 339 pages, 1 threads: pid 27: fairplayd.N94
Task 0xc1007ac0: 1612 pages, 13 threads: pid 30: locationd
Task 0xc1007860: 390 pages, 4 threads: pid 31: wifid
Task 0xc10073a0: 327 pages, 7 threads: pid 33: ubd
Task 0xc1005260: 4556 pages, 41 threads: pid 47: mediaserverd
Task 0xc1005000: 269 pages, 3 threads: pid 48: mediaremoted
Task 0xc10e5d20: 309 pages, 3 threads: pid 49: mDNSResponder
Task 0xc10e5860: 941 pages, 9 threads: pid 51: imagent
Task 0xc10e5600: 419 pages, 5 threads: pid 52: iapd
Task 0xc10e5140: 238 pages, 4 threads: pid 54: fseventsd
Task 0xc10e40a0: 389 pages, 3 threads: pid 61: apsd
Task 0xc10e3e40: 389 pages, 2 threads: pid 62: aggregated
Task 0xc10e3000: 518 pages, 2 threads: pid 68: BTServer
Task 0xc113ed20: 474 pages, 4 threads: pid 69: aosnotifyd
Task 0xc113e3a0: 184 pages, 2 threads: pid 76: networkd
Task 0xc10e4ee0: 2564 pages, 8 threads: pid 82: dataaccessd
Task 0xc085c720: 9647 pages, 11 threads: pid 94: MobileMail
Task 0xc113e860: 847 pages, 4 threads: pid 307: Music~iphone
Task 0xc113e600: 4260 pages, 5 threads: pid 640: MobilePhone
Task 0xc085e860: 5221 pages, 10 threads: pid 1363: Camera
Task 0xc085c000: 7003 pages, 11 threads: pid 1420: MobileSafari
Task 0xc113eac0: 1309 pages, 12 threads:

I searched for the source code file at the point of crash and surprisingly found that it's one of the open source libraries of apple:

The source code of the crash file is here:

http://www.opensource.apple.com/source/xnu/xnu-1699.24.8/osfmk/vm/vm_map_store_rb.c


If I go to line 80 as it stated in the crash log the function there is something like this:


boolean_t vm_map_store_lookup_entry_rb( vm_map_t map, vm_map_offset_t address, vm_map_entry_t *vm_entry)
{
struct vm_map_header hdr = map->hdr;
struct vm_map_store *rb_entry = RB_ROOT(&(hdr.rb_head_store));
vm_map_entry_t cur = vm_map_to_entry(map);
vm_map_entry_t prev = VM_MAP_ENTRY_NULL;

while (rb_entry != (struct vm_map_store*)NULL) {
cur = VME_FOR_STORE(rb_entry);
if(cur == VM_MAP_ENTRY_NULL)
panic("no entry");
if (address >= cur->vme_start) {
if (address < cur->vme_end) {
*vm_entry = cur;
return TRUE;
}
rb_entry = RB_RIGHT(rb_entry, entry);
prev = cur;
} else {
rb_entry = RB_LEFT(rb_entry, entry);
}
}
if( prev == VM_MAP_ENTRY_NULL){
prev = vm_map_to_entry(map);
}
*vm_entry = prev;
return FALSE;
}

I have no idea why the cur equals to VM_MAP_ENTRY_NULL but this crashes my iphone 4s 64gb once every two days or something which is obviously not good.

Comments

Anonymous said…
I have a similar problem. My problem however is related to line 118 (NO ENTRY TO DELETE). Crashes every few days. I'm inclined to think it's related to either the backup I restored from or the glass backplate which I replaced with a metal backplate. Any progress on fixing it?
Anonymous said…
This comment has been removed by the author.
Anonymous said…
It's just happened to mine! How can I solve it?
Anonymous said…
I have the exact same stack trace and just got shooed out of the Apple store today after he reset all my user settings. He said it was a software/settings issue.

It's been happening since I got my 4S 64GB the day it came out after upgrading from a 4. Today's reset did not help.
Roger said…
I had the exact same thing happening to my day-it-came-out iPhone 4S after upgrading, and moving my backup, from original -> iPhone 3 -> iPhone 4. This was happening on iOS 5 and iOS 5.0.1. Despite the issues I was having, I wanted to wait until 5.0.1 came out before making judgement in case it was just an early software glitch.

After it continued to happen on 5.0.1, I had a hunch that it wasn't software related, because I felt that the forums would be lighting up with issues from fellow upgraders.

The 2 things I noticed in the kernel panic were: 1) UserEventAgent and 2) configd

Based on that, I figured a full settings reset might make sense. Unfortunately, it didn't help. So, I just got the hardware replaced 2 days ago and I've been good ever since.

I hope this helps someone else having the same issue and/or Apple figure out what the seemingly hardware-related glitch is.
When you start installing iOS on your iPhone then you should choose iOS that compatible with the system of your iPhone and for iPhone 4s, I think it is better if you choose iOS 5.

Popular posts from this blog

how can you enable a windows firewall rule for a dynamic dns name or dns address

Bose speaker hack (companion 5) to turn on/off automatically

how to IR remote control via wemos d1 (esp8266) & mqtt & sonoff tasmota