On 12 Mai, 03:26, Joshua Vickery <
j...@viraud.com> wrote:
> I haven't tried running it in 4.0 so I'm afraid I don't have an easy answer.
In general, do you plan updating OR to work with 4.0?
>
> If you are getting EXC_BAD_ACCESS it suggests a memory problem,
> possibly access after a release. It would be weird for you to get it
> at the line you listed, so it's possible you are seeing memory
> corruption.
>
> The full stack trace and anything that gets printed to the console
> might be of some help.
The only thing I get in the console is this:
Program received signal: “EXC_BAD_ACCESS”.
[Switching to process 2114]
warning: Unable to restore previously selected frame.
Data Formatters temporarily unavailable, will re-try after a
'continue'. (Not safe to call dlopen at this time.)
... not much helpful. :(
Here is the stack trace:
#0 0x95558295 in tiny_malloc_from_free_list
#1 0x95557523 in szone_malloc_should_clear
#2 0x955573a8 in malloc_zone_malloc
#3 0x0231d07d in _CFRuntimeCreateInstance
#4 0x0231efb5 in __CFStringCreateImmutableFunnel3
#5 0x0232665e in CFStringCreateWithBytes
#6 0x00034899 in -[NSPlaceholderString initWithBytes:length:encoding:]
#7 0x0003bae1 in +[NSString stringWithCString:encoding:]
#8 0x00005907 in +[NSObject(PropertySupport) propertyNamesAndTypes] at
NSObject+PropertySupport.m:40
#9 0x00005734 in +[NSObject(PropertySupport) propertyNames] at NSObject
+PropertySupport.m:21
#10 0x000056ff in -[NSObject(PropertySupport) properties] at NSObject
+PropertySupport.m:52
#11 0x00009e95 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#12 0x00009fcf in -[NSObject(XMLSerializableSupport) toXMLElementAs:]
at NSObject+XMLSerializableSupport.m:82
#13 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#14 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#15 0x00009fcf in -[NSObject(XMLSerializableSupport) toXMLElementAs:]
at NSObject+XMLSerializableSupport.m:82
#16 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#17 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#18 0x00009fcf in -[NSObject(XMLSerializableSupport) toXMLElementAs:]
at NSObject+XMLSerializableSupport.m:82
#19 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#20 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#21 0x00009fcf in -[NSObject(XMLSerializableSupport) toXMLElementAs:]
at NSObject+XMLSerializableSupport.m:82
[... 970 lines later....]
#991 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#992 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#993 0x00009fcf in -[NSObject(XMLSerializableSupport) toXMLElementAs:]
at NSObject+XMLSerializableSupport.m:82
#994 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#995 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#996 0x00009fcf in -[NSObject(XMLSerializableSupport) toXMLElementAs:]
at NSObject+XMLSerializableSupport.m:82
#997 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#998 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#999 0x00009fcf in -[NSObject(XMLSerializableSupport) toXMLElementAs:]
at NSObject+XMLSerializableSupport.m:82
#1000 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#1001 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#1002 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#1003 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#1004 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#1005 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#1006 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#1007 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#1008 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#1009 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#1010 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#1011 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#1012 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#1013 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#1014 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#1015 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#1016 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#1017 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#1018 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#1019 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#1020 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#1021 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#1022 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#1023 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
[...4729 lines later....]
#5752 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#5753 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#5754 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#5755 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#5756 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#5757 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#5758 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#5759 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#5760 0x00009fcf in -[NSObject(XMLSerializableSupport)
toXMLElementAs:] at NSObject+XMLSerializableSupport.m:82
#5761 0x00009c05 in -[NSDictionary(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:andType:] at
NSDictionary+XMLSerializableSupport.m:26
#5762 0x00009ee8 in -[NSObject(XMLSerializableSupport)
toXMLElementAs:excludingInArray:withTranslations:] at NSObject
+XMLSerializableSupport.m:98
#5763 0x0000a03b in -[NSObject(XMLSerializableSupport)
toXMLElementExcluding:] at NSObject+XMLSerializableSupport.m:78
#5764 0x0000413b in -[NSObject(ObjectiveResource)
convertToRemoteExpectedType] at NSObject+ObjectiveResource.m:162
#5765 0x00003fa0 in -[NSObject(ObjectiveResource)
createRemoteAtPath:withResponse:] at NSObject+ObjectiveResource.m:203
#5766 0x00003ca3 in -[NSObject(ObjectiveResource)
createRemoteWithResponse:] at NSObject+ObjectiveResource.m:245
#5767 0x0000cbf4 in +[ReachabilityManager checkLoginFromController:]
at ReachabilityManager.m:46
#5768 0x0000b502 in -[SurveysViewController fetchDataInBackground] at
SurveysViewController.m:73
#5769 0x00046668 in -[NSThread main]
#5770 0x000465f4 in __NSThread__main__
#5771 0x95580a19 in _pthread_start
#5772 0x9558089e in thread_start
I also renamed some of my attributes in my rails app, just to make
sure that the naming doesn't conflict with reserved message oder
varnames.