crash

Crash when launching from push notification with iOS 9

只谈情不闲聊 提交于 2019-12-21 22:28:35
问题 If I launch my app from a push notification the app crash while showing splash screen. How can I solve this issue? The crash comes only with iOS9, while everything works with iOS8. Thanks for the help! This is my crash log: Last Exception Backtrace: 0 CoreFoundation 0x185900f5c __exceptionPreprocess + 124 1 libobjc.A.dylib 0x19a4f3f80 objc_exception_throw + 56 2 CoreFoundation 0x185900e2c +[NSException raise:format:arguments:] + 108 3 Foundation 0x1867eff3c -[NSAssertionHandler

free(): invalid next size (normal) on fclose. But not when Valgrind runs [duplicate]

橙三吉。 提交于 2019-12-21 22:01:36
问题 This question already has answers here : Facing an error “*** glibc detected *** free(): invalid next size (fast)” (2 answers) Closed 5 years ago . The code below breaks on the fclose() call. void output_gauss_transform(char* filename, char* mode, double** T, double shift, int len) { FILE* fp; printf("Outputting gauss transform to %s.\n", filename); if ((fp = fopen(filename, mode)) == NULL){ perror("Could not open file"); return; } int i; for (i = 0; i < len; ++i) { fprintf(fp, "%lf %lf\n", T

How to protect log from application crash?

一曲冷凌霜 提交于 2019-12-21 20:58:22
问题 I've created a simple logger which, well, logs everything of importance into a text file. I'm using std::ofstream but there's a problem - when the program doesn't close the file (call std::ofstream::close() ) for whatever reason (like crash), the created log is actually empty (0 size). And since the log is most useful in exceptional situations (when something goes wrong) - you see the problem. Is there any way to protect my log from that? I could try closing the file after writing every

App Crashes From ipa file but runs fine from Xcode?

心已入冬 提交于 2019-12-21 20:28:08
问题 When I run my project directly from Xcode to my device it runs perfect without any crashes. But when I create an ipa file of that project and install that ipa into my device by using iTunes, when i click on the login button it crashes,later so many tries for logins after that it works fine. if refer this issue on internet by it doesn't help for me. this are the links i refer App works fine with developer build with xcode. But crashes when run using ipa file Gameplay Crashes From ipa file but

java.lang.OutOfMemoryError: requested 32756 bytes for ChunkPool::allocate. Out of swap space?

自闭症网瘾萝莉.ら 提交于 2019-12-21 20:09:54
问题 I am working with a java application deployed on an HP server via WebLogic 10.3. Version info: WebLogic Version 10.3 OS Version B.11.23 $ java -version java version "1.6.0.03" Java(TM) SE Runtime Environment (build 1.6.0.03-jinteg_05_feb_2009_11_19-b00) Java HotSpot(TM) Server VM (build 11.0-b16-jre1.6.0.03-rc2, mixed mode) I am getting this java.lang.OutOfMemoryError and the weblogic managed server is shutting down. It's always on the compiler thread. The error message says to check swap and

How to resolve the memory issue with Map on iOS 6

我们两清 提交于 2019-12-21 10:42:30
问题 I have created an app on iOS 6 in which I am showing the Map. The problem is there is a highly increase in memory allocation in just a simple interaction with the map i.e., on Pinch and Pan and dragging operations. I thought there may be some enhancements in the Mapkit in iOS 6 which I don't know so I tried the Sample Code of Raywenderlich but still I am facing the same issue. Please take a look on the image I have attached. I just dragged the map for sometime and there is an allocation of

Visual Studio 2015 crashes when opening Javascript files

不羁岁月 提交于 2019-12-21 07:58:10
问题 Every time I open a Javascript file with Visual Studio 2015 Pro RTM it crashes and restarts. No error messages. I did a repair but I haven't tried uninstalling and reinstalling yet. Is anyone else having this problem? 回答1: Ok I finally figured it out. It does have something to do with the _references.js file. I had to clear out my _references.js file. After I had cleared out the contents of that file, visual studio would no longer crash when opening up javascript files. This does work but you

Is it possible to get notified (e.g. email) when the Google Play Developer Console receives a crash or ANR?

瘦欲@ 提交于 2019-12-21 07:04:13
问题 I use BugSnag (similar to BugSense, Bugify, etc.) to track and manage my Android application errors, however, I had a situation where the application crashed before BugSnag could be initialized so the only place to find this crash report was in the Google Play Developer Console crash report. That's fine and dandy but I had to manually check the developer console to discover that there were errors that were NOT being caught by BugSnag (they don't make it obvious, by the way). Is there a way to

How to remove an already-installed Visual Studio 2013 extension .vsix file?

本小妞迷上赌 提交于 2019-12-21 05:39:11
问题 I've just installed Productivity Power Tools 2013 for my Visual Studio 2013 and then playing with the option of this extension and I get crashed :-( i.e. The Solution Explorer window is now empty. Cannot exit Visual Studio Going for Tools - Extension and Updates fails too What can I do to get back to where I was >.< 回答1: Find the correct folder under following folders for this extension and delete it C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\11.0\Extensions C:\Users\[username]

C code called by R keeps crashing

五迷三道 提交于 2019-12-21 04:55:10
问题 Below is part of a C code I wrote. The function foo is to be called in R. The code keeps causing R to crash, and I narrowed down the problem to this outer() function, which is used to compute outer sum or difference. Note the part that is commented out: If I do not comment it out, the function will lead R to crash if each of the arrays contains, say, over 1000 data points . If I comment it out, I can compute outer sum/difference for significantly longer arrays with no problem (e.g, over