crash

XCODE keeps crashing. Deals with auto layout

人盡茶涼 提交于 2019-12-23 15:35:27
问题 I clicked to turn off auto layout. And now I click the check box to turn it on, and xcode immediately crashes..Every time. I'm pretty sure that all tableviews have a datasource. I can't work on the project! Please help. Process: Xcode [5748] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 5.0 (3332.25) App Item ID: 497799835 App External ID: 38302662 Code Type: X86-64 (Native) Parent Process: launchd [144] User ID: 501 Date/Time: 2013-09-30 00:12:40

UIMenuItem #selector method crash in wkwebview

笑着哭i 提交于 2019-12-23 15:24:07
问题 UIMenuItem selector method crashes in iOS 11 beta SDK. -[WKContentView highlightText]: unrecognized selector sent to instance 0x7f85df8f3200 Method Definition: func highlightText() { // } I try to add UIMenuItem in WKWebView, let menuItemHighlight = UIMenuItem.init(title: "Highlight", action: #selector(ContentWebkitView.highlightText)) UIMenuController.shared.menuItems = [menuItemHighlight] 回答1: I was also getting this error when I was overriding canPerformAction and checking for my custom

App crashes when Back button tapped while scrolling table view

北城以北 提交于 2019-12-23 13:12:09
问题 I present a modal table view within a navigation view with a Back button. The back button sends a message to the modal view's delegate to dismiss the modal view. If I scroll the table view and then tap the Back button on the navigation bar while the table view is still scrolling, the app crashes with this message: *** -[UILayoutContainerView setUseFastMode:]: message sent to deallocated instance 0xef74650 When I PO 0xef74650 I get this: (int) $1 = 251086416 [no Objective-C description

OpenGL error GL_INVALID_ENUM (0x0500) while glewInit()

↘锁芯ラ 提交于 2019-12-23 11:34:13
问题 I'm new to OpenGL and try to learn OpenGL 4 by following the http://www.openglbook.com tutorial. On page two, we create a simple triangle using shaders. But right after creating the vertex shader, the program crashes. By Debugging, I could find a OpenGL error GL_INVALID_ENUM (0x0500). See code below... Unfrotunately I couldn't find any solution. Maybe you know sth? Edit: So, after searching again for GL_INVALID_ENUM and glewInit() , I found that there are already many posts on other Websites,

App crashes on iPhone but not on simulator

 ̄綄美尐妖づ 提交于 2019-12-23 10:58:24
问题 I'm using XCode 7.0b5 and created an Swift app. It runs fine on simulator but crashes on iPhone 4s when running independently (without cable). How can identify where it crashes? I read about possible memory issues. I'm reading in a large textfile, so it needs nearly 200 MB of ram. How can I check it? 回答1: I think this is a memory problem with the iPhone 4S (200 mb for 4S is a lot). You should read the crash logs in Xcode. In Xcode with the iPhone connected you can go to Window->Devices,

NSCFData isResizable crash?

主宰稳场 提交于 2019-12-23 10:17:06
问题 I am currently getting this crash log in the console: 2011-08-23 19:18:40.064 App[1697:707] -[__NSCFData _isResizable]: unrecognized selector sent to instance 0x11f1c0 2011-08-23 19:18:40.075 App[1697:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFData _isResizable]: unrecognized selector sent to instance 0x11f1c0' Does anyone know what this means? What could be the cause of it? Thanks! 回答1: More likely than not, you've over-released some

User.config corruption

孤人 提交于 2019-12-23 10:08:14
问题 So I've done quite a bit of research on trying to figure this issue out but can't seem 1) Reproduce the issue, but more importantly 2) Find an update-to-date solution for fixing it. It's already happened twice within a span of 2 weeks where randomly the user.config file will get corrupted (e.g. there will be missing chunks of the XML file) and thus result in an application crash on next startup. Cliffnotes: I need an up-to-date solution for dealing with this issue programmatically(i.e.

Debugging sporadic app crashes with dylib in iOS13/iPadOS 13

空扰寡人 提交于 2019-12-23 09:27:01
问题 After updating to iOS 13.x / iPadOS 13.x we see sporadic crashes with our recent Testflight builds. We've not seen reports from users using our pre-13 released version yet, but it seems not many have updated to 13 yet, so we really don't know. The app is a cordova-app with cordova-ios 5.0.2 using WkWebView. Data protection entitlement is set to full. I have a hard time making sense of the crash, and it seems to be somewhere deep in the iOS-stack? The crash is sporadic and seems only to happen

live debugging a stack overflow

此生再无相见时 提交于 2019-12-23 08:57:06
问题 I have a managed code Windows Service application that is crashing occasionally in production due to a managed StackOverFlowException. I know this because I've run adplus in crash mode and analyzed the crash dump post mortem using SoS. I have even attached the windbg debugger and set it to "go unhandled exception". My problem is, I can't see any of the managed stacks or switch to any of the threads. They're all being torn down by the time the debugger breaks. I'm not a Windbg expert, and,

How to understand Java Hotspot Errors

你离开我真会死。 提交于 2019-12-23 07:49:45
问题 Guys when the JVM Crashes it writes an Error Log hs_err_pid.log. I want to find out what caused the JVM to crash ? How to understand these Logs, is it documented anywhere on how this Log is arranged. I tried to search on the Net but to no avail :-( Pointing out to relevant URL's will be appreciated. Thanks. 回答1: Unless you are calling native code (JNI), nothing in your code should ever make JVM crash; so the stack trace information in that log file is probably not meant to be very useful to