Hi all,
Though I don't know what debug information would be useful, it's worth mentioning the issue.
Given this chunk of code where _pages is an NSMutableDictionary:
LOGI("STORING OBJECT %p AS %s into %p", page, [currentPage UTF8String], _pages);
[_pages setObject: page forKey: currentPage];
[_pages setObject: @"hi" forKey: @"test"];
if(![_pages objectForKey: @"test"])
LOGI("Ha.");
if(![_pages objectForKey: currentPage])
LOGI("Saving failed?!");
I'm getting the following output:
I/native-activity( 6871): STORING OBJECT 0x77dd2d30 AS 16-16 into 0x762b5db8
I/native-activity( 6871): Ha.
I/native-activity( 6871): Saving failed?!
Any thoughts on what might cause NSMutableDictionary to go haywire like this when built for an armv7 Android target? I didn't run any tests on Android -- it's possible to do so, but slightly tricky to get regular ELFs to run on it.
--