Closed GoogleCodeExporter closed 8 years ago
When this crash happens, can you open the debug window and decipher each line
of the
stacktrace?
You can just do:
x 861696817
x 860329709
... and so on ...
The symbolized stacktrace will help understand what's going on. Without it I
won't
know how to start debugging.
Thanks!
Gabor
Original comment by gaborcse...@gmail.com
on 10 Mar 2010 at 6:43
Sorry, instead of debug window I meant console window. That's the one you get by
pressing Shift-Apple-R
Original comment by gaborcse...@gmail.com
on 10 Mar 2010 at 6:44
Original comment by gaborcse...@gmail.com
on 10 Mar 2010 at 6:44
I can reproduce this
iPhone3GS OS 3.1.2 XCode3.2beta4
putting a breakpoint at objc_exception_throw() I get:
2010-03-11 20:28:35.314 reMail[16324:207] applicationDidBecomeActive
2010-03-11 20:29:06.613 reMail[16324:207] folderSearch started with dbNum = 0
2010-03-11 20:29:09.854 reMail[16324:207] *** -[UIDeviceRGBColor saturation]:
unrecognized selector sent to instance 0x537820
(gdb) bt
#0 0x324006d8 in objc_exception_throw ()
#1 0x325a5216 in -[NSObject doesNotRecognizeSelector:] ()
#2 0x3252ba94 in ___forwarding___ ()
#3 0x32522ac0 in __forwarding_prep_0___ ()
#4 0x0021887a in -[TTDefaultStyleSheet
toolbarButtonColorWithTintColor:forState:]
(self=0x508320, _cmd=0x27d712, color=0x537820, state=0) at
/Users/gevermann/project/three20/src/TTDefaultStyleSheet.m:800
#5 0x00218ac0 in -[TTDefaultStyleSheet
toolbarButtonForState:shape:tintColor:font:] (self=0x508320, _cmd=0x24e377,
state=0, shape=0x5b4000, tintColor=0x537820, font=0x0) at
/Users/gevermann/project/three20/src/TTDefaultStyleSheet.m:826
#6 0x0001460c in -[RemailStyleSheet blueRoundButton:] (self=0x508320,
_cmd=0x24bfe8, state=0) at /Users/gevermann/project/remail-
iphone/Classes/HomeViewController.m:42
#7 0x3256dda6 in -[NSObject performSelector:withObject:] ()
#8 0x001e691a in -[TTStyleSheet styleWithSelector:forState:] (self=0x508320,
_cmd=0x27dd66, selector=0x294e9c, state=0) at
/Users/gevermann/project/three20/src/TTStyleSheet.m:90
#9 0x00211780 in -[TTButton setStylesWithSelector:] (self=0x5b61e0,
_cmd=0x277370, selector=0x294e9c) at
/Users/gevermann/project/three20/src/TTButton.m:433
#10 0x0021031c in +[TTButton buttonWithStyle:title:] (self=0x29b580,
_cmd=0x24ccd8, selector=0x294e9c, title=0x5b63b0) at
/Users/gevermann/project/three20/src/TTButton.m:169
#11 0x00009b52 in -[MailViewController
peopleList:addToView:peopleList:top:highlightAll:highlightQuery:]
(self=0x5cc490,
_cmd=0x24c541, title=0x294f2c, addToView=0x5bcfb0, peopleList=0x507250,
top=0, highlightAll=0 '\0', highlightQuery=0x0) at
/Users/gevermann/project/remail-iphone/Classes/MailViewController.m:421
#12 0x0000c8ba in -[MailViewController loadedEmail] (self=0x5cc490,
_cmd=0x24c438) at /Users/gevermann/project/remail-
iphone/Classes/MailViewController.m:712
#13 0x3256dda6 in -[NSObject performSelector:withObject:] ()
#14 0x313ee270 in __NSThreadPerformPerform ()
#15 0x32567a9c in CFRunLoopRunSpecific ()
#16 0x3256735c in CFRunLoopRunInMode ()
#17 0x32912cbe in GSEventRunModal ()
#18 0x32912d6a in GSEventRun ()
#19 0x32b6276e in -[UIApplication _run] ()
#20 0x32b61472 in UIApplicationMain ()
#21 0x000993c0 in main (argc=1, argv=0x2ffff344) at
/Users/gevermann/project/remail-iphone/Classes/main.m:47
(gdb)
Original comment by gunnar.e...@gmail.com
on 12 Mar 2010 at 1:31
[deleted comment]
I am facing same issue with below steps
1, Open ReMail iPhone configured with gmail account
2. Click Folders, then Inbox
3. Click on any email
it crashes.
Original comment by imtiyazbhat@gmail.com
on 20 Mar 2010 at 2:16
I can't repro this problem with any configuration I try.
From the stacktrace that Gunnar sent, it seems like this method is missing:
[TTDefaultStyleSheet toolbarButtonColorWithTintColor:forState:]
Yet it's right there, in TTDefaultStyleSheet.m, line 790. Can you verify this
method
is missing for you?
I tried this with the latest three20, rev 924867c..54ece47, pulled a few
minutes ago.
You might just try doing a
$ git pull
in your three20 directory.
Gabor
Original comment by gaborcse...@gmail.com
on 20 Mar 2010 at 3:40
if you look at the stack trace it actually shows that the problem is inside
that method
"[TTDefaultStyleSheet toolbarButtonColorWithTintColor:forState:]" at line 800,
which
is:
if (color.saturation < 0.5) {
The problem is accessing the saturation field doesn't work.
I have actually finally figured this (and the other crashes) out. For three20
to work
correctly you need to have "-all_load" in the Other Linker flags in addition to
-ObjC.
I am pulling down a clean build of everything and will sent a patch then.
Original comment by gunnar.e...@gmail.com
on 20 Mar 2010 at 7:01
The attached patch fixes the problem for me.
The issue was that when doing a Debug build for a device (rather than the sim)
"-
all_load" was missing from the linker flags.
I believe this fixes issues #9, 11 and 12.
Original comment by gunnar.e...@gmail.com
on 20 Mar 2010 at 8:21
Attachments:
Gunnar - thanks for the suggested fix. Just pushed this checkin:
http://code.google.com/p/remail-iphone/source/detail?
r=3f3868cc30d2244b1f14cc4131f42fc5a242bb00
Gabor
Original comment by gaborcse...@gmail.com
on 21 Mar 2010 at 2:11
Original issue reported on code.google.com by
rootst...@gmail.com
on 9 Mar 2010 at 8:17Attachments: