app terminating suddenly without giving any exception in console in iphone - objective-c

i have a problem while building and running an iphone application.Im using xml parsing to get data and storing it in core data.From there im retrieving data to display in a table.As i did this,seems to be working becoz im able to display it in the table as well as in a console but the app was terminating suddenly without leaving any exception in console.I thought it may be becoz of not releasing any object and thouroghly checked it out.but everything is gud.Could u please let me know why this has been happening?

You should use the NSZombie. It will show you the exact problem in console.

Related

When going back to the application while being skeleton-placeholder, the application crashes

I have a same problem
i am using navigation.goBack() to go back in app
I tried to disable it until the data comes in but it's a workaround it just won't work.
also i don't want to play loading until data is loaded this looks bad

json value null of type nsnull cannot be converted to a valid url

I usually develop my app on an Android device. Now for some unknown reason, my app gets this error on startup when it loads some screen. I have tried to find the root of the problem, but I keep getting this error even if the screen it navigates to is completely empty.
I'm using expo so I don't have any debugger in use that can help my figure out what's wrong.

what may cause white page in yii when launch app

i am a new yii developer. I got ready working project from my friend(yii1). But, when i run it in my localhost nothing is happening except white page. I do not know why. Please, give me hint to about the causes of this case.
Do you have error reporting enabled? See White screen of death for more information.
If your friend can run it without problem, it might be because database connection is not set properly. See in /protected/config/main.php, under components. There should be either connection to database or link to the file, where the connection to database is set.

what does middle guard protection failed %d mean?

When I build my app to my actual iPhone the debug area shows this:
[Allocator] Middle guard protection failed %d
[Allocator] Allocator invalid, falling back to malloc
It shows the 2nd line a total of 30 times. I have no idea what it means or how to fix it. It does not show this when I build to the simulator.
I am having issues with getting state preservation to work using storyboards and restoration ID's and I have a feeling this has something to do with a memory issue so it's dumping my memory and therefore I get no app restoration. Basically, when I go back to my app it shows me the last screen I was on for a second and then goes back to the root page.
Anyway, I'd like to fix this malloc stuff so I can at least rule it out the culprit, plus I don't want to have an issue with memory in general...
I've been googling this for a couple of weeks now too and can't find anything!
Looks like it's an issue with the Crashlytics framework. I have the same issue, and commenting this API call:
[Crashlytics startWithAPIKey:API_KEY];
removes that warning.
It does indeed seem to be an issue at Crashlytics. I know from other threads that they raised the "Allocator invalid..." issue in relation to another Middle error (not Middle guard protection failed %d), which later got marked as fixed.
I fixed this by deleting all the crashlytics stuff and using the new fabric/crashlytics framework. Problem solved.
(Interestingly, I had it only on an iPad, my iPhone 5C made no complaints at all.)

Repeated Failure before success, in app purchases

Ive set up in app purchases. Everything works correctly except randomly after a couple purchases i get EXC_BAD_ACCESS on the addPayment: line. This i believe is some sort of memory issues that im having a heck of a time trying to figure out. On inspecting things i noticed another peculiar behavior. In SKPaymentTransactionStateFailed i put an NSLog, This log triggers ~50 times before the alert view for the in app purchase pops up, then it stops and i can continue normally with my purchase. Is this normal? Could this be the reason im getting EXC_BAD_ACCESS? Im using xcode 4 preview 6 and programming for iOS5.