crash

UINavigationController crash because of pushing and poping UIViewControllers

百般思念 提交于 2019-12-17 21:13:25
问题 The issue: I have a UINavigationController as as subview of UIWindow, a rootViewController class and a custom MyViewController class. The following steps will get a Exc_Bad_Access, 100% reproducible.: [myNaviationController pushViewController:myViewController_1stInstance animated:YES]; [myNaviationController pushViewController:myViewController_2ndInstance animated:YES]; Hit the left back tapBarItem twice (pop out two of the myViewController instances) to show the rootViewController. After a

Is there a way to get the stack trace of an exception in form of a String in Blackberry?

瘦欲@ 提交于 2019-12-17 20:13:57
问题 I want to log the stack trace of exceptions into a file. Is there a way that I can get the stack trace in form of a String , or somehow make ex.printStackTrace() print the trace into a stream or a file? I know that there is a way to do this in Java standard edition, but I want this in Blackberry. 回答1: BlackBerry only provides stack traces when you catch a Throwable. So you should be able to use printStackTrace and friends if you change the catch type. EDIT Sorry, I misread your question --

After upgrading to google play services 8.4.0 my app crashes on startup

戏子无情 提交于 2019-12-17 19:56:53
问题 I've been previously using google play services 8.3.0 without any issue. I'm looking to upgrade to google play services 8.4.0. I'm using the following play libraries: compile 'com.google.android.gms:play-services-analytics:8.4.0' compile 'com.google.android.gms:play-services-location:8.4.0' compile 'com.google.android.gms:play-services-gcm:8.4.0' When I start the app it crashes, with the following log. 12-27 03:01:33.915 20567-20567/com.ryanc.android.stage.debug E/AndroidRuntime: FATAL

Debugging commands (step over/into) cause unhandled exceptions

妖精的绣舞 提交于 2019-12-17 18:59:37
问题 I'm using Visual Studio 2008 on a 64-bit version of Vista. After my program stops on one of my breakpoints, I can't step over or into the current line without either an Illegal Instruction exception or an Access Violation exception being thrown by my application. If I right-click on the next line and choose "Run to here" (equivalent to "Step over"), it works fine. Addendum: there is nothing in any watch windows. Also, here's something I forgot to mention: if I attach to the process,

Can I force generation of a JVM crash log file?

爷,独闯天下 提交于 2019-12-17 16:28:03
问题 The log file from a JVM crash contains all sorts of useful information for debugging, such as shared libraries loaded and the complete environment. Can I force the JVM to generate one of these programmatically; either by executing code that crashes it or some other way? Or alternatively access the same information another way? 回答1: You can try throwing an OutOfMemoryError and adding the -XX:+HeapDumpOnOutOfMemoryError jvm argument. This is new as of 1.6 as are the other tools suggested by

Activity restarts on Force Close

空扰寡人 提交于 2019-12-17 16:08:12
问题 I have an Application with a single root Activity. I've recently had it brought to my attention that any kind of Force Close on my Activity results in it restarting and I have no idea why this might happen. If I force an uncaught exception or use the 'long back press to force close' option, they both result in the same. My only guess would have been some form of quirk relating to retained references to some part of the Activity, only I don't have any outside of some WeakReference entries at

How do I investigate the cause of a JVM crash?

折月煮酒 提交于 2019-12-17 15:53:52
问题 One day ago, after a few months of normal working, our java app starts to crash occasionally with the following error: # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (safepoint.cpp:247), pid=2075, tid=140042095163136 # guarantee(PageArmed == 0) failed: invariant # # JRE version: 6.0_23-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops) # An error report file with more information is saved as: # /var/chat

iOS app crashes, xcode says 'Lost connection to X's iPhone' when debugging

流过昼夜 提交于 2019-12-17 15:53:13
问题 My app crashes and I need some advice to find and fix the problem. It is not a device or cable problem because it happens with all devices and not only when debugging. Xcode won't stop on an exception breakpoint the app just simply stops running with no error information. When debugging xcode only says 'Lost connection to X's iPhone'. I have the following log from the device, see MY_CRASHING_APP: Incident Identifier: 85730E97-BA21-4C72-8AD1-02075A8FD9A7 CrashReporter Key:

set /p empty answer crash

情到浓时终转凉″ 提交于 2019-12-17 14:22:48
问题 i am new here so i'll try to be as good as i can. So i am trying to make a RPG based on text-based MS-DOS, and i am going pretty well as i just saw that if the user puts an invalid input at set /p, like an empty answer (just pressing enter) or an answer which is not on the "IF", the batch just crashes, and I would like to fix that so it will be less crashy. Here is one of the parts i'd like to fix: @echo off title "Wasteland Adventure" color 0A cls :Menu cls echo. echo. echo Welcome to

Best way to detect an application crash and restart it?

点点圈 提交于 2019-12-17 11:54:27
问题 What's the best way to detect an application crash in XP (produces the same pair of 'error' windows each time - each with same window title) and then restart it? I'm especially interested to hear of solutions that use minimal system resources as the system in question is quite old. I had thought of using a scripting language like AutoIt (http://www.autoitscript.com/autoit3/), and perhaps triggering a 'detector' script every few minutes? Would this be better done in Python, Perl, PowerShell or