crash

What is “Interface Builder Cocoa Touch Tool”

回眸只為那壹抹淺笑 提交于 2019-12-24 10:35:42
问题 I got a code from a client to fix the bug (code was written by some other programmer), So when I open the xib file it simply hang my computer, i restarted my computer 3 times because of that and finally decided to see what's happening by opening the Activity Monitor and it turn out it is opening something with name " Interface Builder Cocoa Touch tool " and its eating all of my computer memory. Below is the screenshot. But here is the interesting thing, it is not opening " Interface Builder

Could a shell extension be causing my program to crash?

不羁岁月 提交于 2019-12-24 10:16:55
问题 My company builds an MFC application that runs on Windows XP. One of our customers has reported a crash in this application that occurs when it opens a Common File Dialog to allow the user to save a log file. We haven't observed this crash on any of our integration systems. The customer provided us with a crash dump which shows that the program is trying to read from some inaccessible memory at address 160b2d48. The address appears to be from the code section of the address space, as there

Why the build process ignore proguardFiles getDefaultProguardFile('proguard-android.txt')

你说的曾经没有我的故事 提交于 2019-12-24 10:16:14
问题 All the while, I don't have any issue with my build process. I'm using latest build.gradle . I'm using Android Studio 3.1.3. build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() google() } dependencies { classpath 'com.android.tools.build:gradle:3.1.3' classpath 'com.google.gms:google-services:3.2.0' } } allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } } }

Android screen brightness that doesn't crash

六月ゝ 毕业季﹏ 提交于 2019-12-24 09:49:21
问题 I have an activity that boosts screen brightness /* turn screen brightness up */ this.getWindow().getAttributes().screenBrightness = 1; I found out this built in android function crashes some phones. Is there a more universal way to boost screen brightness? 回答1: The correct way to set attributes is with setAttributes() : WindowManager.LayoutParams lp = this.getWindow().getAttributes(); lp.screenBrightness = 1; this.getWindow().setAttributes(lp); 回答2: You can try the value that is almost 1 .

JVM crashing EXCEPTION_ACCESS_VIOLATION (0xc0000005) :problematic frame in jvmti agent

空扰寡人 提交于 2019-12-24 09:35:41
问题 I wrote a JVMTI agent and upon running an application with the particular jvmti agent, the jvm crashes and exits with EXCEPTION_ACCESS_VIOLATION (0xc0000005). Problematic frame lies in the jvmti agent that I wrote. The stacktrace showed some jni calls to getstaticbyte and getstaticint functions . When i run it under debugger the crash/exception_access_violation is not reproduced. And the run is perfectly normal. What could be the cause of the crash when running outside of debugger? hs_err_pid

Ruby on Rails and Heroku “App Crashed”

爷,独闯天下 提交于 2019-12-24 09:28:26
问题 I've gone through MANY forum posts about this exact problem and I have not found a solution. App works locally but not on Heroku. http://majorleaguebetting.herokuapp.com/ What am I missing??!! Heroku Logs: searoth@searoth-VB:~/Desktop/rails_projects/MajorLeagueBetting$ heroku logs 2013-04-01T20:14:26+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command' 2013-04-01T20:14:26+00:00 app[web.1]: from config.ru:1:in `<main>' 2013-04-01T20:14:26

Crash with exception attempt to insert nil object from objects[0]

梦想与她 提交于 2019-12-24 09:24:13
问题 I'm using NSDictionary to change the appearance of UIBarButtonItem in the appDelegate file: UIBarButtonItem *barButtonItemProxy = [UIBarButtonItem appearanceWhenContainedIn: [UINavigationBar class], [UINavigationController class], nil]; NSDictionary *textAttributes = @{UITextAttributeFont : [UIFont fontWithName:@"ChocoBold" size:13.0f], UITextAttributeTextColor : [UIColor whiteColor], UITextAttributeTextShadowColor : [UIColor blackColor], UITextAttributeTextShadowOffset : [NSValue

NSURLConnection crash on releasing NSMutableData

送分小仙女□ 提交于 2019-12-24 08:58:19
问题 I have followed the instruction from Using NSURLConnection and sometimes (very very seldom) my project crashes in method. - (void) connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { [connection release]; [myNSMutableData release]; } It crashes when i try to release my NSMutableData . I want to know why it crashes! Some code I use: - (void) start { while (1) { NSString *stringURL = @"http://www.iwheelbuy.com/get.php?sex=1"; NSURL *url = [NSURL URLWithString:stringURL]

NSTask Launch causing crash

旧时模样 提交于 2019-12-24 08:35:25
问题 I have an application that can import an XML file through this terminal command : open /path/to/main\ app.app --args myXML.xml This works great with no issues. And i have used Applescript to launch this command through shell and it works just as well. Yet when try using Cocoa's NSTask Launcher using this code : NSTask *task = [[NSTask alloc] init]; [task setLaunchPath:@"/usr/bin/open"]; [task setCurrentDirectoryPath:@"/Applications/MainApp/InstallData/App/"]; [task setArguments:[NSArray

What happens with unarchived objects?

 ̄綄美尐妖づ 提交于 2019-12-24 08:22:03
问题 After I've unarchived an object with NSKeyedUnarchiver, I am able to use it like usual, but I am unable to re-archive it. When I try, it crashes. [NSKeyedArchiver archiveRootObject:unarchivedObject toFile:fileName]; I tried looking in the developer resources in apple but I haven't seen a thorough explination of proper usage of NSKeyedArchiver. Please Help. Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000023 Crashed Thread: 0 Dispatch queue: