crash

Can't get fatal error log for my Java application

巧了我就是萌 提交于 2020-01-16 18:20:24
问题 Help! I have a Java headless iterative calculation-intensive servlet running 24/7 on Unix, that a few builds ago has started crashing after about a day or so, and I can't for the LIFE of me get a crash log / dump / indicator of any kind as to why. No manner of JVM arguments, shut down hooks, etc have helped me to get any sort of log as to what might be happening. Crash is not reproducible on-command, or predictable. Happens roughly every 20-30 hours. OS: Amazon Linux AMI Hardware: AWS EC2 T3

Nil optional does not crash in Release

故事扮演 提交于 2020-01-16 18:00:11
问题 I have the following simple code in NSAppDelegate func applicationDidFinishLaunching(aNotification: NSNotification) { var opt:Int? NSLog("\(opt)") NSLog("\(opt!)") NSLog("done") } Now when I run that in debug mode it tells me what we all know about unwrapping nil optional. But when I run that for release it silently exits the app with no message at all. No console log. No dump. Nothing! What's going on here? 回答1: Apple has asked me to check if the bug has been fixed with Xcode 6.3 beta 3 with

iOS Crash: Terminating app due to uncaught exception reason: UIPopoverPresentationController should have a non-nil sourceView

陌路散爱 提交于 2020-01-16 03:48:20
问题 I need help figuring this crash out. I checked stackoverflow for answers, but non of the answers relates to my situation. This is my code. - (void)addImagesActionSheetClickedButtonAtIndex:(NSInteger)buttonIndex { // Cancel if (buttonIndex == 2) return; //Take picture if (buttonIndex == 0) { //Take picture isFromLibrary = NO; [self.imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera]; [self.navigationController presentViewController:self.imagePicker animated:YES completion:NULL];

iOS App crashes when using colorWithRed:green:blue:alpha

雨燕双飞 提交于 2020-01-15 11:18:08
问题 I have a UIControl subclass in my iOS App (I'm using iOS 4.3), and part of the subclass is a method called "setButtonColor:(UIColor)bc". Whenever I call this method from my code, it works fine...but only if I use a built-in color like greenColor or redColor. If I use " colorWithRed:green:blue:alpha ," to make my own color it crashes with this message in the console: -[UIDeviceRGBColor set]: message sent to deallocated instance 0x4e61560 Here's the setButtonColor: method: -(void)setButtonColor

boost python on windows crashes at import(“__main__”);

一世执手 提交于 2020-01-15 05:57:48
问题 I am writting a program which uses boost python embedded. My program works no problem on Linux Mint but on Windows its a huge pain. I am using MingW so I tried creating an import lib following instructions from another question on this site. With all that in mind the program compiled and linked, python34 dynamically and boost python statically. My program crashes though and I cant tell for the life of me why, I followed the execution and it stops at: "import(" main ");" // My python

Delete row from uitableview crashes

让人想犯罪 __ 提交于 2020-01-15 04:44:06
问题 I simply try to delete a row from a UITableView with the following code: - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { if (editingStyle == UITableViewCellEditingStyleDelete) { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; } } The problem is that my app crashes. (GDB: Program received signal: "EXC_BAD_INSTRUCTION".)

Crash when parsing protobuf message containing a string using C++ and Android NDK

北战南征 提交于 2020-01-14 13:27:09
问题 I have two programs, both running on an Android 2.3.4 platform - one is a C++ binary in a daemon form, compiled with cmake, the other is a apk with jni part compiled with ndk-build. I'm using android-ndk-r6. I'm using protobuf messages and local unix sockets to pass data between them. I'm using the SerializeAsString and ParseFromString methods. Here is a snippet AbstractMessage protobuff_msg; protobuff_msg.set_id ( 1 ); //TODO: for now hardcoded, later can be used for request-response pairs

Simple program crashes

自古美人都是妖i 提交于 2020-01-14 07:14:46
问题 So I've been using MinGW GCC version 4.4 or a while, and decided it's time to upgrade. I went to the MinGW website and downloaded the latest version of GCC (4.7.0). After deleting my previous version, and installing the newest version, even the simplest program will crash. For example, if I compile this program #include <iostream> using namespace std; int main () { cout << "Hello, World" << endl; return 0; } with the command line g++ hello.cpp -o hello.exe It will print out "Hello, World" and

Simple program crashes

两盒软妹~` 提交于 2020-01-14 07:14:34
问题 So I've been using MinGW GCC version 4.4 or a while, and decided it's time to upgrade. I went to the MinGW website and downloaded the latest version of GCC (4.7.0). After deleting my previous version, and installing the newest version, even the simplest program will crash. For example, if I compile this program #include <iostream> using namespace std; int main () { cout << "Hello, World" << endl; return 0; } with the command line g++ hello.cpp -o hello.exe It will print out "Hello, World" and

iPhone app is crashing — error-message sent to deallocated instance 0xa58a950

吃可爱长大的小学妹 提交于 2020-01-14 06:01:27
问题 I n my iPhone app, I have implemented sidebar i.e. JTRevealSideBar to show the side bar on left side like facebook app But, the problem is it was crashing after clicking on the sidebar tableview for 1st index but for other index it is perfectly working Crash Log [sidebarViewController:didSelectObject:atIndexPath:]: message sent to deallocated instance 0xa58a950 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { if (self.sidebarDelegate) {