Open timschroeder opened 11 years ago
I've not had this problem. You don't have a complete crash log?
Yes. The problem is that the app crash direct after launch by the users and they can reproduce it. It worked on my 4 test iPads without any problem.
I'm using PrettyKit at a project with ARC and the -fno-objc-arc flag for the PrettyKit files.
Crash Report:
CrashReporter Key: [TODO] Hardware Model: iPad2,1 Process: NewApp [16265] Path: /Users/USER/NewApp.app/NewApp Identifier: com.appsch.App Version: 3.0.3 Code Type: ARM Parent Process: launchd [1]
Date/Time: 2013-04-13 02:42:23 +0000 OS Version: iPhone OS 5.1.1 (9B206) Report Version: 104
Exception Type: SIGSEGV Exception Codes: SEGV_ACCERR at 0x40000008 Crashed Thread: 0
Thread 0 Crashed: 0 libobjc.A.dylib 0x31639f78 0x31636000 + 16248 1 NewApp 0x00082903 -PrettyTableViewCellBackground drawRect: 2 UIKit 0x31a30165 0x31a1e000 + 74085 3 QuartzCore 0x3566f4e5 0x35664000 + 46309 4 QuartzCore 0x3566eb3f 0x35664000 + 43839 5 QuartzCore 0x3566e335 0x35664000 + 41781 6 QuartzCore 0x3566df61 0x35664000 + 40801 7 QuartzCore 0x3566dea3 0x35664000 + 40611 8 QuartzCore 0x3566d84b 0x35664000 + 38987 9 QuartzCore 0x3566d57f 0x35664000 + 38271 10 QuartzCore 0x356654b9 0x35664000 + 5305 11 CoreFoundation 0x317c8b1b 0x3173b000 + 580379 12 CoreFoundation 0x317c6d57 0x3173b000 + 572759 13 CoreFoundation 0x317c70b1 0x3173b000 + 573617 14 CoreFoundation 0x3174a4a5 0x3173b000 + 62629 15 CoreFoundation 0x3174a36d 0x3173b000 + 62317 16 GraphicsServices 0x32c23439 0x32c1f000 + 17465 17 UIKit 0x31a4fcd5 0x31a1e000 + 203989 18 NewApp 0x000788b3 main (main.m:16)
Thread 1: 0 libsystem_kernel.dylib 0x3815c3a8 0x3815b000 + 5032 1 libdispatch.dylib 0x3499ac29 0x34997000 + 15401
Thread 2: 0 libsystem_kernel.dylib 0x3816ccd4 0x3815b000 + 72916
Thread 3: 0 libsystem_kernel.dylib 0x3816ccd4 0x3815b000 + 72916
Thread 4: 0 libsystem_kernel.dylib 0x3815c004 0x3815b000 + 4100 1 CoreFoundation 0x317c83f3 0x3173b000 + 578547 2 CoreFoundation 0x317c712b 0x3173b000 + 573739 3 CoreFoundation 0x3174a4a5 0x3173b000 + 62629 4 CoreFoundation 0x3174a36d 0x3173b000 + 62317 5 WebCore 0x31f6aca3 0x31ec1000 + 695459 6 libsystem_c.dylib 0x33fc0735 0x33fb2000 + 59189
Thread 5: 0 libsystem_kernel.dylib 0x3815c004 0x3815b000 + 4100 1 CoreFoundation 0x317c83f3 0x3173b000 + 578547 2 CoreFoundation 0x317c712b 0x3173b000 + 573739 3 CoreFoundation 0x3174a4a5 0x3173b000 + 62629 4 CoreFoundation 0x3174a36d 0x3173b000 + 62317 5 Foundation 0x37222bb9 0x37212000 + 68537 6 Foundation 0x37222a81 0x37212000 + 68225 7 Foundation 0x372b6591 0x37212000 + 673169 8 libsystem_c.dylib 0x33fc0735 0x33fb2000 + 59189
Thread 6: 0 libsystem_kernel.dylib 0x3816ccd4 0x3815b000 + 72916
Thread 7: 0 libsystem_kernel.dylib 0x3816ccd4 0x3815b000 + 72916
Thread 8: 0 libsystem_kernel.dylib 0x3816c570 0x3815b000 + 71024 1 libsystem_c.dylib 0x33fc0735 0x33fb2000 + 59189
Thread 0 crashed with ARM Thread State: r0: 0x0fe1a210 r1: 0x001b8cdf r2: 0x40800000 r3: 0x40800000 r4: 0x40000000 r5: 0x31e3ea9b r6: 0x40800000 r7: 0x2fe72b78 r8: 0x43930000 r9: 0x0006e337 r10: 0x40800000 r11: 0x426c0000 ip: 0x00082a49 sp: 0x2fe72b48 lr: 0x000821e7 pc: 0x31639f78 cpsr: 0x00000030
Binary Images:
0x76000 - 0x1f8fff +NewApp armv7 <3b4417284bef3d1fa42735aec5ab0f2d> /Users/USER/NewApp.app/NewApp
0x274000 - 0x274fff MobileSubstrate.dylib armv6
You're not able to symbolicate it to increase readability?
It's the symbolicated crash report. But the GitHub editor change this line.
1 NewApp 0x00082903 -PrettyTableViewCellBackground drawRect:
I can't get more information about the crash.
Any ideas? I think it must be in this snip of code:
(void) drawRect:(CGRect)initialRect { CGRect rect = [self innerFrame:initialRect];
[self drawBorder:rect shadow:self.cell.dropsShadow];
[self drawBackground:rect];
switch (self.cell.position) { case PrettyTableViewCellPositionAlone: case PrettyTableViewCellPositionBottom: if (self.cell.tableViewIsGrouped) { break; } default: [self drawLineSeparator:CGRectMake(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height)]; break;
} }
The problem is I can't reproduce the crash. Only a few customers are able to do that but they won't give me their UDID of the device.
Hello everyone,
I use PrettyKit in one of my apps at the App Store. I have 500 active users and the app crash by some people (iPad 2, 3, 4 / iOS 5.1.1 - iOS 6.1.3).
0x00082903 -PrettyTableViewCellBackground drawRect:
Has everyone else the problem? I can't simulate the problem on my test devices.