Comments (10)
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 [email protected]
on 10 Mar 2010 at 6:43
from remail-iphone.
Sorry, instead of debug window I meant console window. That's the one you get by
pressing Shift-Apple-R
Original comment by [email protected]
on 10 Mar 2010 at 6:44
from remail-iphone.
Original comment by [email protected]
on 10 Mar 2010 at 6:44
from remail-iphone.
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 [email protected]
on 12 Mar 2010 at 1:31
from remail-iphone.
[deleted comment]
from remail-iphone.
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 [email protected]
on 20 Mar 2010 at 2:16
from remail-iphone.
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 [email protected]
on 20 Mar 2010 at 3:40
from remail-iphone.
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 [email protected]
on 20 Mar 2010 at 7:01
from remail-iphone.
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 [email protected]
on 20 Mar 2010 at 8:21
Attachments:
from remail-iphone.
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 [email protected]
on 21 Mar 2010 at 2:11
- Changed state: Fixed
from remail-iphone.
Related Issues (20)
- Shell command path in "pull_dependencies.sh" need to be updated. HOT 1
- Can't build in Xcode HOT 3
- make error
- Impossible to compile after performing all steps correctly
- Build dependencies scripts don't handle Xcode not installed in /Developer
- ClearSearchHistoryDelegate assigned to declared instance of ClearAttachementsDelegate.
- Error displaying attachments HOT 1
- Mailcore can not send attachment. HOT 4
- Html parsing is not proper HOT 1
- reMail does not build with SDK 4.3
- Building dependencies for armv7 HOT 3
- Building error on Xcode5.2 on MailCore API HOT 1
- Sources Don't Build
- can't build HOT 1
- Can't compile the project with xcode 4.3.1 HOT 1
- library not found for -lssl
- Support for "tall" screens HOT 1
- Update to newer MailCore version
- Problem in publishing a project based on remail
- App crash at sqlite3VdbeMemGrow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remail-iphone.