crash

MonoTouch Web Service Request over SSL Gets 'authentication or decryption has failed'

血红的双手。 提交于 2020-01-23 03:12:24
问题 A web service request over SSL raises a WebException on Monotouch v4.0.4.1: 'Error getting response stream (Write: The authentication or decryption has failed)' Since the server's SSL certificate is self-signed (and btw I think it is not X.509), I am bypassing the certificate validation using ServicePointManager.ServerCertificateValidationCallback. The exact same code works fine on Windows .NET, where the web service call returns the correct result. On Monotouch adding a Writeline shows that

iOS safari crashing (a problem repeatedly occured)

六月ゝ 毕业季﹏ 提交于 2020-01-23 01:44:07
问题 I'm developing a website and have recently run into a problem when testing on my iPhone X - the site wont load. Safari tries to load it, then reports the error 'this web page was reloaded because a problem occured', and after a couple of tries it gives up and reports 'a problem repeatedly occured'. Chrome on my iPhone also doesn't load the site. At this time I can't share the website publicly, but there are no errors reported in the chrome desktop console. In fact, the website runs perfectly

App terminating due to uncaught exception NSUnknownKey Exception , key value not coding compliant [duplicate]

最后都变了- 提交于 2020-01-21 19:17:06
问题 This question already has answers here : Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error? (68 answers) Closed 4 years ago . Sorry for asking such an easy question, but im a beginner I was following a tutorial on building apps. I was creating a button, but i accidently named it wrong, i named it instead of when creating the outlet. I named it right though when i created the action. I ran my app and it failed, because my

Why does PyQt sometimes crash on exit?

我只是一个虾纸丫 提交于 2020-01-21 12:12:05
问题 The given code below displays a QMainWindow with 4 QGraphicsView to draw with the mouse in it. It works as intended, but when closing it the following error message appears in the console: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) What's wrong in the code? main.py import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QGraphicsView, QGraphicsScene, QGraphicsPathItem from PyQt5.QtGui import QPainterPath, QPen from PyQt5.QtCore import Qt from PyQt5.uic

xcode instruments causing app crash

点点圈 提交于 2020-01-21 06:59:43
问题 I am using xcode Instruments to track Allocations and Leaks. My app is crashing though. It does not crash when running the regular debug or release builds standalone, only when under Instruments: Any thoughts ideas very gratefully received.... Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0002b2e0 Crashed Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x34499c96 objc_msgSend + 14 1 ZZZ Test Suite

Why is raising an NSException not bringing down my application?

元气小坏坏 提交于 2020-01-20 22:06:31
问题 The Problem I'm writing a Cocoa application and I want to raise exceptions that will crash the application noisily. I have the following lines in my application delegate: [NSException raise:NSInternalInconsistencyException format:@"This should crash the application."]; abort(); The problem is, they don't bring down the application - the message is just logged to the console and the app carries on it's merry way. As I understand it, the whole point of exceptions is that they're fired under

Notification Listener Service does not work after app is crashed

萝らか妹 提交于 2020-01-19 14:21:30
问题 I have a problem on my app and I want to report this bug. I develope the app which can crawls notifications using NotificationListenerService. It works well. But NotificationListenerService class has the problem I think. Because, If the app is crashed, app can't crawl the notification at all, UNTIL the phone reboots. Is anyone who can solve this problem?? Please help me. The bug is very clear!! But It is not easy to find the solution .... 回答1: If do you have already permissions then: In your

App stops working when mediaplayer is stopped in Service Class

北战南征 提交于 2020-01-17 17:25:51
问题 I am making a media player which plays music using an URL. I implemented a foreground service and also a notification. They are working fine. The problem is when I implement .stop function in media player , which is (rathu.stop)in my code, Apps gives an error displaying app stops working. I understand that I have used stop media player function in onDestroy method of service, but I dont know other place to implement that function. Then I have to set that method to a Onclicklistner also.

-[CLLocation length]: unrecognized selector after table display

╄→гoц情女王★ 提交于 2020-01-17 05:19:49
问题 Quite unexpectedly after doing some minor modifications, my code has started crashing with: -[CLLocation length]: unrecognized selector sent to instance 0x1b3739c0. This happens after the app has completed the display of the cells of a table, more precisely after exiting: - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath I tried putting breakpoints in all length accesses in the code, but none of them was caught. I

Memory Access Crash ONLY in Archived Cocoa Application (EXC_BAD_ACCESS/EXC_I386_GPFLT)

送分小仙女□ 提交于 2020-01-17 01:45:12
问题 I created my first Cocoa App for OS X and was happy to finally submit it to iTunes connect. Just to get not approved because the application is crashing. I had a hard time to figure out all things until here and now I'm finally stuck and don't know how to solve the following issue: First of all, the application works perfectly fine when simply built and run. The mysterious crash will only happen when the app is archived. That's why I did not notice the cash before and submitted the not